mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add test for contents of QEMU disk images.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user