Added tests for System V filesystem variants (AFS, EAFS, HTFS, DTFS,

COHERENT, XENIX, SVR2 and SVR4).
This commit is contained in:
2017-09-28 12:13:19 +01:00
parent 5c7c8a9946
commit 1eb53bbd14
16 changed files with 1508 additions and 11 deletions

View File

@@ -49,38 +49,65 @@ namespace DiscImageChef.Tests.Filesystems
{
readonly string[] testfiles = {
"amix.adf.lz",
"att_unix_svr4v2.1_dsdd.img.lz", "att_unix_svr4v2.1_mf2dd.img.lz", "att_unix_svr4v2.1_mf2hd.img.lz",
"scoopenserver_5.0.7hw_dmf.img.lz", "scoopenserver_5.0.7hw_dshd.img.lz", "scoopenserver_5.0.7hw_mf2dd.img.lz", "scoopenserver_5.0.7hw_mf2ed.img.lz",
"scoopenserver_5.0.7hw_mf2hd.img.lz",
};
readonly MediaType[] mediatypes = {
MediaType.CBM_AMIGA_35_DD,
MediaType.DOS_525_DS_DD_9,MediaType.DOS_35_DS_DD_9,MediaType.DOS_35_HD,
MediaType.DMF,MediaType.DOS_525_HD,MediaType.DOS_35_DS_DD_9,MediaType.DOS_35_ED,
MediaType.DOS_35_HD,
};
readonly ulong[] sectors = {
1760,
720, 1440, 2880,
3360, 2400, 1440, 5760,
2880,
};
readonly uint[] sectorsize = {
512,
512, 512, 512,
512, 512, 512, 512,
512,
};
readonly long[] clusters = {
880,
360, 720, 1440,
1680, 1200, 720, 2880,
1440,
};
readonly int[] clustersize = {
1024,
1024, 1024, 1024,
1024, 1024, 1024, 1024,
1024,
};
readonly string[] volumename = {
"",
"", "", "",
"", "", "", "",
"",
};
readonly string[] volumeserial = {
null,
null, null, null,
null, null, null, null,
null,
};
readonly string[] type = {
"SVR2 fs",
"SVR4 fs", "SVR4 fs", "SVR4 fs",
"SVR4 fs", "SVR4 fs", "SVR4 fs", "SVR4 fs",
"SVR4 fs",
};
[Test]