Add test for contents of QEMU disk images.

This commit is contained in:
2021-07-13 20:05:06 +01:00
parent 735d0fcf90
commit 6d8d3e7638
11 changed files with 135 additions and 15 deletions

View File

@@ -49,7 +49,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.GENERIC_HDD,
Sectors = 251904,
SectorSize = 512,
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed"
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 63,
Length = 251841
}
}
}
};
}

View File

@@ -48,7 +48,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.GENERIC_HDD,
Sectors = 251904,
SectorSize = 512,
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed"
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 63,
Length = 251841
}
}
}
};
}

View File

@@ -49,7 +49,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.GENERIC_HDD,
Sectors = 251904,
SectorSize = 512,
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed"
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 63,
Length = 251841
}
}
}
};
}

View File

@@ -49,7 +49,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.GENERIC_HDD,
Sectors = 251904,
SectorSize = 512,
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed"
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 63,
Length = 251841
}
}
},
new BlockImageTestExpected
{
@@ -57,7 +65,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.GENERIC_HDD,
Sectors = 251904,
SectorSize = 512,
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed"
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 63,
Length = 251841
}
}
}
};
}

View File

@@ -49,7 +49,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.GENERIC_HDD,
Sectors = 251904,
SectorSize = 512,
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed"
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 63,
Length = 251841
}
}
},
new BlockImageTestExpected
{
@@ -57,7 +65,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.GENERIC_HDD,
Sectors = 251904,
SectorSize = 512,
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed"
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 63,
Length = 251841
}
}
}
};
}

View File

@@ -49,7 +49,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.GENERIC_HDD,
Sectors = 251904,
SectorSize = 512,
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed"
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 63,
Length = 251841
}
}
}
};
}

View File

@@ -48,7 +48,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.GENERIC_HDD,
Sectors = 251904,
SectorSize = 512,
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed"
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 63,
Length = 251841
}
}
}
};
}

View File

@@ -49,7 +49,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.GENERIC_HDD,
Sectors = 251904,
SectorSize = 512,
MD5 = "1ad282643cc7f97c57dc874b3d4ece9b"
MD5 = "1ad282643cc7f97c57dc874b3d4ece9b",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 63,
Length = 251841
}
}
}
};
}

View File

@@ -49,7 +49,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.GENERIC_HDD,
Sectors = 251904,
SectorSize = 512,
MD5 = "1ad282643cc7f97c57dc874b3d4ece9b"
MD5 = "1ad282643cc7f97c57dc874b3d4ece9b",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 63,
Length = 251841
}
}
}
};
}

View File

@@ -49,7 +49,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.GENERIC_HDD,
Sectors = 251904,
SectorSize = 512,
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed"
MD5 = "4bfc9e9e2dd86aa52ef709e77d2617ed",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 63,
Length = 251841
}
}
}
};
}

View File

@@ -49,7 +49,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.Unknown,
Sectors = 512064,
SectorSize = 512,
MD5 = "0435d6781d14d34a32c6ac40f5e70d35"
MD5 = "0435d6781d14d34a32c6ac40f5e70d35",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 0,
Length = 512064
}
}
},
new BlockImageTestExpected
{
@@ -57,7 +65,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.Unknown,
Sectors = 20536,
SectorSize = 512,
MD5 = "adfad4fb019f157e868baa39e7753db7"
MD5 = "adfad4fb019f157e868baa39e7753db7",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 0,
Length = 20536
}
}
},
new BlockImageTestExpected
{
@@ -65,7 +81,15 @@ namespace Aaru.Tests.Images.QEMU
MediaType = MediaType.Unknown,
Sectors = 251940,
SectorSize = 512,
MD5 = "6246bff640cb3a56d2611e7f8616384d"
MD5 = "6246bff640cb3a56d2611e7f8616384d",
Partitions = new[]
{
new BlockPartitionVolumes
{
Start = 63,
Length = 251841
}
}
}
};
}