mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use struct to define all expected data for file system tests.
This commit is contained in:
@@ -45,55 +45,112 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new AcornADFS();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"adfs_d.adf.lz", "adfs_e.adf.lz", "adfs_f.adf.lz", "adfs_e+.adf.lz", "adfs_f+.adf.lz", "adfs_s.adf.lz",
|
||||
"adfs_m.adf.lz", "adfs_l.adf.lz", "hdd_old.hdf.lz", "hdd_new.hdf.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.ACORN_35_DS_DD, MediaType.ACORN_35_DS_DD, MediaType.ACORN_35_DS_HD, MediaType.ACORN_35_DS_DD,
|
||||
MediaType.ACORN_35_DS_HD, MediaType.ACORN_525_SS_DD_40, MediaType.ACORN_525_SS_DD_80,
|
||||
MediaType.ACORN_525_DS_DD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
800, 800, 1600, 800, 1600, 640, 1280, 2560, 78336, 78336
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024, 1024, 1024, 256, 256, 256, 256, 256
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
800, 800, 1600, 800, 1600, 640, 1280, 2560, 78336, 78336
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024, 1024, 1024, 256, 256, 256, 256, 256
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"ADFSD", "ADFSE ", null, "ADFSE+ ", null, "$", "$", "$", "VolLablOld", null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"3E48", "E13A", null, "1142", null, "F20D", "D6CA", "0CA6", "080E", null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "adfs_d.adf.lz",
|
||||
MediaType = MediaType.ACORN_35_DS_DD,
|
||||
Sectors = 800,
|
||||
SectorSize = 1024,
|
||||
Clusters = 800,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "ADFSD",
|
||||
VolumeSerial = "3E48"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "adfs_e.adf.lz",
|
||||
MediaType = MediaType.ACORN_35_DS_DD,
|
||||
Sectors = 800,
|
||||
SectorSize = 1024,
|
||||
Clusters = 800,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "ADFSE ",
|
||||
VolumeSerial = "E13A"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "adfs_f.adf.lz",
|
||||
MediaType = MediaType.ACORN_35_DS_HD,
|
||||
Sectors = 1600,
|
||||
SectorSize = 1024,
|
||||
Clusters = 1600,
|
||||
ClusterSize = 1024
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "adfs_e+.adf.lz",
|
||||
MediaType = MediaType.ACORN_35_DS_DD,
|
||||
Sectors = 800,
|
||||
SectorSize = 1024,
|
||||
Clusters = 800,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "ADFSE+ ",
|
||||
VolumeSerial = "1142"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "adfs_f+.adf.lz",
|
||||
MediaType = MediaType.ACORN_35_DS_HD,
|
||||
Sectors = 1600,
|
||||
SectorSize = 1024,
|
||||
Clusters = 1600,
|
||||
ClusterSize = 1024
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "adfs_s.adf.lz",
|
||||
MediaType = MediaType.ACORN_525_SS_DD_40,
|
||||
Sectors = 640,
|
||||
SectorSize = 256,
|
||||
Clusters = 640,
|
||||
ClusterSize = 256,
|
||||
VolumeName = "$",
|
||||
VolumeSerial = "F20D"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "adfs_m.adf.lz",
|
||||
MediaType = MediaType.ACORN_525_SS_DD_80,
|
||||
Sectors = 1280,
|
||||
SectorSize = 256,
|
||||
Clusters = 1280,
|
||||
ClusterSize = 256,
|
||||
VolumeName = "$",
|
||||
VolumeSerial = "D6CA"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "adfs_l.adf.lz",
|
||||
MediaType = MediaType.ACORN_525_DS_DD,
|
||||
Sectors = 2560,
|
||||
SectorSize = 256,
|
||||
Clusters = 2560,
|
||||
ClusterSize = 256,
|
||||
VolumeName = "$",
|
||||
VolumeSerial = "0CA6"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "hdd_old.hdf.lz",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 78336,
|
||||
SectorSize = 256,
|
||||
Clusters = 78336,
|
||||
ClusterSize = 256,
|
||||
VolumeName = "VolLablOld",
|
||||
VolumeSerial = "080E"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "hdd_new.hdf.lz",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 78336,
|
||||
SectorSize = 256,
|
||||
Clusters = 78336,
|
||||
ClusterSize = 256
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,50 +44,30 @@ namespace Aaru.Tests.Filesystems.AFFS
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"aros.aif", "aros_intl.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
409600, 409600
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
406224, 406224
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"A58348CE", "A5833CD0"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 406224,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A58348CE"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros_intl.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 406224,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A5833CD0"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,52 +44,30 @@ namespace Aaru.Tests.Filesystems.AFFS
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"aros.aif", "aros_intl.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
409600, 409600
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
408240, 408240
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"A582DCA4", "A582BC91"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 408240,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A582DCA4"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros_intl.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 408240,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A582BC91"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,53 +44,85 @@ namespace Aaru.Tests.Filesystems.AFFS
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"amigaos_3.9.aif", "amigaos_3.9_intl.aif", "aros.aif", "aros_intl.aif", "amigaos_4.0.aif",
|
||||
"amigaos_4.0_intl.aif", "amigaos_4.0_cache.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024128, 1024128, 409600, 409600, 1024128, 1024128, 1024128
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
510032, 510032, 407232, 407232, 511040, 511040, 511040
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 512, 512, 1024, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label", "Volume label",
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"A56D0F5C", "A56D049C", "A58307A9", "A58304BE", "A56CC7EE", "A56CDDC4", "A56CC133"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_3.9.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 510032,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A56D0F5C"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_3.9_intl.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 510032,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A56D049C"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 407232,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A58307A9"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros_intl.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 407232,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A58304BE"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_4.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 511040,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A56CC7EE"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_4.0_intl.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 511040,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A56CDDC4"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_4.0_cache.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 511040,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A56CC133"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -45,51 +45,30 @@ namespace Aaru.Tests.Filesystems.AFFS
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"amigaos_3.9.adf.lz", "amigaos_3.9_intl.adf.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.CBM_AMIGA_35_DD, MediaType.CBM_AMIGA_35_DD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1760, 1760
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1760, 1760
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"A5D9FAE2", "A5DA0CC9"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_3.9.adf.lz",
|
||||
MediaType = MediaType.CBM_AMIGA_35_DD,
|
||||
Sectors = 1760,
|
||||
SectorSize = 512,
|
||||
Clusters = 1760,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A5D9FAE2"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_3.9_intl.adf.lz",
|
||||
MediaType = MediaType.CBM_AMIGA_35_DD,
|
||||
Sectors = 1760,
|
||||
SectorSize = 512,
|
||||
Clusters = 1760,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A5DA0CC9"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -45,50 +45,19 @@ namespace Aaru.Tests.Filesystems.AFFS2
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"amigaos_4.0.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024128
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
511040
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"611D85E5"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_4.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 511040,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "611D85E5"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,50 +44,18 @@ namespace Aaru.Tests.Filesystems.AFS
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"scoopenserver_5.0.7hw.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
510048
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"d1150"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 510048,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "d1150"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,53 +44,58 @@ namespace Aaru.Tests.Filesystems.AFS
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"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"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
3360, 2400, 1440, 5760, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1680, 1200, 720, 2880, 1440
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"", "", "", "", ""
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_dmf.img.lz",
|
||||
MediaType = MediaType.DMF,
|
||||
Sectors = 3360,
|
||||
SectorSize = 512,
|
||||
Clusters = 1680,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_dshd.img.lz",
|
||||
MediaType = MediaType.DOS_525_HD,
|
||||
Sectors = 2400,
|
||||
SectorSize = 512,
|
||||
Clusters = 1200,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 720,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2ed.img.lz",
|
||||
MediaType = MediaType.ECMA_147,
|
||||
Sectors = 5760,
|
||||
SectorSize = 512,
|
||||
Clusters = 2880,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1440,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,50 +44,30 @@ namespace Aaru.Tests.Filesystems.AOFS
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"aros.aif", "aros_intl.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
409600, 409600
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
406224, 406224
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"A5833C5B", "A5833085"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 406224,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A5833C5B"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros_intl.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 406224,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A5833085"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,50 +44,30 @@ namespace Aaru.Tests.Filesystems.AOFS
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"aros.aif", "aros_intl.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
409600, 409600
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
408240, 408240
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"A582C90C", "A582CE0D"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 408240,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A582C90C"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros_intl.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 408240,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A582CE0D"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,50 +44,52 @@ namespace Aaru.Tests.Filesystems.AOFS
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"amigaos_3.9.aif", "amigaos_3.9_intl.aif", "aros.aif", "aros_intl.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024128, 1024128, 409600, 409600
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
510032, 510032, 407232, 407232
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 512, 512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label", "Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"A56D13BB", "A56D0415", "A582F3A0", "A5830B06"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_3.9.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 510032,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A56D13BB"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_3.9_intl.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 510032,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A56D0415"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 407232,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A582F3A0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros_intl.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 407232,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A5830B06"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -45,51 +45,30 @@ namespace Aaru.Tests.Filesystems.AOFS
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"amigaos_3.9.adf.lz", "amigaos_3.9_intl.adf.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.CBM_AMIGA_35_DD, MediaType.CBM_AMIGA_35_DD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1760, 1760
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1760, 1760
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"A5D9FE71", "A5D9F14F"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_3.9.adf.lz",
|
||||
MediaType = MediaType.CBM_AMIGA_35_DD,
|
||||
Sectors = 1760,
|
||||
SectorSize = 512,
|
||||
Clusters = 1760,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A5D9FE71"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_3.9_intl.adf.lz",
|
||||
MediaType = MediaType.CBM_AMIGA_35_DD,
|
||||
Sectors = 1760,
|
||||
SectorSize = 512,
|
||||
Clusters = 1760,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A5D9F14F"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,51 +43,18 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new AtheOS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"syllable_0.6.7.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
4194304
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
2097120
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "syllable_0.6.7.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Clusters = 2097120,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,50 +43,28 @@ namespace Aaru.Tests.Filesystems.BeFS
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.BeFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"beos_r3.1.aif", "beos_r4.5.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1572864, 1572864
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
786336, 786336
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "beos_r3.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1572864,
|
||||
SectorSize = 512,
|
||||
Clusters = 786336,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "beos_r4.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1572864,
|
||||
SectorSize = 512,
|
||||
Clusters = 786336,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,50 +43,18 @@ namespace Aaru.Tests.Filesystems.BeFS
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.BeFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"haiku_hrev51259.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
8388608
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
2096640
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
2048
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "haiku_hrev51259.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8388608,
|
||||
SectorSize = 512,
|
||||
Clusters = 2096640,
|
||||
ClusterSize = 2048,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,51 +43,48 @@ namespace Aaru.Tests.Filesystems.BeFS
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.BeFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"beos_r3.1.aif", "beos_r4.5.aif", "haiku_hrev51259.aif", "syllable_0.6.7.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1572864, 1572864, 8388608, 2097152
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
786400, 785232, 2096640, 524272
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 2048, 2048
|
||||
};
|
||||
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label", "Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "beos_r3.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1572864,
|
||||
SectorSize = 512,
|
||||
Clusters = 786400,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "beos_r4.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1572864,
|
||||
SectorSize = 512,
|
||||
Clusters = 785232,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "haiku_hrev51259.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8388608,
|
||||
SectorSize = 512,
|
||||
Clusters = 2096640,
|
||||
ClusterSize = 2048,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "syllable_0.6.7.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 524272,
|
||||
ClusterSize = 2048,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,51 +43,28 @@ namespace Aaru.Tests.Filesystems.BeFS
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.BeFS();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"beos_r3.1.img.lz", "beos_r4.5.img.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DOS_35_HD, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
2880, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1440, 1440
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "beos_r3.1.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1440,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "beos_r4.5.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1440,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,50 +44,18 @@ namespace Aaru.Tests.Filesystems.COHERENT
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"coherentunix_4.2.10.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
510048
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "coherentunix_4.2.10.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 510048,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -45,52 +45,48 @@ namespace Aaru.Tests.Filesystems.COHERENT
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"coherentunix_4.2.10_dsdd.img.lz", "coherentunix_4.2.10_dshd.img.lz", "coherentunix_4.2.10_mf2dd.img.lz",
|
||||
"coherentunix_4.2.10_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
720, 2400, 1440, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
720, 2400, 1440, 2880
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"noname", "noname", "noname", "noname"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "coherentunix_4.2.10_dsdd.img.lz",
|
||||
MediaType = MediaType.DOS_525_DS_DD_9,
|
||||
Sectors = 720,
|
||||
SectorSize = 512,
|
||||
Clusters = 720,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "noname"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "coherentunix_4.2.10_dshd.img.lz",
|
||||
MediaType = MediaType.DOS_525_HD,
|
||||
Sectors = 2400,
|
||||
SectorSize = 512,
|
||||
Clusters = 2400,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "noname"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "coherentunix_4.2.10_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 1440,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "noname"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "coherentunix_4.2.10_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 2880,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "noname"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,50 +43,18 @@ namespace Aaru.Tests.Filesystems.DTFS
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"scoopenserver_5.0.7hw.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
510048
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 510048,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,53 +44,58 @@ namespace Aaru.Tests.Filesystems.DTFS
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"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"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
3360, 2400, 1440, 5760, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1680, 1200, 720, 2880, 1440
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"", "", "", "", ""
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_dmf.img.lz",
|
||||
MediaType = MediaType.DMF,
|
||||
Sectors = 3360,
|
||||
SectorSize = 512,
|
||||
Clusters = 1680,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_dshd.img.lz",
|
||||
MediaType = MediaType.DOS_525_HD,
|
||||
Sectors = 2400,
|
||||
SectorSize = 512,
|
||||
Clusters = 1200,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 720,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2ed.img.lz",
|
||||
MediaType = MediaType.ECMA_147,
|
||||
Sectors = 5760,
|
||||
SectorSize = 512,
|
||||
Clusters = 2880,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1440,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,50 +43,18 @@ namespace Aaru.Tests.Filesystems.EAFS
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"scoopenserver_5.0.7hw.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
510048
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 510048,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,53 +44,58 @@ namespace Aaru.Tests.Filesystems.EAFS
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"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"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
3360, 2400, 1440, 5760, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1680, 1200, 720, 2880, 1440
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"", "", "", "", ""
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_dmf.img.lz",
|
||||
MediaType = MediaType.DMF,
|
||||
Sectors = 3360,
|
||||
SectorSize = 512,
|
||||
Clusters = 1680,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_dshd.img.lz",
|
||||
MediaType = MediaType.DOS_525_HD,
|
||||
Sectors = 2400,
|
||||
SectorSize = 512,
|
||||
Clusters = 1200,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 720,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2ed.img.lz",
|
||||
MediaType = MediaType.ECMA_147,
|
||||
Sectors = 5760,
|
||||
SectorSize = 512,
|
||||
Clusters = 2880,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1440,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,50 +43,30 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new F2FS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"linux.aif", "linux_4.19_f2fs_flashdrive.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
262144, 2097152
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
32512, 261888
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 4096
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VolumeLabel", "DicSetter"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"81bd3a4e-de0c-484c-becc-aaa479b2070a", "422bd2a8-68ab-6f45-9a04-9c264d07dd6e"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 32512,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "VolumeLabel",
|
||||
VolumeSerial = "81bd3a4e-de0c-484c-becc-aaa479b2070a"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_f2fs_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 261888,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "DicSetter",
|
||||
VolumeSerial = "422bd2a8-68ab-6f45-9a04-9c264d07dd6e"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,53 +43,21 @@ namespace Aaru.Tests.Filesystems.FAT12
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macosx_10.11.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
16384
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
4076
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
2048
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"BSD 4.4"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VOLUMELABEL"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"32181F09"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4076,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "32181F09"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,53 +43,21 @@ namespace Aaru.Tests.Filesystems.FAT12
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macosx_10.11.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
16384
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
4076
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
2048
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"BSD 4.4"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VOLUMELABEL"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"66901F1B"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4076,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "66901F1B"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,54 +43,30 @@ namespace Aaru.Tests.Filesystems.FAT12
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"diska.aif", "diskb.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.SHARP_525, MediaType.SHARP_525
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1232, 1232
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
1024, 1024
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true, true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1232, 1232
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"Hudson soft 2.00", "Hudson soft 2.00"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "diska.aif",
|
||||
MediaType = MediaType.SHARP_525,
|
||||
Sectors = 1232,
|
||||
SectorSize = 1024,
|
||||
Bootable = true,
|
||||
Clusters = 1232,
|
||||
ClusterSize = 1024,
|
||||
SystemId = "Hudson soft 2.00"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "diskb.aif",
|
||||
MediaType = MediaType.SHARP_525,
|
||||
Sectors = 1232,
|
||||
SectorSize = 1024,
|
||||
Bootable = true,
|
||||
Clusters = 1232,
|
||||
ClusterSize = 1024,
|
||||
SystemId = "Hudson soft 2.00"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,115 +43,804 @@ namespace Aaru.Tests.Filesystems.FAT12
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"compaqmsdos331.aif", "drdos_3.40.aif", "drdos_3.41.aif", "drdos_5.00.aif", "drdos_6.00.aif",
|
||||
"drdos_7.02.aif", "drdos_7.03.aif", "drdos_8.00.aif", "msdos331.aif", "msdos401.aif", "msdos500.aif",
|
||||
"msdos600.aif", "msdos620rc1.aif", "msdos620.aif", "msdos621.aif", "msdos622.aif", "msdos710.aif",
|
||||
"novelldos_7.00.aif", "opendos_7.01.aif", "pcdos2000.aif", "pcdos200.aif", "pcdos210.aif", "pcdos300.aif",
|
||||
"pcdos310.aif", "pcdos330.aif", "pcdos400.aif", "pcdos500.aif", "pcdos502.aif", "pcdos610.aif",
|
||||
"pcdos630.aif", "toshibamsdos330.aif", "toshibamsdos401.aif", "msos2_1.21.aif", "msos2_1.30.1.aif",
|
||||
"multiuserdos_7.22r4.aif", "os2_1.20.aif", "os2_1.30.aif", "os2_6.307.aif", "os2_6.514.aif",
|
||||
"os2_6.617.aif", "os2_8.162.aif", "os2_9.023.aif", "ecs.aif", "macosx_10.11.aif", "win10.aif",
|
||||
"win2000.aif", "win95.aif", "win95osr2.1.aif", "win95osr2.5.aif", "win95osr2.aif", "win98.aif",
|
||||
"win98se.aif", "winme.aif", "winnt_3.10.aif", "winnt_3.50.aif", "winnt_3.51.aif", "winnt_4.00.aif",
|
||||
"winvista.aif", "beos_r4.5.aif", "linux.aif", "freebsd_6.1.aif", "freebsd_7.0.aif", "freebsd_8.2.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
8192, 30720, 28672, 28672, 28672, 28672, 28672, 28672, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192,
|
||||
16384, 28672, 28672, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 8192,
|
||||
8192, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384,
|
||||
16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384,
|
||||
16384, 16384
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true,
|
||||
true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true,
|
||||
true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true,
|
||||
true, true, true, true, true, true, true, true, true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1000, 3654, 3520, 3520, 3520, 3520, 3520, 3520, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 2008, 3520,
|
||||
3520, 4024, 4031, 4031, 4024, 4024, 4024, 4024, 4024, 4024, 4024, 4024, 1000, 1000, 2008, 2008, 2008, 2008,
|
||||
2008, 2008, 2008, 2008, 2008, 2008, 1890, 4079, 3552, 4088, 2008, 2008, 2008, 2008, 2044, 2044, 2044, 4016,
|
||||
2044, 2044, 4016, 3072, 2040, 3584, 2044, 2044, 2044
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
|
||||
4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
|
||||
4096, 4096, 4096, 4096, 4096, 4096, 4096, 2048, 2048, 2048, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 2048,
|
||||
4096, 4096, 2048, 2048, 4096, 2048, 4096, 4096, 4096
|
||||
};
|
||||
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"IBM 3.3", "IBM 3.2", "IBM 3.2", "IBM 3.3", "IBM 3.3", "IBM 3.3", "DRDOS 7", "IBM 5.0", "IBM 3.3",
|
||||
"MSDOS4.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSWIN4.1", "IBM 3.3",
|
||||
"IBM 3.3", "IBM 7.0", "IBM 2.0", "IBM 2.0", "IBM 3.0", "IBM 3.1", "IBM 3.3", "IBM 4.0", "IBM 5.0",
|
||||
"IBM 5.0", "IBM 6.0", "IBM 6.0", "T V3.30 ", "T V4.00 ", "IBM 10.2", "IBM 10.2", "IBM 3.2", "IBM 10.2",
|
||||
"IBM 10.2", "IBM 20.0", "IBM 20.0", "IBM 20.0", "IBM 20.0", "IBM 20.0", "IBM 4.50", "BSD 4.4", "MSDOS5.0",
|
||||
"MSDOS5.0", "MSWIN4.0", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1", "MSDOS5.0",
|
||||
"MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "BeOS ", "mkfs.fat", "BSD 4.4", "BSD 4.4", "BSD4.4 "
|
||||
};
|
||||
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
null, "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", null, null, null,
|
||||
null, null, "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VolumeLabel", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
null, null, null, null, null, null, null, "1BFB1273", null, "407D1907", "345D18FB", "332518F4", "395718E9",
|
||||
"076718EF", "1371181B", "23281816", "2F781809", null, null, "294F100F", null, null, null, null, null,
|
||||
"0F340FE4", "1A5E0FF9", "1D2F0FFE", "076C1004", "2C481009", null, "3C2319E8", "66CC3C15", "66A54C15", null,
|
||||
"5C578015", "5B845015", "5C4BF015", "E6B5F414", "E6B15414", "E6A41414", "E6A39414", "E6B0B814", "26A21EF4",
|
||||
"74F4921D", "C4B64D11", "29200D0C", "234F0DE4", "074C0DFC", "33640D18", "0E121460", "094C0EED", "38310F02",
|
||||
"50489A1B", "2CE52101", "94313E7E", "BC184FE6", "BAD08A1E", "00000000", "8D418102", "8FC80E0A", "34FA0E0B",
|
||||
"02140E0B"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "compaqmsdos331.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8192,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1000,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 3.3"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_3.40.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 30720,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 3654,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 3.2",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_3.41.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 28672,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 3520,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 3.2",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_5.00.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 28672,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 3520,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 3.3",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_6.00.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 28672,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 3520,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 3.3",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_7.02.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 28672,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 3520,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 3.3",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_7.03.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 28672,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 3520,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "DRDOS 7",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_8.00.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 28672,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 3520,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "1BFB1273"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos331.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8192,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1000,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 3.3",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos401.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8192,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1000,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSDOS4.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "407D1907"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos500.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8192,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1000,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "345D18FB"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos600.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8192,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1000,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "332518F4"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos620rc1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8192,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1000,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "395718E9"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos620.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8192,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1000,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "076718EF"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos621.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8192,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1000,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "1371181B"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos622.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8192,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1000,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "23281816"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos710.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "2F781809"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "novelldos_7.00.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 28672,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 3520,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 3.3",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "opendos_7.01.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 28672,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 3520,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 3.3",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos2000.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 32768,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4024,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 7.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "294F100F"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos200.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 32768,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4031,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 2.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos210.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 32768,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4031,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 2.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos300.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 32768,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4024,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 3.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos310.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 32768,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4024,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 3.1"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos330.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 32768,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4024,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 3.3"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos400.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 32768,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4024,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 4.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "0F340FE4"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos500.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 32768,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4024,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "1A5E0FF9"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos502.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 32768,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4024,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "1D2F0FFE"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos610.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 32768,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4024,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 6.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "076C1004"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos630.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 32768,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4024,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 6.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "2C481009"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "toshibamsdos330.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8192,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1000,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "T V3.30 ",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "toshibamsdos401.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8192,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1000,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "T V4.00 ",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "3C2319E8"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msos2_1.21.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 10.2",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "66CC3C15"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msos2_1.30.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 10.2",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "66A54C15"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "multiuserdos_7.22r4.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 3.2",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_1.20.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 10.2",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "5C578015"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_1.30.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 10.2",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "5B845015"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_6.307.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "5C4BF015"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_6.514.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "E6B5F414"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_6.617.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "E6B15414"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_8.162.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "E6A41414"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_9.023.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "E6A39414"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ecs.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1890,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 4.50",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "E6B0B814"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4079,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "26A21EF4"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win10.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 3552,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "74F4921D"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win2000.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4088,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "C4B64D11"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win95.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "29200D0C"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win95osr2.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "234F0DE4"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win95osr2.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "074C0DFC"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win95osr2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "33640D18"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win98.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2044,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "0E121460"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win98se.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2044,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "094C0EED"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winme.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2044,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "38310F02"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_3.10.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4016,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "50489A1B"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_3.50.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2044,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "2CE52101"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_3.51.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2044,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "94313E7E"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_4.00.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 4016,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "BC184FE6"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winvista.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 3072,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "BAD08A1E"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "beos_r4.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2040,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "BeOS ",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "00000000"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 3584,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "mkfs.fat",
|
||||
VolumeName = "VolumeLabel",
|
||||
VolumeSerial = "8D418102"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "freebsd_6.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2044,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "8FC80E0A"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "freebsd_7.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2044,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "34FA0E0B"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "freebsd_8.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 2044,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "BSD4.4 ",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "02140E0B"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -43,54 +43,21 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macosx_10.11.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
63995
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
8192
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"BSD 4.4"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VOLUMELABEL"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"063D1F09"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63995,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "063D1F09"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,55 +43,30 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"tos_1.04.aif", "tos_1.04_small.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
81920, 16384
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true, true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
10239, 8191
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 1024
|
||||
};
|
||||
|
||||
public override string[] _oemId => new string[]
|
||||
{
|
||||
null, null
|
||||
};
|
||||
|
||||
public override string[] _type => null;
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"BA9831", "2019E1"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "tos_1.04.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 81920,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 10239,
|
||||
ClusterSize = 4096,
|
||||
VolumeSerial = "BA9831"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "tos_1.04_small.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16384,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 8191,
|
||||
ClusterSize = 1024,
|
||||
VolumeSerial = "2019E1"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,54 +43,21 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macosx_10.11.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
63995
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
8192
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"BSD 4.4"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VOLUMELABEL"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"2E8A1F1B"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63995,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "2E8A1F1B"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,54 +43,30 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"sasidisk.aif", "scsidisk.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
162096, 204800
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
256, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true, true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
40510, 102367
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024
|
||||
};
|
||||
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"Hudson soft 2.00", " Hero Soft V1.10"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "sasidisk.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 162096,
|
||||
SectorSize = 256,
|
||||
Bootable = true,
|
||||
Clusters = 40510,
|
||||
ClusterSize = 1024,
|
||||
SystemId = "Hudson soft 2.00"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scsidisk.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 204800,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 102367,
|
||||
ClusterSize = 1024,
|
||||
SystemId = " Hero Soft V1.10"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,123 +43,840 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"drdos_3.40.aif", "drdos_3.41.aif", "drdos_5.00.aif", "drdos_6.00.aif", "drdos_7.02.aif", "drdos_7.03.aif",
|
||||
"drdos_8.00.aif", "msdos331.aif", "msdos401.aif", "msdos500.aif", "msdos600.aif", "msdos620rc1.aif",
|
||||
"msdos620.aif", "msdos621.aif", "msdos622.aif", "msdos710.aif", "novelldos_7.00.aif", "opendos_7.01.aif",
|
||||
"pcdos2000.aif", "pcdos400.aif", "pcdos500.aif", "pcdos502.aif", "pcdos610.aif", "pcdos630.aif",
|
||||
"msos2_1.21.aif", "msos2_1.30.1.aif", "multiuserdos_7.22r4.aif", "os2_1.20.aif", "os2_1.30.aif",
|
||||
"os2_6.307.aif", "os2_6.514.aif", "os2_6.617.aif", "os2_8.162.aif", "os2_9.023.aif", "ecs.aif",
|
||||
"macosx_10.11.aif", "win10.aif", "win2000.aif", "win95osr2.1.aif", "win95osr2.5.aif", "win95osr2.aif",
|
||||
"win95.aif", "win98se.aif", "win98.aif", "winme.aif", "winnt_3.10.aif", "winnt_3.50.aif", "winnt_3.51.aif",
|
||||
"winnt_4.00.aif", "winvista.aif", "beos_r4.5.aif", "linux.aif", "amigaos_3.9.aif", "aros.aif",
|
||||
"freebsd_6.1.aif", "freebsd_7.0.aif", "freebsd_8.2.aif", "macos_7.5.3.aif", "macos_7.5.aif",
|
||||
"macos_7.6.aif", "macos_8.0.aif", "ecs20_fstester.aif", "linux_2.2_umsdos16_flashdrive.aif",
|
||||
"linux_4.19_fat16_msdos_flashdrive.aif", "linux_4.19_vfat16_flashdrive.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000,
|
||||
1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000,
|
||||
1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000,
|
||||
1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000,
|
||||
1024000, 1024000, 1024000, 262144, 1024128, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000,
|
||||
1024000, 1024000, 1024000, 1024000, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true,
|
||||
true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true,
|
||||
true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false,
|
||||
true, true, true, true, true, true, true, true, true, true, true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
63882, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941,
|
||||
63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941,
|
||||
63941, 63941, 63941, 63941, 63882, 63992, 63864, 63252, 63941, 63941, 63941, 63941, 63998, 63998, 63998,
|
||||
63941, 63998, 63998, 63941, 63616, 63996, 65024, 63941, 63882, 63998, 63998, 31999, 63941, 63941, 63941,
|
||||
63941, 63882, 63941, 63872, 63872
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192,
|
||||
8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192,
|
||||
8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 2048, 8192, 8192,
|
||||
8192, 8192, 16384, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"IBM 3.2", "IBM 3.2", "IBM 3.3", "IBM 3.3", "IBM 3.3", "DRDOS 7", "IBM 5.0", "IBM 3.3", "MSDOS4.0",
|
||||
"MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSWIN4.1", "IBM 3.3", "IBM 3.3",
|
||||
"IBM 7.0", "IBM 4.0", "IBM 5.0", "IBM 5.0", "IBM 6.0", "IBM 6.0", "IBM 10.2", "IBM 10.2", "IBM 3.2",
|
||||
"IBM 10.2", "IBM 10.2", "IBM 20.0", "IBM 20.0", "IBM 20.0", "IBM 20.0", "IBM 20.0", "IBM 4.50", "BSD 4.4",
|
||||
"MSDOS5.0", "MSDOS5.0", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1", "MSWIN4.0", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1",
|
||||
"MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "BeOS ", "mkfs.fat", "CDP 5.0", "MSWIN4.1",
|
||||
"BSD 4.4", "BSD 4.4", "BSD4.4 ", "PCX 2.0 ", "PCX 2.0 ", "PCX 2.0 ", "PCX 2.0 ", "IBM 4.50", null,
|
||||
"mkfs.fat", "mkfs.fat"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
null, "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "NO NAME", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VolumeLabel", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUME LABE", "DICSETTER",
|
||||
"DICSETTER", "DICSETTER"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
null, null, null, null, null, null, "1BFB0748", null, "217B1909", "0C6D18FC", "382B18F4", "3E2018E9",
|
||||
"0D2418EF", "195A181B", "27761816", "356B1809", null, null, "2272100F", "07280FE1", "1F630FF9", "18340FFE",
|
||||
"3F3F1003", "273D1009", "9C162C15", "9C1E2C15", null, "5BE66015", "5BE43015", "5BEAC015", "E6B18414",
|
||||
"E6C63414", "1C069414", "1C059414", "1BE5B814", "3EF71EF4", "DAF97911", "305637BD", "275B0DE4", "09650DFC",
|
||||
"38270D18", "2E620D0C", "0B4F0EED", "0E122464", "3B5F0F02", "C84CB6F2", "D0E9AD4E", "C039A2EC", "501F9FA6",
|
||||
"9AAA4216", "00000000", "A132D985", "374D3BD1", "52BEA34A", "3CF10E0D", "C6C30E0D", "44770E0D", "27761816",
|
||||
"27761816", "27761816", "27761816", "66AAF014", "5CC78D47", "A552A493", "FCC308A7"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_3.40.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63882,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 3.2",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_3.41.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 3.2",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_5.00.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 3.3",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_6.00.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 3.3",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_7.02.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 3.3",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_7.03.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "DRDOS 7",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_8.00.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "1BFB0748"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos331.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 3.3"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos401.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS4.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "217B1909"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos500.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "0C6D18FC"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos600.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "382B18F4"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos620rc1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "3E2018E9"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos620.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "0D2418EF"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos621.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "195A181B"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos622.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "27761816"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos710.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "356B1809"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "novelldos_7.00.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 3.3",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "opendos_7.01.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 3.3",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos2000.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 7.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "2272100F"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos400.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 4.0",
|
||||
VolumeName = "NO NAME",
|
||||
VolumeSerial = "07280FE1"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos500.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "1F630FF9"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos502.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "18340FFE"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos610.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 6.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "3F3F1003"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "pcdos630.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 6.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "273D1009"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msos2_1.21.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 10.2",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "9C162C15"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msos2_1.30.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 10.2",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "9C1E2C15"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "multiuserdos_7.22r4.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 3.2",
|
||||
VolumeName = "VOLUMELABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_1.20.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 10.2",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "5BE66015"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_1.30.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 10.2",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "5BE43015"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_6.307.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "5BEAC015"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_6.514.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "E6B18414"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_6.617.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "E6C63414"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_8.162.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "1C069414"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_9.023.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "1C059414"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ecs.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63882,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 4.50",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "1BE5B814"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63992,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "3EF71EF4"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win10.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63864,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "DAF97911"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win2000.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63252,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "305637BD"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win95osr2.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "275B0DE4"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win95osr2.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "09650DFC"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win95osr2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "38270D18"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win95.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSWIN4.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "2E620D0C"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win98se.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63998,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "0B4F0EED"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win98.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63998,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "0E122464"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winme.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63998,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "3B5F0F02"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_3.10.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "C84CB6F2"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_3.50.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63998,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "D0E9AD4E"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_3.51.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63998,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "C039A2EC"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_4.00.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "501F9FA6"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winvista.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63616,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "9AAA4216"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "beos_r4.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63996,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "BeOS ",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "00000000"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 65024,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "mkfs.fat",
|
||||
VolumeName = "VolumeLabel",
|
||||
VolumeSerial = "A132D985"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_3.9.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "CDP 5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "374D3BD1"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63882,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "52BEA34A"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "freebsd_6.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63998,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "3CF10E0D"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "freebsd_7.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63998,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "C6C30E0D"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "freebsd_8.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 31999,
|
||||
ClusterSize = 16384,
|
||||
SystemId = "BSD4.4 ",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "44770E0D"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_7.5.3.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "PCX 2.0 ",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "27761816"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_7.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "PCX 2.0 ",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "27761816"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_7.6.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "PCX 2.0 ",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "27761816"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_8.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "PCX 2.0 ",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "27761816"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ecs20_fstester.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63882,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "IBM 4.50",
|
||||
VolumeName = "VOLUME LABE",
|
||||
VolumeSerial = "66AAF014"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_2.2_umsdos16_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63941,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "DICSETTER",
|
||||
VolumeSerial = "5CC78D47"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_fat16_msdos_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63872,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "mkfs.fat",
|
||||
VolumeName = "DICSETTER",
|
||||
VolumeSerial = "A552A493"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_vfat16_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63872,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "mkfs.fat",
|
||||
VolumeName = "DICSETTER",
|
||||
VolumeSerial = "FCC308A7"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,54 +43,21 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"amigaos_3.9.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024128
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
63689
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
8192
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"CDP 5.0"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VOLUMELABEL"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"374D40D1"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_3.9.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 63689,
|
||||
ClusterSize = 8192,
|
||||
SystemId = "CDP 5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "374D40D1"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,91 +44,30 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
// MS-DOS 3.30A
|
||||
"msdos_3.30A_mf2ed.img.lz",
|
||||
|
||||
// MS-DOS 3.31
|
||||
"msdos_3.31_mf2ed.img.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
// MS-DOS 3.30A
|
||||
MediaType.DOS_35_ED,
|
||||
|
||||
// MS-DOS 3.31
|
||||
MediaType.DOS_35_ED
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
// MS-DOS 3.30A
|
||||
5760,
|
||||
|
||||
// MS-DOS 3.31
|
||||
5760
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
// MS-DOS 3.30A
|
||||
512,
|
||||
|
||||
// MS-DOS 3.31
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true, true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
// MS-DOS 3.30A
|
||||
5760,
|
||||
|
||||
// MS-DOS 3.31
|
||||
5760
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
// MS-DOS 3.30A
|
||||
512,
|
||||
|
||||
// MS-DOS 3.31
|
||||
512
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
// MS-DOS 3.30A
|
||||
"MSDOS3.3",
|
||||
|
||||
// MS-DOS 3.31
|
||||
"IBM 3.3"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
// MS-DOS 3.30A
|
||||
null,
|
||||
|
||||
// MS-DOS 3.31
|
||||
null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
// MS-DOS 3.30A
|
||||
null,
|
||||
|
||||
// MS-DOS 3.31
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos_3.30A_mf2ed.img.lz",
|
||||
MediaType = MediaType.ECMA_147,
|
||||
Sectors = 5760,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 5760,
|
||||
ClusterSize = 512,
|
||||
SystemId = "MSDOS3.3"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos_3.31_mf2ed.img.lz",
|
||||
MediaType = MediaType.ECMA_147,
|
||||
Sectors = 5760,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 5760,
|
||||
ClusterSize = 512,
|
||||
SystemId = "IBM 3.3"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,55 +43,21 @@ namespace Aaru.Tests.Filesystems.FAT32
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macosx_10.11.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
4194304
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
524278
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096
|
||||
};
|
||||
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"BSD 4.4"
|
||||
};
|
||||
|
||||
public override string[] _type => null;
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VOLUMELABEL"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"35BD1F0A"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524278,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "35BD1F0A"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,54 +43,21 @@ namespace Aaru.Tests.Filesystems.FAT32
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macosx_10.11.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
4194304
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
523775
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096
|
||||
};
|
||||
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"BSD 4.4"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VOLUMELABEL"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"7ABE1F1B"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 523775,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "7ABE1F1B"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,75 +43,319 @@ namespace Aaru.Tests.Filesystems.FAT32
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"drdos_7.03.aif", "drdos_8.00.aif", "msdos_7.10.aif", "macosx_10.11.aif", "win10.aif", "win2000.aif",
|
||||
"win95osr2.1.aif", "win95osr2.5.aif", "win95osr2.aif", "win98se.aif", "win98.aif", "winme.aif",
|
||||
"winvista.aif", "beos_r4.5.aif", "linux.aif", "aros.aif", "freebsd_6.1.aif", "freebsd_7.0.aif",
|
||||
"freebsd_8.2.aif", "freedos_1.2.aif", "ecs20_fstester.aif", "linux_2.2_umsdos32_flashdrive.aif",
|
||||
"linux_4.19_fat32_msdos_flashdrive.aif", "linux_4.19_vfat32_flashdrive.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
8388608, 8388608, 8388608, 4194304, 4194304, 8388608, 4194304, 4194304, 4194304, 4194304, 4194304, 4194304,
|
||||
4194304, 4194304, 262144, 4194304, 4194304, 4194304, 4194304, 8388608, 1024000, 1024000, 1024000, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false, true, true,
|
||||
true, true, true, true, true, true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1048233, 1048233, 1048233, 524287, 524016, 1048233, 524152, 524152, 524152, 524112, 524112, 524112, 523520,
|
||||
1048560, 260096, 524160, 524112, 524112, 65514, 1048233, 127744, 127882, 127744, 127744
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 2048, 512, 4096, 4096, 4096,
|
||||
32768, 4096, 4096, 4096, 4096, 4096
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"DRDOS7.X", "IBM 7.1", "MSWIN4.1", "BSD 4.4", "MSDOS5.0", "MSDOS5.0", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1",
|
||||
"MSWIN4.1", "MSWIN4.1", "MSWIN4.1", "MSDOS5.0", "BeOS ", "mkfs.fat", "MSWIN4.1", "BSD 4.4", "BSD 4.4",
|
||||
"BSD4.4 ", "FRDOS4.1", "mkfs.fat", "mkdosfs", "mkfs.fat", "mkfs.fat"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VolumeLabel", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "Volume labe",
|
||||
"DICSETTER", "DICSETTER", "DICSETTER"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"5955996C", "1BFB1A43", "3B331809", "42D51EF1", "48073346", "EC62E6DE", "2A310DE4", "0C140DFC", "3E310D18",
|
||||
"0D3D0EED", "0E131162", "3F500F02", "82EB4C04", "00000000", "B488C502", "5CAC9B4E", "41540E0E", "4E600E0F",
|
||||
"26E20E0F", "3E0C1BE8", "63084BBA", "5CC7908D", "D1290612", "79BCA86E"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_7.03.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8388608,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1048233,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "DRDOS7.X",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "5955996C"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "drdos_8.00.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8388608,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1048233,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "IBM 7.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "1BFB1A43"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msdos_7.10.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8388608,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1048233,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "3B331809"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524287,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "42D51EF1"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win10.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524016,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "48073346"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win2000.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8388608,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1048233,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "EC62E6DE"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win95osr2.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524152,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "2A310DE4"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win95osr2.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524152,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "0C140DFC"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win95osr2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524152,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "3E310D18"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win98se.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524112,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "0D3D0EED"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win98.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524112,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "0E131162"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winme.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524112,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "3F500F02"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winvista.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 523520,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "82EB4C04"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "beos_r4.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1048560,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "BeOS ",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "00000000"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 260096,
|
||||
ClusterSize = 512,
|
||||
SystemId = "mkfs.fat",
|
||||
VolumeName = "VolumeLabel",
|
||||
VolumeSerial = "B488C502"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Clusters = 524160,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "MSWIN4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "5CAC9B4E"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "freebsd_6.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524112,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "41540E0E"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "freebsd_7.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524112,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "BSD 4.4",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "4E600E0F"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "freebsd_8.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 65514,
|
||||
ClusterSize = 32768,
|
||||
SystemId = "BSD4.4 ",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "26E20E0F"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "freedos_1.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8388608,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1048233,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "FRDOS4.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "3E0C1BE8"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ecs20_fstester.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 127744,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "mkfs.fat",
|
||||
VolumeName = "Volume labe",
|
||||
VolumeSerial = "63084BBA"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_2.2_umsdos32_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 127882,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "mkdosfs",
|
||||
VolumeName = "DICSETTER",
|
||||
VolumeSerial = "5CC7908D"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_fat32_msdos_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 127744,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "mkfs.fat",
|
||||
VolumeName = "DICSETTER",
|
||||
VolumeSerial = "D1290612"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_vfat32_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 127744,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "mkfs.fat",
|
||||
VolumeName = "DICSETTER",
|
||||
VolumeSerial = "79BCA86E"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -51,46 +51,6 @@ namespace Aaru.Tests.Filesystems.FATX
|
||||
public override IFilesystem _plugin => new XboxFatPlugin();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
{
|
||||
"fatx.img.lz"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
62720
|
||||
};
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1960
|
||||
};
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
16384
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume láb€l"
|
||||
};
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"4639B7D0"
|
||||
};
|
||||
|
||||
[SetUp]
|
||||
public void Init()
|
||||
{
|
||||
@@ -285,5 +245,20 @@ namespace Aaru.Tests.Filesystems.FATX
|
||||
Assert.AreEqual(false, directory.Contains("SaveData.dat"));
|
||||
Assert.AreEqual(false, directory.Contains("SaveImage.xbx"));
|
||||
}
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "fatx.img.lz",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 62720,
|
||||
SectorSize = 512,
|
||||
Clusters = 1960,
|
||||
ClusterSize = 16384,
|
||||
VolumeName = "Volume láb€l",
|
||||
VolumeSerial = "4639B7D0"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -52,48 +52,6 @@ namespace Aaru.Tests.Filesystems.FATX
|
||||
public override IFilesystem _plugin => new XboxFatPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
{
|
||||
"microsoft256mb.img.lz"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
491520
|
||||
};
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
14848
|
||||
};
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
16384
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
string.Empty
|
||||
};
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"66C2E9D0"
|
||||
};
|
||||
|
||||
[SetUp]
|
||||
public void Init()
|
||||
{
|
||||
@@ -277,5 +235,20 @@ namespace Aaru.Tests.Filesystems.FATX
|
||||
Assert.AreEqual(false, directory.Contains("di1-ES-117218325276118302153627"));
|
||||
Assert.AreEqual(false, directory.Contains("DI1ES120060617014626142312477"));
|
||||
}
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "microsoft256mb.img.lz",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 491520,
|
||||
SectorSize = 512,
|
||||
Clusters = 14848,
|
||||
ClusterSize = 16384,
|
||||
VolumeName = "",
|
||||
VolumeSerial = "66C2E9D0"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -16,19 +16,8 @@ namespace Aaru.Tests.Filesystems
|
||||
public abstract string _dataFolder { get; }
|
||||
public abstract IFilesystem _plugin { get; }
|
||||
public abstract bool _partitions { get; }
|
||||
public abstract string[] _testFiles { get; }
|
||||
public abstract MediaType[] _mediaTypes { get; }
|
||||
public abstract ulong[] _sectors { get; }
|
||||
public abstract uint[] _sectorSize { get; }
|
||||
|
||||
public abstract string[] _appId { get; }
|
||||
public abstract bool[] _bootable { get; }
|
||||
public abstract long[] _clusters { get; }
|
||||
public abstract uint[] _clusterSize { get; }
|
||||
public abstract string[] _oemId { get; }
|
||||
public abstract string[] _type { get; }
|
||||
public abstract string[] _volumeName { get; }
|
||||
public abstract string[] _volumeSerial { get; }
|
||||
public abstract FileSystemTest[] Tests { get; }
|
||||
|
||||
[Test]
|
||||
public void Detect()
|
||||
@@ -37,8 +26,9 @@ namespace Aaru.Tests.Filesystems
|
||||
|
||||
Assert.Multiple(() =>
|
||||
{
|
||||
foreach(string testFile in _testFiles)
|
||||
foreach(FileSystemTest test in Tests)
|
||||
{
|
||||
string testFile = test.TestFile;
|
||||
var filtersList = new FiltersList();
|
||||
IFilter inputFilter = filtersList.GetFilter(testFile);
|
||||
|
||||
@@ -103,9 +93,9 @@ namespace Aaru.Tests.Filesystems
|
||||
|
||||
Assert.Multiple(() =>
|
||||
{
|
||||
for(int i = 0; i < _testFiles.Length; i++)
|
||||
foreach(FileSystemTest test in Tests)
|
||||
{
|
||||
string testFile = _testFiles[i];
|
||||
string testFile = test.TestFile;
|
||||
var filtersList = new FiltersList();
|
||||
IFilter inputFilter = filtersList.GetFilter(testFile);
|
||||
|
||||
@@ -117,9 +107,9 @@ namespace Aaru.Tests.Filesystems
|
||||
|
||||
Assert.AreEqual(true, image.Open(inputFilter), $"Cannot open image for {testFile}");
|
||||
|
||||
Assert.AreEqual(_mediaTypes[i], image.Info.MediaType, _testFiles[i]);
|
||||
Assert.AreEqual(_sectors[i], image.Info.Sectors, _testFiles[i]);
|
||||
Assert.AreEqual(_sectorSize[i], image.Info.SectorSize, _testFiles[i]);
|
||||
Assert.AreEqual(test.MediaType, image.Info.MediaType, testFile);
|
||||
Assert.AreEqual(test.Sectors, image.Info.Sectors, testFile);
|
||||
Assert.AreEqual(test.SectorSize, image.Info.SectorSize, testFile);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -131,21 +121,22 @@ namespace Aaru.Tests.Filesystems
|
||||
|
||||
Assert.Multiple(() =>
|
||||
{
|
||||
for(int i = 0; i < _testFiles.Length; i++)
|
||||
foreach(FileSystemTest test in Tests)
|
||||
{
|
||||
bool found = false;
|
||||
var partition = new Partition();
|
||||
string testFile = test.TestFile;
|
||||
bool found = false;
|
||||
var partition = new Partition();
|
||||
|
||||
var filtersList = new FiltersList();
|
||||
IFilter inputFilter = filtersList.GetFilter(_testFiles[i]);
|
||||
IFilter inputFilter = filtersList.GetFilter(testFile);
|
||||
|
||||
Assert.IsNotNull(inputFilter, $"Filter: {_testFiles[i]}");
|
||||
Assert.IsNotNull(inputFilter, $"Filter: {testFile}");
|
||||
|
||||
IMediaImage image = ImageFormat.Detect(inputFilter);
|
||||
|
||||
Assert.IsNotNull(image, $"Image format: {_testFiles[i]}");
|
||||
Assert.IsNotNull(image, $"Image format: {testFile}");
|
||||
|
||||
Assert.AreEqual(true, image.Open(inputFilter), $"Cannot open image for {_testFiles[i]}");
|
||||
Assert.AreEqual(true, image.Open(inputFilter), $"Cannot open image for {testFile}");
|
||||
|
||||
List<string> idPlugins;
|
||||
|
||||
@@ -153,7 +144,7 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
List<Partition> partitionsList = Core.Partitions.GetAll(image);
|
||||
|
||||
Assert.Greater(partitionsList.Count, 0, $"No partitions found for {_testFiles[i]}");
|
||||
Assert.Greater(partitionsList.Count, 0, $"No partitions found for {testFile}");
|
||||
|
||||
// In reverse to skip boot partitions we're not interested in
|
||||
for(int index = partitionsList.Count - 1; index >= 0; index--)
|
||||
@@ -183,12 +174,12 @@ namespace Aaru.Tests.Filesystems
|
||||
|
||||
Core.Filesystems.Identify(image, out idPlugins, partition, true);
|
||||
|
||||
Assert.Greater(idPlugins.Count, 0, $"No filesystems found for {_testFiles[i]}");
|
||||
Assert.Greater(idPlugins.Count, 0, $"No filesystems found for {testFile}");
|
||||
|
||||
found = idPlugins.Contains(_plugin.Id.ToString());
|
||||
}
|
||||
|
||||
Assert.True(found, $"Filesystem not identified for {_testFiles[i]}");
|
||||
Assert.True(found, $"Filesystem not identified for {testFile}");
|
||||
|
||||
// ReSharper disable once ConditionIsAlwaysTrueOrFalse
|
||||
// It is not the case, it changes
|
||||
@@ -197,26 +188,25 @@ namespace Aaru.Tests.Filesystems
|
||||
|
||||
var fs = Activator.CreateInstance(_plugin.GetType()) as IFilesystem;
|
||||
|
||||
Assert.NotNull(fs, $"Could not instantiate filesystem for {_testFiles[i]}");
|
||||
Assert.NotNull(fs, $"Could not instantiate filesystem for {testFile}");
|
||||
|
||||
fs.GetInformation(image, partition, out _, null);
|
||||
|
||||
if(_appId != null)
|
||||
Assert.AreEqual(_appId[i], fs.XmlFsType.ApplicationIdentifier,
|
||||
$"Application ID: {_testFiles[i]}");
|
||||
if(test.ApplicationId != null)
|
||||
Assert.AreEqual(test.ApplicationId, fs.XmlFsType.ApplicationIdentifier,
|
||||
$"Application ID: {testFile}");
|
||||
|
||||
Assert.AreEqual(_bootable[i], fs.XmlFsType.Bootable, $"Bootable: {_testFiles[i]}");
|
||||
Assert.AreEqual(_clusters[i], fs.XmlFsType.Clusters, $"Clusters: {_testFiles[i]}");
|
||||
Assert.AreEqual(_clusterSize[i], fs.XmlFsType.ClusterSize, $"Cluster size: {_testFiles[i]}");
|
||||
Assert.AreEqual(test.Bootable, fs.XmlFsType.Bootable, $"Bootable: {testFile}");
|
||||
Assert.AreEqual(test.Clusters, fs.XmlFsType.Clusters, $"Clusters: {testFile}");
|
||||
Assert.AreEqual(test.ClusterSize, fs.XmlFsType.ClusterSize, $"Cluster size: {testFile}");
|
||||
|
||||
if(_oemId != null)
|
||||
Assert.AreEqual(_oemId[i], fs.XmlFsType.SystemIdentifier, $"System ID: {_testFiles[i]}");
|
||||
if(test.SystemId != null)
|
||||
Assert.AreEqual(test.SystemId, fs.XmlFsType.SystemIdentifier, $"System ID: {testFile}");
|
||||
|
||||
Assert.AreEqual(_fileSystemType ?? _type[i], fs.XmlFsType.Type,
|
||||
$"Filesystem type: {_testFiles[i]}");
|
||||
Assert.AreEqual(_fileSystemType ?? test.Type, fs.XmlFsType.Type, $"Filesystem type: {testFile}");
|
||||
|
||||
Assert.AreEqual(_volumeName[i], fs.XmlFsType.VolumeName, $"Volume name: {_testFiles[i]}");
|
||||
Assert.AreEqual(_volumeSerial[i], fs.XmlFsType.VolumeSerial, $"Volume serial: {_testFiles[i]}");
|
||||
Assert.AreEqual(test.VolumeName, fs.XmlFsType.VolumeName, $"Volume name: {testFile}");
|
||||
Assert.AreEqual(test.VolumeSerial, fs.XmlFsType.VolumeSerial, $"Volume serial: {testFile}");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -43,50 +43,30 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new HAMMER();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"dflybsd_3.6.1.vdi.lz", "dflybsd_4.0.5.vdi.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
104857600, 104857600
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
6310, 6310
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
8388608, 8388608
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"f8e1a8bb-626d-11e7-94b5-0900274691e4", "ff4dc664-6276-11e7-983f-090027c41b46"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "dflybsd_3.6.1.vdi.lz",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 104857600,
|
||||
SectorSize = 512,
|
||||
Clusters = 6310,
|
||||
ClusterSize = 8388608,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "f8e1a8bb-626d-11e7-94b5-0900274691e4"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "dflybsd_4.0.5.vdi.lz",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 104857600,
|
||||
SectorSize = 512,
|
||||
Clusters = 6310,
|
||||
ClusterSize = 8388608,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "ff4dc664-6276-11e7-983f-090027c41b46"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -46,70 +46,218 @@ namespace Aaru.Tests.Filesystems.HFSPlus
|
||||
public override bool _partitions => true;
|
||||
|
||||
// Missing Darwin 1.4.1
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macosx_10.11.aif", "macosx_10.11_journal.aif", "darwin_1.3.1.aif", "darwin_1.3.1_wrapped.aif",
|
||||
"darwin_1.4.1_wrapped.aif", "darwin_6.0.2.aif", "darwin_6.0.2_wrapped.aif", "darwin_8.0.1_journal.aif",
|
||||
"darwin_8.0.1.aif", "darwin_8.0.1_wrapped.aif", "macos_8.1.aif", "macos_9.0.4.aif", "macos_9.1.aif",
|
||||
"macos_9.2.1.aif", "macos_9.2.2.aif", "macosx_10.2.aif", "macosx_10.3_journal.aif", "macosx_10.3.aif",
|
||||
"macosx_10.4_journal.aif", "macosx_10.4.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
409600, 614400, 819200, 614400, 614400, 819200, 614400, 1228800, 819200, 614400, 4194304, 4194304, 4194304,
|
||||
4194304, 4194304, 4194304, 2097152, 4194304, 2097152, 4194304
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false, false, false, false, false, false, false, false, false,
|
||||
false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
51190, 76790, 102392, 76774, 76774, 102392, 76774, 153592, 102392, 76774, 524152, 524088, 524088, 524088,
|
||||
524088, 524008, 261884, 491240, 261884, 491240
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
|
||||
4096, 4096
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"10.0", "HFSJ", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "8.10", "8.10", "8.10",
|
||||
"8.10", "8.10", "10.0", "HFSJ", "10.0", "HFSJ", "10.0"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
|
||||
null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"FA94762D086A18A9", "33D4A309C8E7BD10", null, null, null, null, null, "4D5140EB8F14A385",
|
||||
"0D592249833E2DC4", "AA616146576BD9BC", null, null, null, null, null, "EFA132FFFAC1ADA6",
|
||||
"009D570FFCF8F20B", "17F6F33AB313EE32", "AD5690C093F66FCF", "A7D63854DF76DDE6"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 51190,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "FA94762D086A18A9"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 614400,
|
||||
SectorSize = 512,
|
||||
Clusters = 76790,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "HFSJ",
|
||||
VolumeSerial = "33D4A309C8E7BD10"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_1.3.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 819200,
|
||||
SectorSize = 512,
|
||||
Clusters = 102392,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_1.3.1_wrapped.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 614400,
|
||||
SectorSize = 512,
|
||||
Clusters = 76774,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_1.4.1_wrapped.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 614400,
|
||||
SectorSize = 512,
|
||||
Clusters = 76774,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_6.0.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 819200,
|
||||
SectorSize = 512,
|
||||
Clusters = 102392,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_6.0.2_wrapped.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 614400,
|
||||
SectorSize = 512,
|
||||
Clusters = 76774,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_8.0.1_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1228800,
|
||||
SectorSize = 512,
|
||||
Clusters = 153592,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "4D5140EB8F14A385"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_8.0.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 819200,
|
||||
SectorSize = 512,
|
||||
Clusters = 102392,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "0D592249833E2DC4"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_8.0.1_wrapped.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 614400,
|
||||
SectorSize = 512,
|
||||
Clusters = 76774,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "AA616146576BD9BC"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_8.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Clusters = 524152,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "8.10"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_9.0.4.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Clusters = 524088,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "8.10"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_9.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Clusters = 524088,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "8.10"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_9.2.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Clusters = 524088,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "8.10"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_9.2.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Clusters = 524088,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "8.10"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Clusters = 524008,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "EFA132FFFAC1ADA6"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.3_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 261884,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "HFSJ",
|
||||
VolumeSerial = "009D570FFCF8F20B"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.3.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Clusters = 491240,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "17F6F33AB313EE32"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.4_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 261884,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "HFSJ",
|
||||
VolumeSerial = "AD5690C093F66FCF"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.4.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Clusters = 491240,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "A7D63854DF76DDE6"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -45,54 +45,30 @@ namespace Aaru.Tests.Filesystems.HFSPlus
|
||||
public override IFilesystem _plugin => new AppleHFSPlus();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macosx_10.11.aif", "macosx_10.11_journal.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
409600, 614400
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
51190, 76790
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 4096
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"10.0", "HFSJ"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"D8C68470046E67BE", "FD3CB598F3C6294A"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 51190,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "D8C68470046E67BE"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 614400,
|
||||
SectorSize = 512,
|
||||
Clusters = 76790,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "HFSJ",
|
||||
VolumeSerial = "FD3CB598F3C6294A"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -47,60 +47,144 @@ namespace Aaru.Tests.Filesystems.HFSPlus
|
||||
public override IFilesystem _plugin => new AppleHFSPlus();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macosx_10.11.aif", "macosx_10.11_journal.aif", "linux.aif", "linux_journal.aif", "darwin_1.3.1.aif",
|
||||
"darwin_1.3.1_wrapped.aif", "darwin_1.4.1.aif", "darwin_1.4.1_wrapped.aif", "darwin_6.0.2.aif",
|
||||
"darwin_8.0.1_journal.aif", "darwin_8.0.1.aif", "darwin_8.0.1_wrapped.aif", "linux_4.19_hfs+_flashdrive.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
303104, 352256, 262144, 262144, 819200, 614400, 819200, 614400, 819200, 1228800, 819200, 614400, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false, false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
37878, 44021, 32512, 32512, 102178, 76708, 102178, 76708, 102178, 153592, 102392, 76774, 127744
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"10.0", "HFSJ", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "H+Lx"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null, null, null, null, null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"C84F550907D13F50", "016599F88029F73D", null, null, null, null, null, null, null, "F92964F9B3F64ABB",
|
||||
"A8FAC484A0A2B177", "D5D5BF1346AD2B8D", "B9BAC6856878A404"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 303104,
|
||||
SectorSize = 512,
|
||||
Clusters = 37878,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "C84F550907D13F50"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 352256,
|
||||
SectorSize = 512,
|
||||
Clusters = 44021,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "HFSJ",
|
||||
VolumeSerial = "016599F88029F73D"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 32512,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 32512,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_1.3.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 819200,
|
||||
SectorSize = 512,
|
||||
Clusters = 102178,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_1.3.1_wrapped.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 614400,
|
||||
SectorSize = 512,
|
||||
Clusters = 76708,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_1.4.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 819200,
|
||||
SectorSize = 512,
|
||||
Clusters = 102178,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_1.4.1_wrapped.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 614400,
|
||||
SectorSize = 512,
|
||||
Clusters = 76708,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_6.0.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 819200,
|
||||
SectorSize = 512,
|
||||
Clusters = 102178,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_8.0.1_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1228800,
|
||||
SectorSize = 512,
|
||||
Clusters = 153592,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "F92964F9B3F64ABB"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_8.0.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 819200,
|
||||
SectorSize = 512,
|
||||
Clusters = 102392,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "A8FAC484A0A2B177"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_8.0.1_wrapped.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 614400,
|
||||
SectorSize = 512,
|
||||
Clusters = 76774,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "D5D5BF1346AD2B8D"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_hfs+_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 127744,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "H+Lx",
|
||||
VolumeSerial = "B9BAC6856878A404"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,81 +43,382 @@ namespace Aaru.Tests.Filesystems.HFS
|
||||
public override IFilesystem _plugin => new AppleHFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"amigaos_3.9.aif", "darwin_1.3.1.aif", "darwin_1.4.1.aif", "darwin_6.0.2.aif", "darwin_8.0.1.aif",
|
||||
"macos_1.1.aif", "macos_2.0.aif", "macos_6.0.7.aif", "macos_7.5.3.aif", "macos_7.5.aif", "macos_7.6.aif",
|
||||
"macos_8.0.aif", "macos_8.1.aif", "macos_9.0.4.aif", "macos_9.1.aif", "macos_9.2.1.aif", "macos_9.2.2.aif",
|
||||
"macosx_10.2.aif", "macosx_10.3.aif", "macosx_10.4.aif", "rhapsody_dr1.aif", "d2_driver.aif", "hdt_1.8.aif",
|
||||
"macos_4.2.aif", "macos_4.3.aif", "macos_6.0.2.aif", "macos_6.0.3.aif", "macos_6.0.4.aif",
|
||||
"macos_6.0.5.aif", "macos_6.0.8.aif", "macos_6.0.aif", "macos_7.0.aif", "macos_7.1.1.aif", "parted.aif",
|
||||
"silverlining_2.2.1.aif", "speedtools_3.6.aif", "vcpformatter_2.1.1.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024128, 409600, 409600, 409600, 409600, 41820, 41820, 81648, 1024000, 1024000, 1024000, 1024000, 1024000,
|
||||
1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 409600, 51200, 51200, 41820, 41820, 54840,
|
||||
54840, 54840, 54840, 54840, 41820, 54840, 54840, 262144, 51200, 51200, 54840
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false, false, false, false, false, false, false, false, false,
|
||||
false, false, false, false, false, false, false, false, false, false, false, false, false, false, false,
|
||||
false, false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
64003, 51189, 51189, 58502, 58502, 41788, 38950, 39991, 63954, 63990, 63954, 63954, 63954, 63922, 63922,
|
||||
63922, 63922, 63884, 63883, 63883, 58506, 50926, 50094, 38950, 38950, 38950, 38950, 7673, 38950, 38950,
|
||||
38950, 38950, 38950, 46071, 50382, 49135, 54643
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
8192, 4096, 4096, 3584, 3584, 512, 512, 1024, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192,
|
||||
8192, 8192, 3584, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 1024, 512, 512, 512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label", "Volume label",
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label", "Volume label",
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label", "Volume label",
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label", "Volume label",
|
||||
"Volume label", "Volume label", "Volume label", "Test disk", "Volume label", "Volume label", "Volume label",
|
||||
"Volume label", "Volume label", "Untitled", "Untitled #1", "24 MB Disk", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
null, null, null, null, "AAFE1382AF5AA898", null, null, null, null, null, null, null, null, null, null,
|
||||
null, null, "5A7C38B0CAF279C4", "FB49083EBD150509", "632C0B1DB46FD188", null, null, null, null, null, null,
|
||||
null, null, null, null, null, null, null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_3.9.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 64003,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_1.3.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 51189,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_1.4.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 51189,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_6.0.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 58502,
|
||||
ClusterSize = 3584,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_8.0.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 58502,
|
||||
ClusterSize = 3584,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "AAFE1382AF5AA898"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_1.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 41820,
|
||||
SectorSize = 512,
|
||||
Clusters = 41788,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_2.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 41820,
|
||||
SectorSize = 512,
|
||||
Clusters = 38950,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_6.0.7.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 81648,
|
||||
SectorSize = 512,
|
||||
Clusters = 39991,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_7.5.3.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63954,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_7.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63990,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_7.6.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63954,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_8.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63954,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_8.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63954,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_9.0.4.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63922,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_9.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63922,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_9.2.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63922,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_9.2.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63922,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63884,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "5A7C38B0CAF279C4"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.3.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63883,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "FB49083EBD150509"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.4.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63883,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "632C0B1DB46FD188"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "rhapsody_dr1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 58506,
|
||||
ClusterSize = 3584,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "d2_driver.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 51200,
|
||||
SectorSize = 512,
|
||||
Clusters = 50926,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "hdt_1.8.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 51200,
|
||||
SectorSize = 512,
|
||||
Clusters = 50094,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_4.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 41820,
|
||||
SectorSize = 512,
|
||||
Clusters = 38950,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_4.3.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 41820,
|
||||
SectorSize = 512,
|
||||
Clusters = 38950,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_6.0.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 54840,
|
||||
SectorSize = 512,
|
||||
Clusters = 38950,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_6.0.3.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 54840,
|
||||
SectorSize = 512,
|
||||
Clusters = 38950,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_6.0.4.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 54840,
|
||||
SectorSize = 512,
|
||||
Clusters = 7673,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Test disk"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_6.0.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 54840,
|
||||
SectorSize = 512,
|
||||
Clusters = 38950,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_6.0.8.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 54840,
|
||||
SectorSize = 512,
|
||||
Clusters = 38950,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_6.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 41820,
|
||||
SectorSize = 512,
|
||||
Clusters = 38950,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_7.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 54840,
|
||||
SectorSize = 512,
|
||||
Clusters = 38950,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_7.1.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 54840,
|
||||
SectorSize = 512,
|
||||
Clusters = 38950,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "parted.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 46071,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Untitled"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "silverlining_2.2.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 51200,
|
||||
SectorSize = 512,
|
||||
Clusters = 50382,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Untitled #1"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "speedtools_3.6.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 51200,
|
||||
SectorSize = 512,
|
||||
Clusters = 49135,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "24 MB Disk"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "vcpformatter_2.1.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 54840,
|
||||
SectorSize = 512,
|
||||
Clusters = 54643,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,53 +43,69 @@ namespace Aaru.Tests.Filesystems.HFS
|
||||
public override IFilesystem _plugin => new AppleHFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"linux.aif", "darwin_1.3.1.aif", "darwin_1.4.1.aif", "darwin_6.0.2.aif", "darwin_8.0.1.aif",
|
||||
"linux_4.19_hfs_flashdrive.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
262144, 409600, 409600, 409600, 409600, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
65018, 51145, 51145, 58452, 58502, 63870
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
2048, 4096, 4096, 3584, 3584, 8192
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label", "DicSetter"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
null, null, null, null, "81FE805D61458753", null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 65018,
|
||||
ClusterSize = 2048,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_1.3.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 51145,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_1.4.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 51145,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_6.0.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 58452,
|
||||
ClusterSize = 3584,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_8.0.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 58502,
|
||||
ClusterSize = 3584,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "81FE805D61458753"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_hfs_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 63870,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "DicSetter"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,52 +43,68 @@ namespace Aaru.Tests.Filesystems.HFS
|
||||
public override IFilesystem _plugin => new AppleHFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"toast_3.5.7_hfs_from_volume.aif", "toast_3.5.7_iso9660_hfs.aif", "toast_4.1.3_hfs_from_volume.aif",
|
||||
"toast_4.1.3_iso9660_hfs.aif", "toast_3.5.7_hfs_from_files.aif", "toast_4.1.3_hfs_from_files.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.CD, MediaType.CD, MediaType.CD, MediaType.CD, MediaType.CD, MediaType.CD, MediaType.CD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
942, 1880, 943, 1882, 1509, 1529
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
2048, 2048, 2048, 2048, 2048, 2048
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
3724, 931, 931, 931, 249, 249
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 2048, 2048, 2048, 12288, 12288
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Disk utils", "Disk utils", "Disk utils", "Disk utils", "Disk utils", "Disk utils"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "toast_3.5.7_hfs_from_volume.aif",
|
||||
MediaType = MediaType.CD,
|
||||
Sectors = 942,
|
||||
SectorSize = 2048,
|
||||
Clusters = 3724,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Disk utils"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "toast_3.5.7_iso9660_hfs.aif",
|
||||
MediaType = MediaType.CD,
|
||||
Sectors = 1880,
|
||||
SectorSize = 2048,
|
||||
Clusters = 931,
|
||||
ClusterSize = 2048,
|
||||
VolumeName = "Disk utils"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "toast_4.1.3_hfs_from_volume.aif",
|
||||
MediaType = MediaType.CD,
|
||||
Sectors = 943,
|
||||
SectorSize = 2048,
|
||||
Clusters = 931,
|
||||
ClusterSize = 2048,
|
||||
VolumeName = "Disk utils"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "toast_4.1.3_iso9660_hfs.aif",
|
||||
MediaType = MediaType.CD,
|
||||
Sectors = 1882,
|
||||
SectorSize = 2048,
|
||||
Clusters = 931,
|
||||
ClusterSize = 2048,
|
||||
VolumeName = "Disk utils"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "toast_3.5.7_hfs_from_files.aif",
|
||||
MediaType = MediaType.CD,
|
||||
Sectors = 1509,
|
||||
SectorSize = 2048,
|
||||
Clusters = 249,
|
||||
ClusterSize = 12288,
|
||||
VolumeName = "Disk utils"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "toast_4.1.3_hfs_from_files.aif",
|
||||
MediaType = MediaType.CD,
|
||||
Sectors = 1529,
|
||||
SectorSize = 2048,
|
||||
Clusters = 249,
|
||||
ClusterSize = 12288,
|
||||
VolumeName = "Disk utils"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,51 +43,18 @@ namespace Aaru.Tests.Filesystems.HFS
|
||||
public override IFilesystem _plugin => new AppleHFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"amigaos_3.9.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024128
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
63752
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
8192
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_3.9.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 63752,
|
||||
ClusterSize = 8192,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,56 +44,88 @@ namespace Aaru.Tests.Filesystems.HFS
|
||||
public override IFilesystem _plugin => new AppleHFS();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macos_1.1_mf2dd.img.lz", "macos_2.0_mf2dd.img.lz", "macos_6.0.7_mf2dd.img.lz", "nextstep_3.3_mf2hd.img.lz",
|
||||
"openstep_4.0_mf2hd.img.lz", "openstep_4.2_mf2hd.img.lz", "rhapsody_dr1_mf2hd.img.lz",
|
||||
"ecs20_mf2hd_fstester.img.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.AppleSonyDS, MediaType.AppleSonyDS, MediaType.AppleSonyDS, MediaType.DOS_35_HD,
|
||||
MediaType.DOS_35_HD, MediaType.DOS_35_HD, MediaType.DOS_35_HD, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1600, 1600, 1600, 2880, 2880, 2880, 2880, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1594, 1594, 1594, 2874, 2874, 2874, 2874, 2874
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label", "Volume label",
|
||||
"Volume label", "VOLUME LABEL"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_1.1_mf2dd.img.lz",
|
||||
MediaType = MediaType.AppleSonyDS,
|
||||
Sectors = 1600,
|
||||
SectorSize = 512,
|
||||
Clusters = 1594,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_2.0_mf2dd.img.lz",
|
||||
MediaType = MediaType.AppleSonyDS,
|
||||
Sectors = 1600,
|
||||
SectorSize = 512,
|
||||
Clusters = 1594,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_6.0.7_mf2dd.img.lz",
|
||||
MediaType = MediaType.AppleSonyDS,
|
||||
Sectors = 1600,
|
||||
SectorSize = 512,
|
||||
Clusters = 1594,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "nextstep_3.3_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 2874,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "openstep_4.0_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 2874,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "openstep_4.2_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 2874,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "rhapsody_dr1_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 2874,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ecs20_mf2hd_fstester.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 2874,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "VOLUME LABEL"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,57 +43,74 @@ namespace Aaru.Tests.Filesystems.HFSX
|
||||
public override IFilesystem _plugin => new AppleHFSPlus();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macosx_10.11.aif", "macosx_10.11_journal.aif", "darwin_8.0.1_journal.aif", "darwin_8.0.1.aif",
|
||||
"macosx_10.4_journal.aif", "macosx_10.4.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
819200, 1228800, 1638400, 1433600, 4194304, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
102390, 153590, 204792, 179192, 491290, 127770
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 4096, 4096, 4096, 4096, 4096
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"10.0", "HFSJ", "10.0", "10.0", "HFSJ", "10.0"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null, null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"CC2D56884950D9AE", "7AF1175D8EA7A072", "BB4ABD7E7E2FF5AF", "E2F212D815EF77B5", "5A8C646A5D77EB16",
|
||||
"258C51A750F6A485"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 819200,
|
||||
SectorSize = 512,
|
||||
Clusters = 102390,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "CC2D56884950D9AE"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1228800,
|
||||
SectorSize = 512,
|
||||
Clusters = 153590,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "HFSJ",
|
||||
VolumeSerial = "7AF1175D8EA7A072"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_8.0.1_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1638400,
|
||||
SectorSize = 512,
|
||||
Clusters = 204792,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "BB4ABD7E7E2FF5AF"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_8.0.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1433600,
|
||||
SectorSize = 512,
|
||||
Clusters = 179192,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "E2F212D815EF77B5"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.4_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Clusters = 491290,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "HFSJ",
|
||||
VolumeSerial = "5A8C646A5D77EB16"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.4.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 127770,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "258C51A750F6A485"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,54 +43,30 @@ namespace Aaru.Tests.Filesystems.HFSX
|
||||
public override IFilesystem _plugin => new AppleHFSPlus();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macosx_10.11.aif", "macosx_10.11_journal.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
819200, 1228800
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
102390, 153590
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 4096
|
||||
};
|
||||
public override string[] _type => null;
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"10.0", "HFSJ"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"328343989312AE9F", "FB98504073464C5C"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 819200,
|
||||
SectorSize = 512,
|
||||
Clusters = 102390,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "328343989312AE9F"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1228800,
|
||||
SectorSize = 512,
|
||||
Clusters = 153590,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "HFSJ",
|
||||
VolumeSerial = "FB98504073464C5C"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,57 +44,83 @@ namespace Aaru.Tests.Filesystems.HFSX
|
||||
public override IFilesystem _plugin => new AppleHFSPlus();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macosx_10.11.aif", "macosx_10.11_journal.aif", "linux.aif", "linux_journal.aif",
|
||||
"darwin_8.0.1_journal.aif", "darwin_8.0.1.aif", "linux_4.19_hfsx_flashdrive.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
393216, 409600, 262144, 262144, 1638400, 1433600, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
49140, 51187, 32512, 32512, 204792, 179192, 127744
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 4096, 4096, 4096, 4096, 4096, 4096
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"10.0", "HFSJ", "10.0", "10.0", "10.0", "10.0", "H+Lx"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"C2BCCCE6DE5BC98D", "AC54CD78C75CC30F", null, null, "7559DD01BCFADD9A", "AEA39CFBBF14C0FF",
|
||||
"5E4A8781D3C9286C"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 393216,
|
||||
SectorSize = 512,
|
||||
Clusters = 49140,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "C2BCCCE6DE5BC98D"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 51187,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "HFSJ",
|
||||
VolumeSerial = "AC54CD78C75CC30F"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 32512,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 32512,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_8.0.1_journal.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1638400,
|
||||
SectorSize = 512,
|
||||
Clusters = 204792,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "7559DD01BCFADD9A"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "darwin_8.0.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1433600,
|
||||
SectorSize = 512,
|
||||
Clusters = 179192,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "10.0",
|
||||
VolumeSerial = "AEA39CFBBF14C0FF"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_hfsx_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 127744,
|
||||
ClusterSize = 4096,
|
||||
SystemId = "H+Lx",
|
||||
VolumeSerial = "5E4A8781D3C9286C"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,61 +43,178 @@ namespace Aaru.Tests.Filesystems
|
||||
"High Performance File System");
|
||||
public override IFilesystem _plugin => new HPFS();
|
||||
public override bool _partitions => true;
|
||||
public override string[] _testFiles => new[]
|
||||
{
|
||||
"ecs.aif", "msos2_1.21.aif", "msos2_1.30.1.aif", "os2_1.20.aif", "os2_1.30.aif", "os2_6.307.aif",
|
||||
"os2_6.514.aif", "os2_6.617.aif", "os2_8.162.aif", "os2_9.023.aif", "winnt_3.10.aif", "winnt_3.50.aif",
|
||||
"ecs20_fstester.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
262144, 1024000, 1024000, 1024000, 1024000, 1024000, 262144, 262144, 262144, 262144, 262144, 262144, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true, true, true, true, true, true, true, true, true, true, true, true, true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
261072, 1023056, 1023056, 1023056, 1023056, 1023056, 262016, 262016, 262016, 262016, 262016, 262112, 1022112
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"IBM 4.50", "OS2 10.1", "OS2 10.0", "OS2 10.0", "OS2 10.0", "OS2 20.0", "OS2 20.0", "OS2 20.1", "OS2 20.0",
|
||||
"OS2 20.0", "MSDOS5.0", "MSDOS5.0", "IBM 4.50"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUME LABE"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"2BBBD814", "AC0DDC15", "ABEB2C15", "6C4EE015", "6C406015", "6C49B015", "2BCEB414", "2C157414", "2BF55414",
|
||||
"2BE31414", "E851CB14", "A4EDC29C", "AC096014"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ecs.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 261072,
|
||||
ClusterSize = 512,
|
||||
SystemId = "IBM 4.50",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "2BBBD814"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msos2_1.21.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1023056,
|
||||
ClusterSize = 512,
|
||||
SystemId = "OS2 10.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "AC0DDC15"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "msos2_1.30.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1023056,
|
||||
ClusterSize = 512,
|
||||
SystemId = "OS2 10.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "ABEB2C15"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_1.20.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1023056,
|
||||
ClusterSize = 512,
|
||||
SystemId = "OS2 10.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "6C4EE015"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_1.30.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1023056,
|
||||
ClusterSize = 512,
|
||||
SystemId = "OS2 10.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "6C406015"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_6.307.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1023056,
|
||||
ClusterSize = 512,
|
||||
SystemId = "OS2 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "6C49B015"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_6.514.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 262016,
|
||||
ClusterSize = 512,
|
||||
SystemId = "OS2 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "2BCEB414"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_6.617.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 262016,
|
||||
ClusterSize = 512,
|
||||
SystemId = "OS2 20.1",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "2C157414"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_8.162.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 262016,
|
||||
ClusterSize = 512,
|
||||
SystemId = "OS2 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "2BF55414"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "os2_9.023.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 262016,
|
||||
ClusterSize = 512,
|
||||
SystemId = "OS2 20.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "2BE31414"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_3.10.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 262016,
|
||||
ClusterSize = 512,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "E851CB14"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_3.50.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 262112,
|
||||
ClusterSize = 512,
|
||||
SystemId = "MSDOS5.0",
|
||||
VolumeName = "VOLUMELABEL",
|
||||
VolumeSerial = "A4EDC29C"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ecs20_fstester.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1022112,
|
||||
ClusterSize = 512,
|
||||
SystemId = "IBM 4.50",
|
||||
VolumeName = "VOLUME LABE",
|
||||
VolumeSerial = "AC096014"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,54 +44,56 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new HPOFS();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"rid1.img.lz", "rid10.img.lz", "rid66percent.img.lz", "rid266.img.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DOS_35_HD, MediaType.DOS_35_HD, MediaType.DOS_35_HD, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
2880, 2880, 2880, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
2880, 2880, 2880, 2880
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"IBM 10.2", "IBM 10.2", "IBM 10.2", "IBM 10.2"
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VOLUME LABEL", "VOLUME LABEL", "VOLUME LABEL", "VOLUME LABEL"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"AC226814", "AC160814", "AC306C14", "ABEF2C14"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "rid1.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 2880,
|
||||
ClusterSize = 512,
|
||||
SystemId = "IBM 10.2",
|
||||
VolumeName = "VOLUME LABEL",
|
||||
VolumeSerial = "AC226814"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "rid10.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 2880,
|
||||
ClusterSize = 512,
|
||||
SystemId = "IBM 10.2",
|
||||
VolumeName = "VOLUME LABEL",
|
||||
VolumeSerial = "AC160814"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "rid66percent.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 2880,
|
||||
ClusterSize = 512,
|
||||
SystemId = "IBM 10.2",
|
||||
VolumeName = "VOLUME LABEL",
|
||||
VolumeSerial = "AC306C14"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "rid266.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 2880,
|
||||
ClusterSize = 512,
|
||||
SystemId = "IBM 10.2",
|
||||
VolumeName = "VOLUME LABEL",
|
||||
VolumeSerial = "ABEF2C14"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,51 +44,18 @@ namespace Aaru.Tests.Filesystems.HTFS
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"scoopenserver_5.0.7hw.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
2097152
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1020096
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 1020096,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -29,9 +29,7 @@
|
||||
using System.IO;
|
||||
using Aaru.CommonTypes;
|
||||
using Aaru.CommonTypes.Interfaces;
|
||||
using Aaru.DiscImages;
|
||||
using Aaru.Filesystems;
|
||||
using Aaru.Filters;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Aaru.Tests.Filesystems.HTFS
|
||||
@@ -47,54 +45,58 @@ namespace Aaru.Tests.Filesystems.HTFS
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"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"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
3360, 2400, 1440, 5760, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1680, 1200, 720, 2880, 1440
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"", "", "", "", ""
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_dmf.img.lz",
|
||||
MediaType = MediaType.DMF,
|
||||
Sectors = 3360,
|
||||
SectorSize = 512,
|
||||
Clusters = 1680,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_dshd.img.lz",
|
||||
MediaType = MediaType.DOS_525_HD,
|
||||
Sectors = 2400,
|
||||
SectorSize = 512,
|
||||
Clusters = 1200,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 720,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2ed.img.lz",
|
||||
MediaType = MediaType.ECMA_147,
|
||||
Sectors = 5760,
|
||||
SectorSize = 512,
|
||||
Clusters = 2880,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1440,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -43,55 +43,68 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new JFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"linux.aif", "linux_caseinsensitive.aif", "ecs20_fstester.aif", "linux_4.19_jfs_flashdrive.aif",
|
||||
"linux_4.19_jfs_os2_flashdrive.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
262144, 262144, 1024000, 1024000, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true, true, true, true, true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
257632, 257632, 1017512, 1017416, 1017416
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 4096, 4096, 4096, 4096
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume labe", "Volume labe", "Volume labe", "DicSetter", "DicSetter"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"8033b783-0cd1-1645-8ecc-f8f113ad6a47", "d6cd91e9-3899-7e40-8468-baab688ee2e2",
|
||||
"f4077ce9-0000-0000-0000-000000007c10", "91746c77-eb51-7441-85e2-902c925969f8",
|
||||
"08fc8e22-0201-894e-89c9-31ec3f546203"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 257632,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "Volume labe",
|
||||
VolumeSerial = "8033b783-0cd1-1645-8ecc-f8f113ad6a47"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_caseinsensitive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 257632,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "Volume labe",
|
||||
VolumeSerial = "d6cd91e9-3899-7e40-8468-baab688ee2e2"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ecs20_fstester.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1017512,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "Volume labe",
|
||||
VolumeSerial = "f4077ce9-0000-0000-0000-000000007c10"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_jfs_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1017416,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "DicSetter",
|
||||
VolumeSerial = "91746c77-eb51-7441-85e2-902c925969f8"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_jfs_os2_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1017416,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "DicSetter",
|
||||
VolumeSerial = "08fc8e22-0201-894e-89c9-31ec3f546203"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,67 +44,184 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new LisaFS();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"166files.dc42.lz", "222files.dc42.lz", "blank2.0.dc42.lz", "blank-disk.dc42.lz",
|
||||
"file-with-a-password.dc42.lz", "tfwdndrc-has-been-erased.dc42.lz", "tfwdndrc-has-been-restored.dc42.lz",
|
||||
"three-empty-folders.dc42.lz", "three-folders-with-differently-named-docs.dc42.lz",
|
||||
"three-folders-with-differently-named-docs-root-alphabetical.dc42.lz",
|
||||
"three-folders-with-differently-named-docs-root-chronological.dc42.lz",
|
||||
"three-folders-with-identically-named-docs.dc42.lz", "lisafs1.dc42.lz", "lisafs2.dc42.lz",
|
||||
"lisafs3.dc42.lz", "lisafs3_with_desktop.dc42.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS,
|
||||
MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS,
|
||||
MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS,
|
||||
MediaType.AppleFileWare, MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 1702, 800, 800, 800
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false, false, false, false, false, false, false, false, false,
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
800, 800, 792, 800, 800, 800, 800, 800, 800, 800, 800, 800, 1684, 792, 800, 800
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"166Files", "222Files", "AOS 4:59 pm 10/02/87", "AOS 3.0", "AOS 3.0", "AOS 3.0", "AOS 3.0", "AOS 3.0",
|
||||
"AOS 3.0", "AOS 3.0", "AOS 3.0", "AOS 3.0", "AOS 4:15 pm 5/06/1983", "Office System 1 2.0",
|
||||
"Office System 1 3.0", "AOS 3.0"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"A23703A202010663", "A23703A201010663", "A32D261301010663", "A22CB48D01010663", "A22CC3A702010663",
|
||||
"A22CB48D14010663", "A22CB48D14010663", "A22CB48D01010663", "A22CB48D01010663", "A22CB48D01010663",
|
||||
"A22CB48D01010663", "A22CB48D01010663", "9924151E190001E1", "9497F10016010D10", "9CF9CF89070100A8",
|
||||
"A4FE1A191F011652"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "166files.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 800,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "166Files",
|
||||
VolumeSerial = "A23703A202010663"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "222files.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 800,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "222Files",
|
||||
VolumeSerial = "A23703A201010663"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "blank2.0.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 792,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "AOS 4:59 pm 10/02/87",
|
||||
VolumeSerial = "A32D261301010663"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "blank-disk.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 800,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "AOS 3.0",
|
||||
VolumeSerial = "A22CB48D01010663"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "file-with-a-password.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 800,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "AOS 3.0",
|
||||
VolumeSerial = "A22CC3A702010663"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "tfwdndrc-has-been-erased.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 800,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "AOS 3.0",
|
||||
VolumeSerial = "A22CB48D14010663"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "tfwdndrc-has-been-restored.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 800,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "AOS 3.0",
|
||||
VolumeSerial = "A22CB48D14010663"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "three-empty-folders.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 800,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "AOS 3.0",
|
||||
VolumeSerial = "A22CB48D01010663"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "three-folders-with-differently-named-docs.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 800,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "AOS 3.0",
|
||||
VolumeSerial = "A22CB48D01010663"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "three-folders-with-differently-named-docs-root-alphabetical.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 800,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "AOS 3.0",
|
||||
VolumeSerial = "A22CB48D01010663"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "three-folders-with-differently-named-docs-root-chronological.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 800,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "AOS 3.0",
|
||||
VolumeSerial = "A22CB48D01010663"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "three-folders-with-identically-named-docs.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 800,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "AOS 3.0",
|
||||
VolumeSerial = "A22CB48D01010663"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "lisafs1.dc42.lz",
|
||||
MediaType = MediaType.AppleFileWare,
|
||||
Sectors = 1702,
|
||||
SectorSize = 512,
|
||||
Clusters = 1684,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "AOS 4:15 pm 5/06/1983",
|
||||
VolumeSerial = "9924151E190001E1"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "lisafs2.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 792,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Office System 1 2.0",
|
||||
VolumeSerial = "9497F10016010D10"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "lisafs3.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 800,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Office System 1 3.0",
|
||||
VolumeSerial = "9CF9CF89070100A8"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "lisafs3_with_desktop.dc42.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 800,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "AOS 3.0",
|
||||
VolumeSerial = "A4FE1A191F011652"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -42,52 +42,28 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.Locus();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"mf2dd.img.lz", "mf2hd.img.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1440, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
180, 360
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 4096
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Label", "Label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 180,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "Label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 360,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "Label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,54 +44,58 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new AppleMFS();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macos_0.1_mf1dd.img.lz", "macos_0.5_mf1dd.img.lz", "macos_1.1_mf1dd.img.lz", "macos_2.0_mf1dd.img.lz",
|
||||
"macos_6.0.7_mf1dd.img.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS,
|
||||
MediaType.AppleSonySS
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
800, 800, 800, 800, 800
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
391, 391, 391, 391, 391
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_0.1_mf1dd.img.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 391,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_0.5_mf1dd.img.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 391,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_1.1_mf1dd.img.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 391,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_2.0_mf1dd.img.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 391,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_6.0.7_mf1dd.img.lz",
|
||||
MediaType = MediaType.AppleSonySS,
|
||||
Sectors = 800,
|
||||
SectorSize = 512,
|
||||
Clusters = 391,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,53 +44,38 @@ namespace Aaru.Tests.Filesystems.MINIX.V1
|
||||
public override IFilesystem _plugin => new MinixFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"linux.aif", "minix_3.1.2a.aif", "linux_4.19_minix1_flashdrive.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
262144, 102400, 131072
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
65535, 50399, 64512
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"Minix v1", "Minix 3 v1", "Minix v1"
|
||||
};
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null
|
||||
};
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 65535,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix v1"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 102400,
|
||||
SectorSize = 512,
|
||||
Clusters = 50399,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix 3 v1"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_minix1_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 131072,
|
||||
SectorSize = 512,
|
||||
Clusters = 64512,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix v1"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,55 +44,48 @@ namespace Aaru.Tests.Filesystems.MINIX.V1
|
||||
public override IFilesystem _plugin => new MinixFS();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"minix_3.1.2a_dsdd.img.lz", "minix_3.1.2a_dshd.img.lz", "minix_3.1.2a_mf2dd.img.lz",
|
||||
"minix_3.1.2a_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
720, 2400, 1440, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
360, 1200, 720, 1440
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"Minix 3 v1", "Minix 3 v1", "Minix 3 v1", "Minix 3 v1"
|
||||
};
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null
|
||||
};
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a_dsdd.img.lz",
|
||||
MediaType = MediaType.DOS_525_DS_DD_9,
|
||||
Sectors = 720,
|
||||
SectorSize = 512,
|
||||
Clusters = 360,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix 3 v1"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a_dshd.img.lz",
|
||||
MediaType = MediaType.DOS_525_HD,
|
||||
Sectors = 2400,
|
||||
SectorSize = 512,
|
||||
Clusters = 1200,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix 3 v1"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 720,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix 3 v1"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1440,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix 3 v1"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,53 +44,28 @@ namespace Aaru.Tests.Filesystems.MINIX.V2
|
||||
public override IFilesystem _plugin => new MinixFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"minix_3.1.2a.aif", "linux_4.19_minix2_flashdrive.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
511055, 510976
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"Minix 3 v2", "Minix v2"
|
||||
};
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null
|
||||
};
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 511055,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix 3 v2"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_minix2_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 510976,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix v2"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,55 +43,49 @@ namespace Aaru.Tests.Filesystems.MINIX.V2
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "MINIX v2 filesystem");
|
||||
public override IFilesystem _plugin => new MinixFS();
|
||||
public override bool _partitions => false;
|
||||
public override string[] _testFiles => new[]
|
||||
{
|
||||
"minix_3.1.2a_dsdd.img.lz", "minix_3.1.2a_dshd.img.lz", "minix_3.1.2a_mf2dd.img.lz",
|
||||
"minix_3.1.2a_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
720, 2400, 1440, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
360, 1200, 720, 1440
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"Minix 3 v2", "Minix 3 v2", "Minix 3 v2", "Minix 3 v2"
|
||||
};
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null
|
||||
};
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a_dsdd.img.lz",
|
||||
MediaType = MediaType.DOS_525_DS_DD_9,
|
||||
Sectors = 720,
|
||||
SectorSize = 512,
|
||||
Clusters = 360,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix 3 v2"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a_dshd.img.lz",
|
||||
MediaType = MediaType.DOS_525_HD,
|
||||
Sectors = 2400,
|
||||
SectorSize = 512,
|
||||
Clusters = 1200,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix 3 v2"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 720,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix 3 v2"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1440,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix 3 v2"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,53 +44,28 @@ namespace Aaru.Tests.Filesystems.MINIX.V3
|
||||
public override IFilesystem _plugin => new MinixFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"minix_3.1.2a.aif", "linux_4.19_minix3_flashdrive.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
4194304, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
523151, 510976
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"Minix v3", "Minix v3"
|
||||
};
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null
|
||||
};
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Clusters = 523151,
|
||||
ClusterSize = 4096,
|
||||
Type = "Minix v3"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_minix3_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 510976,
|
||||
ClusterSize = 1024,
|
||||
Type = "Minix v3"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -45,55 +45,48 @@ namespace Aaru.Tests.Filesystems.MINIX.V3
|
||||
public override IFilesystem _plugin => new MinixFS();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"minix_3.1.2a_dsdd.img.lz", "minix_3.1.2a_dshd.img.lz", "minix_3.1.2a_mf2dd.img.lz",
|
||||
"minix_3.1.2a_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
720, 2400, 1440, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
90, 300, 180, 360
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 4096, 4096, 4096
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"Minix v3", "Minix v3", "Minix v3", "Minix v3"
|
||||
};
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null
|
||||
};
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a_dsdd.img.lz",
|
||||
MediaType = MediaType.DOS_525_DS_DD_9,
|
||||
Sectors = 720,
|
||||
SectorSize = 512,
|
||||
Clusters = 90,
|
||||
ClusterSize = 4096,
|
||||
Type = "Minix v3"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a_dshd.img.lz",
|
||||
MediaType = MediaType.DOS_525_HD,
|
||||
Sectors = 2400,
|
||||
SectorSize = 512,
|
||||
Clusters = 300,
|
||||
ClusterSize = 4096,
|
||||
Type = "Minix v3"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 180,
|
||||
ClusterSize = 4096,
|
||||
Type = "Minix v3"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "minix_3.1.2a_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 360,
|
||||
ClusterSize = 4096,
|
||||
Type = "Minix v3"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,51 +44,19 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new NILFS2();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"linux.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
262144
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
32512
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"6b1ca79e-7048-a748-93a0-89c74b02cb5a"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 32512,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "6b1ca79e-7048-a748-93a0-89c74b02cb5a"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,54 +43,19 @@ namespace Aaru.Tests.Filesystems.NTFS
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.NTFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"haiku_hrev51259.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
2097152
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
261887
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096
|
||||
};
|
||||
public override string[] _oemId => new string[]
|
||||
{
|
||||
null
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"106DA7693F7F6B3F"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "haiku_hrev51259.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 261887,
|
||||
ClusterSize = 4096,
|
||||
VolumeSerial = "106DA7693F7F6B3F"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,59 +44,118 @@ namespace Aaru.Tests.Filesystems.NTFS
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.NTFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"win10.aif", "win2000.aif", "winnt_3.10.aif", "winnt_3.50.aif", "winnt_3.51.aif", "winnt_4.00.aif",
|
||||
"winvista.aif", "linux.aif", "haiku_hrev51259.aif", "linux_4.19_ntfs3g_flashdrive.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
524288, 2097152, 1024000, 524288, 524288, 524288, 524288, 262144, 2097152, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true, true, true, true, true, true, true, true, true, true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
65263, 1046511, 1023057, 524256, 524256, 524096, 64767, 32511, 261887, 127743
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 1024, 512, 512, 512, 512, 4096, 4096, 4096, 4096
|
||||
};
|
||||
|
||||
public override string[] _oemId => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null, null, null
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null, null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"C46C1B3C6C1B28A6", "8070C8EC70C8E9CC", "10CC6AC6CC6AA5A6", "7A14F50014F4BFE5", "24884447884419A6",
|
||||
"822C288D2C287E73", "E20AF54B0AF51D6B", "065BB96B7C1BCFDA", "46EC796749C6FA66", "1FC3802B52F9611C"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win10.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 524288,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 65263,
|
||||
ClusterSize = 4096,
|
||||
VolumeSerial = "C46C1B3C6C1B28A6"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win2000.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1046511,
|
||||
ClusterSize = 1024,
|
||||
VolumeSerial = "8070C8EC70C8E9CC"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_3.10.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 1023057,
|
||||
ClusterSize = 512,
|
||||
VolumeSerial = "10CC6AC6CC6AA5A6"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_3.50.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 524288,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524256,
|
||||
ClusterSize = 512,
|
||||
VolumeSerial = "7A14F50014F4BFE5"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_3.51.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 524288,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524256,
|
||||
ClusterSize = 512,
|
||||
VolumeSerial = "24884447884419A6"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winnt_4.00.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 524288,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 524096,
|
||||
ClusterSize = 512,
|
||||
VolumeSerial = "822C288D2C287E73"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "winvista.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 524288,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 64767,
|
||||
ClusterSize = 4096,
|
||||
VolumeSerial = "E20AF54B0AF51D6B"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 32511,
|
||||
ClusterSize = 4096,
|
||||
VolumeSerial = "065BB96B7C1BCFDA"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "haiku_hrev51259.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 261887,
|
||||
ClusterSize = 4096,
|
||||
VolumeSerial = "46EC796749C6FA66"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_ntfs3g_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 127743,
|
||||
ClusterSize = 4096,
|
||||
VolumeSerial = "1FC3802B52F9611C"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,51 +44,18 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new PFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"uae.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024128
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1023552
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"PFS"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "uae.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 1023552,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "PFS"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -45,54 +45,88 @@ namespace Aaru.Tests.Filesystems.ProDOS
|
||||
public override IFilesystem _plugin => new ProDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macos_7.5.3.aif", "macos_7.6.aif", "macos_8.0.aif", "macos_8.1.aif", "macos_9.0.4.aif", "macos_9.1.aif",
|
||||
"macos_9.2.1.aif", "macos_9.2.2.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
49152, 49152, 49152, 49152, 49152, 49152, 49152, 49152
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
48438, 48438, 48438, 48438, 46326, 46326, 46326, 46326
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VOLUME.LABEL", "VOLUME.LABEL", "VOLUME.LABEL", "VOLUME.LABEL", "VOLUME.LABEL", "VOLUME.LABEL",
|
||||
"VOLUME.LABEL", "VOLUME.LABEL"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_7.5.3.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 49152,
|
||||
SectorSize = 512,
|
||||
Clusters = 48438,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "VOLUME.LABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_7.6.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 49152,
|
||||
SectorSize = 512,
|
||||
Clusters = 48438,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "VOLUME.LABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_8.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 49152,
|
||||
SectorSize = 512,
|
||||
Clusters = 48438,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "VOLUME.LABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_8.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 49152,
|
||||
SectorSize = 512,
|
||||
Clusters = 48438,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "VOLUME.LABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_9.0.4.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 49152,
|
||||
SectorSize = 512,
|
||||
Clusters = 46326,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "VOLUME.LABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_9.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 49152,
|
||||
SectorSize = 512,
|
||||
Clusters = 46326,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "VOLUME.LABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_9.2.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 49152,
|
||||
SectorSize = 512,
|
||||
Clusters = 46326,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "VOLUME.LABEL"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macos_9.2.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 49152,
|
||||
SectorSize = 512,
|
||||
Clusters = 46326,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "VOLUME.LABEL"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,49 +43,17 @@ namespace Aaru.Tests.Filesystems.QNX4
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.QNX4();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"qnx_4.24.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1023104
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null
|
||||
};
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "qnx_4.24.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 1023104,
|
||||
ClusterSize = 512
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,50 +43,44 @@ namespace Aaru.Tests.Filesystems.QNX4
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.QNX4();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"qnx_4.24_dsdd.img.lz", "qnx_4.24_dshd.img.lz", "qnx_4.24_mf2dd.img.lz", "qnx_4.24_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
720, 2400, 1440, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
720, 2400, 1440, 2880
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null
|
||||
};
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "qnx_4.24_dsdd.img.lz",
|
||||
MediaType = MediaType.DOS_525_DS_DD_9,
|
||||
Sectors = 720,
|
||||
SectorSize = 512,
|
||||
Clusters = 720,
|
||||
ClusterSize = 512
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "qnx_4.24_dshd.img.lz",
|
||||
MediaType = MediaType.DOS_525_HD,
|
||||
Sectors = 2400,
|
||||
SectorSize = 512,
|
||||
Clusters = 2400,
|
||||
ClusterSize = 512
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "qnx_4.24_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 1440,
|
||||
ClusterSize = 512
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "qnx_4.24_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 2880,
|
||||
ClusterSize = 512
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,51 +44,17 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new ReFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"win10.vdi.lz"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
67108864
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
8372224
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "win10.vdi.lz",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 67108864,
|
||||
SectorSize = 512,
|
||||
Clusters = 8372224,
|
||||
ClusterSize = 4096
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,54 +44,52 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new Reiser();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"linux_r3.5.aif", "linux_r3.6.aif", "linux_4.19_reiser_3.5_flashdrive.aif",
|
||||
"linux_4.19_reiser_3.6_flashdrive.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
262144, 262144, 1024000, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
32512, 32512, 127744, 127744
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096, 4096, 4096, 4096
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"Reiser 3.5 filesystem", "Reiser 3.6 filesystem", "Reiser 3.5 filesystem", "Reiser 3.6 filesystem"
|
||||
};
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
null, "Volume label", null, "DicSetter"
|
||||
};
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
null, "844155c0-c854-d34e-8133-26ffac2e7b5d", null, "8902ac3c-3e0c-4c4c-84ec-03405c1710f1"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_r3.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 32512,
|
||||
ClusterSize = 4096,
|
||||
Type = "Reiser 3.5 filesystem"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_r3.6.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 32512,
|
||||
ClusterSize = 4096,
|
||||
Type = "Reiser 3.6 filesystem",
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "844155c0-c854-d34e-8133-26ffac2e7b5d"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_reiser_3.5_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 127744,
|
||||
ClusterSize = 4096,
|
||||
Type = "Reiser 3.5 filesystem"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_reiser_3.6_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 127744,
|
||||
ClusterSize = 4096,
|
||||
Type = "Reiser 3.6 filesystem",
|
||||
VolumeName = "DicSetter",
|
||||
VolumeSerial = "8902ac3c-3e0c-4c4c-84ec-03405c1710f1"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,52 +43,19 @@ namespace Aaru.Tests.Filesystems
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.Reiser4();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"linux.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
262144
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
32511
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"b0c1924e-6f10-8c42-b6c5-66a457896460"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 32511,
|
||||
ClusterSize = 4096,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "b0c1924e-6f10-8c42-b6c5-66a457896460"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,51 +43,17 @@ namespace Aaru.Tests.Filesystems.SFS
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.SFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"aros.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
409600
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
406224
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 406224,
|
||||
ClusterSize = 512
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,51 +43,17 @@ namespace Aaru.Tests.Filesystems.SFS
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.SFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"aros.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
409600
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
408240
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 408240,
|
||||
ClusterSize = 512
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,51 +44,44 @@ namespace Aaru.Tests.Filesystems.SFS
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.SFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"uae.aif", "aros.aif", "amigaos_4.0.aif", "amigaos_4.0_sfs2.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024128, 409600, 1024128, 1024128
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
127000, 407232, 511040, 511040
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
2048, 512, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "uae.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 127000,
|
||||
ClusterSize = 2048
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 407232,
|
||||
ClusterSize = 512
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_4.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 511040,
|
||||
ClusterSize = 1024
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amigaos_4.0_sfs2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 511040,
|
||||
ClusterSize = 1024
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,51 +44,38 @@ namespace Aaru.Tests.Filesystems.SysV
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"att_unix_svr4v2.1.aif", "att_unix_svr4v2.1_2k.aif", "scoopenserver_5.0.7hw.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000, 1024000, 2097152
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
511056, 255528, 1020096
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 2048, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"/usr3", "/usr3", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "att_unix_svr4v2.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 511056,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "/usr3"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "att_unix_svr4v2.1_2k.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 255528,
|
||||
ClusterSize = 2048,
|
||||
VolumeName = "/usr3"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 1020096,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,51 +44,18 @@ namespace Aaru.Tests.Filesystems.SysV
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"amix.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024128
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
511424
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
""
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amix.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 511424,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -45,56 +45,98 @@ namespace Aaru.Tests.Filesystems.SysV
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"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"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
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
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1760, 720, 1440, 2880, 3360, 2400, 1440, 5760, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
880, 360, 720, 1440, 1680, 1200, 720, 2880, 1440
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"", "", "", "", "", "", "", "", ""
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amix.adf.lz",
|
||||
MediaType = MediaType.CBM_AMIGA_35_DD,
|
||||
Sectors = 1760,
|
||||
SectorSize = 512,
|
||||
Clusters = 880,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "att_unix_svr4v2.1_dsdd.img.lz",
|
||||
MediaType = MediaType.DOS_525_DS_DD_9,
|
||||
Sectors = 720,
|
||||
SectorSize = 512,
|
||||
Clusters = 360,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "att_unix_svr4v2.1_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 720,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "att_unix_svr4v2.1_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1440,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_dmf.img.lz",
|
||||
MediaType = MediaType.DMF,
|
||||
Sectors = 3360,
|
||||
SectorSize = 512,
|
||||
Clusters = 1680,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_dshd.img.lz",
|
||||
MediaType = MediaType.DOS_525_HD,
|
||||
Sectors = 2400,
|
||||
SectorSize = 512,
|
||||
Clusters = 1200,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 720,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2ed.img.lz",
|
||||
MediaType = MediaType.ECMA_147,
|
||||
Sectors = 5760,
|
||||
SectorSize = 512,
|
||||
Clusters = 2880,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "scoopenserver_5.0.7hw_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1440,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = ""
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,59 +43,47 @@ namespace Aaru.Tests.Filesystems.UDF._102
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.UDF();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"linux.aif", "macosx_10.11.aif", "linux_4.19_udf_1.02_flashdrive.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000, 204800, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1024000, 204800, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"*Linux UDFFS", "*Apple Mac OS X UDF FS", "*Linux UDFFS"
|
||||
};
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"UDF v1.02", "UDF v1.02", "UDF v2.01"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label", "DicSetter"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"595c5cfa38ce8b66LinuxUDF", "6D02A231 (Mac OS X newfs_udf) UDF Volume Set", "5cc7882441a86e93LinuxUDF"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 1024000,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Linux UDFFS",
|
||||
Type = "UDF v1.02",
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "595c5cfa38ce8b66LinuxUDF"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 204800,
|
||||
SectorSize = 512,
|
||||
Clusters = 204800,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Apple Mac OS X UDF FS",
|
||||
Type = "UDF v1.02",
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "6D02A231 (Mac OS X newfs_udf) UDF Volume Set"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_udf_1.02_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 1024000,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Linux UDFFS",
|
||||
Type = "UDF v2.01",
|
||||
VolumeName = "DicSetter",
|
||||
VolumeSerial = "5cc7882441a86e93LinuxUDF"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,59 +43,21 @@ namespace Aaru.Tests.Filesystems.UDF._150
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.UDF();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"ecs20.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DVDPR
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
2295104
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
2048
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
2295104
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
2048
|
||||
};
|
||||
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"*ExpressUDF"
|
||||
};
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"UDF v2.01"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"Volume Set ID not specified"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ecs20.aif",
|
||||
MediaType = MediaType.DVDPR,
|
||||
Sectors = 2295104,
|
||||
SectorSize = 2048,
|
||||
Clusters = 2295104,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "*ExpressUDF",
|
||||
Type = "UDF v2.01",
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "Volume Set ID not specified"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,60 +43,60 @@ namespace Aaru.Tests.Filesystems.UDF._150
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.UDF();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"linux.aif", "macosx_10.11.aif", "solaris_9.aif", "linux_4.19_udf_1.50_flashdrive.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000, 409600, 8388608, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1024000, 409600, 8388608, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"*Linux UDFFS", "*Apple Mac OS X UDF FS", "*SUN SOLARIS UDF", "*Linux UDFFS"
|
||||
};
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"UDF v1.50", "UDF v1.50", "UDF v1.50", "UDF v2.01"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label", "*NoLabel*", "DicSetter"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"595c5d00c5b3405aLinuxUDF", "4DD0458B (Mac OS X newfs_udf) UDF Volume Set", "595EB55A",
|
||||
"5cc78f8bba4dfe00LinuxUDF"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 1024000,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Linux UDFFS",
|
||||
Type = "UDF v1.50",
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "595c5d00c5b3405aLinuxUDF"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 409600,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Apple Mac OS X UDF FS",
|
||||
Type = "UDF v1.50",
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "4DD0458B (Mac OS X newfs_udf) UDF Volume Set"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "solaris_9.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8388608,
|
||||
SectorSize = 512,
|
||||
Clusters = 8388608,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*SUN SOLARIS UDF",
|
||||
Type = "UDF v1.50",
|
||||
VolumeName = "*NoLabel*",
|
||||
VolumeSerial = "595EB55A"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_udf_1.50_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 1024000,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Linux UDFFS",
|
||||
Type = "UDF v2.01",
|
||||
VolumeName = "DicSetter",
|
||||
VolumeSerial = "5cc78f8bba4dfe00LinuxUDF"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,59 +43,21 @@ namespace Aaru.Tests.Filesystems.UDF._200
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.UDF();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"ecs20.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DVDPR
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
2295104
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
2048
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
2295104
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
2048
|
||||
};
|
||||
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"*ExpressUDF"
|
||||
};
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"UDF v2.01"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"UDF5A5DEF48"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"Volume Set ID not specified"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ecs20.aif",
|
||||
MediaType = MediaType.DVDPR,
|
||||
Sectors = 2295104,
|
||||
SectorSize = 2048,
|
||||
Clusters = 2295104,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "*ExpressUDF",
|
||||
Type = "UDF v2.01",
|
||||
VolumeName = "UDF5A5DEF48",
|
||||
VolumeSerial = "Volume Set ID not specified"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,60 +43,47 @@ namespace Aaru.Tests.Filesystems.UDF._200
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.UDF();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"linux.aif", "macosx_10.11.aif", "linux_4.19_udf_2.00_flashdrive.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000, 614400, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1024000, 614400, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"*Linux UDFFS", "*Apple Mac OS X UDF FS", "*Linux UDFFS"
|
||||
};
|
||||
|
||||
public override string[] _type => new[]
|
||||
|
||||
{
|
||||
"UDF v2.00", "UDF v2.00", "UDF v2.01"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label", "DicSetter"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"595c5d07f4fc8e8dLinuxUDF", "5D91CB4F (Mac OS X newfs_udf) UDF Volume Set", "5cc7f4183e0d5f7aLinuxUDF"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 1024000,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Linux UDFFS",
|
||||
Type = "UDF v2.00",
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "595c5d07f4fc8e8dLinuxUDF"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 614400,
|
||||
SectorSize = 512,
|
||||
Clusters = 614400,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Apple Mac OS X UDF FS",
|
||||
Type = "UDF v2.00",
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "5D91CB4F (Mac OS X newfs_udf) UDF Volume Set"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_udf_2.00_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 1024000,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Linux UDFFS",
|
||||
Type = "UDF v2.01",
|
||||
VolumeName = "DicSetter",
|
||||
VolumeSerial = "5cc7f4183e0d5f7aLinuxUDF"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,58 +43,34 @@ namespace Aaru.Tests.Filesystems.UDF._201
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.UDF();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"ecs20.aif", "ecs20_cdrw.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DVDPR, MediaType.CDRW
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
2295104, 295264
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
2048, 2048
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
2295104, 295264
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
2048, 2048
|
||||
};
|
||||
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"*ExpressUDF", "*ExpressUDF"
|
||||
};
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"UDF v2.01", "UDF v2.01"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"VolLabel", "UDF5A5DFF10"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"VolumeSetId", "Volume Set ID not specified"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ecs20.aif",
|
||||
MediaType = MediaType.DVDPR,
|
||||
Sectors = 2295104,
|
||||
SectorSize = 2048,
|
||||
Clusters = 2295104,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "*ExpressUDF",
|
||||
Type = "UDF v2.01",
|
||||
VolumeName = "VolLabel",
|
||||
VolumeSerial = "VolumeSetId"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ecs20_cdrw.aif",
|
||||
MediaType = MediaType.CDRW,
|
||||
Sectors = 295264,
|
||||
SectorSize = 2048,
|
||||
Clusters = 295264,
|
||||
ClusterSize = 2048,
|
||||
SystemId = "*ExpressUDF",
|
||||
Type = "UDF v2.01",
|
||||
VolumeName = "UDF5A5DFF10",
|
||||
VolumeSerial = "Volume Set ID not specified"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,61 +43,60 @@ namespace Aaru.Tests.Filesystems.UDF._201
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.UDF();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"linux.aif", "macosx_10.11.aif", "netbsd_7.1.aif", "linux_4.19_udf_2.01_flashdrive.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000, 819200, 8388608, 1024000
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1024000, 819200, 8388608, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"*Linux UDFFS", "*Apple Mac OS X UDF FS", "*NetBSD userland UDF", "*Linux UDFFS"
|
||||
};
|
||||
|
||||
public override string[] _type => new[]
|
||||
|
||||
{
|
||||
"UDF v2.01", "UDF v2.01", "UDF v2.01", "UDF v2.01"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label", "anonymous", "DicSetter"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"595c5d0bee60c3bbLinuxUDF", "48847EB3 (Mac OS X newfs_udf) UDF Volume Set", "7cc94d726669d773",
|
||||
"5cc8816fcb3a3b38LinuxUDF"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 1024000,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Linux UDFFS",
|
||||
Type = "UDF v2.01",
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "595c5d0bee60c3bbLinuxUDF"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 819200,
|
||||
SectorSize = 512,
|
||||
Clusters = 819200,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Apple Mac OS X UDF FS",
|
||||
Type = "UDF v2.01",
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "48847EB3 (Mac OS X newfs_udf) UDF Volume Set"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "netbsd_7.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8388608,
|
||||
SectorSize = 512,
|
||||
Clusters = 8388608,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*NetBSD userland UDF",
|
||||
Type = "UDF v2.01",
|
||||
VolumeName = "anonymous",
|
||||
VolumeSerial = "7cc94d726669d773"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux_4.19_udf_2.01_flashdrive.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 1024000,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Linux UDFFS",
|
||||
Type = "UDF v2.01",
|
||||
VolumeName = "DicSetter",
|
||||
VolumeSerial = "5cc8816fcb3a3b38LinuxUDF"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,60 +43,34 @@ namespace Aaru.Tests.Filesystems.UDF._250
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.UDF();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"linux.aif", "macosx_10.11.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1024000, 1024000
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"*Linux UDFFS", "*Apple Mac OS X UDF FS"
|
||||
};
|
||||
|
||||
public override string[] _type => new[]
|
||||
|
||||
{
|
||||
"UDF v2.50", "UDF v2.50"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"595c5d0e4f338552LinuxUDF", "709E84A1 (Mac OS X newfs_udf) UDF Volume Set"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 1024000,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Linux UDFFS",
|
||||
Type = "UDF v2.50",
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "595c5d0e4f338552LinuxUDF"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 1024000,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Apple Mac OS X UDF FS",
|
||||
Type = "UDF v2.50",
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "709E84A1 (Mac OS X newfs_udf) UDF Volume Set"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -43,60 +43,21 @@ namespace Aaru.Tests.Filesystems.UDF._260
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.UDF();
|
||||
public override bool _partitions => false;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"macosx_10.11.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1228800
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
1228800
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _oemId => new[]
|
||||
{
|
||||
"*Apple Mac OS X UDF FS"
|
||||
};
|
||||
|
||||
public override string[] _type => new[]
|
||||
|
||||
{
|
||||
"UDF v2.60"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"78CE3237 (Mac OS X newfs_udf) UDF Volume Set"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "macosx_10.11.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1228800,
|
||||
SectorSize = 512,
|
||||
Clusters = 1228800,
|
||||
ClusterSize = 512,
|
||||
SystemId = "*Apple Mac OS X UDF FS",
|
||||
Type = "UDF v2.60",
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "78CE3237 (Mac OS X newfs_udf) UDF Volume Set"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,59 +44,118 @@ namespace Aaru.Tests.Filesystems.UFS
|
||||
public override IFilesystem _plugin => new FFSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"ffs43/darwin_1.3.1.aif", "ffs43/darwin_1.4.1.aif", "ffs43/darwin_6.0.2.aif", "ffs43/darwin_8.0.1.aif",
|
||||
"ufs1/darwin_1.3.1.aif", "ufs1/darwin_1.4.1.aif", "ufs1/darwin_6.0.2.aif", "ufs1/darwin_8.0.1.aif",
|
||||
"ufs1/macosx_10.2.aif", "ufs1/macosx_10.3.aif", "ufs1/macosx_10.4.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000, 1024000, 1024000, 1024000, 204800, 204800, 204800, 204800, 2097152, 2097152, 2097152
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
511488, 511488, 511488, 511488, 102368, 102368, 102368, 102368, 1047660, 1038952, 1038952
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null, null, null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ffs43/darwin_1.3.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 511488,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ffs43/darwin_1.4.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 511488,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ffs43/darwin_6.0.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 511488,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ffs43/darwin_8.0.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 511488,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/darwin_1.3.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 204800,
|
||||
SectorSize = 512,
|
||||
Clusters = 102368,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/darwin_1.4.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 204800,
|
||||
SectorSize = 512,
|
||||
Clusters = 102368,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/darwin_6.0.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 204800,
|
||||
SectorSize = 512,
|
||||
Clusters = 102368,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/darwin_8.0.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 204800,
|
||||
SectorSize = 512,
|
||||
Clusters = 102368,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/macosx_10.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 1047660,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/macosx_10.3.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 1038952,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/macosx_10.4.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 1038952,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,79 +44,303 @@ namespace Aaru.Tests.Filesystems.UFS
|
||||
public override IFilesystem _plugin => new FFSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"ufs1/linux.aif", "ufs2/linux.aif", "ffs43/darwin_1.3.1.aif", "ffs43/darwin_1.4.1.aif",
|
||||
"ffs43/darwin_6.0.2.aif", "ffs43/darwin_8.0.1.aif", "ffs43/dflybsd_1.2.0.aif", "ffs43/dflybsd_3.6.1.aif",
|
||||
"ffs43/dflybsd_4.0.5.aif", "ffs43/netbsd_1.6.aif", "ffs43/netbsd_7.1.aif", "ufs1/darwin_1.3.1.aif",
|
||||
"ufs1/darwin_1.4.1.aif", "ufs1/darwin_6.0.2.aif", "ufs1/darwin_8.0.1.aif", "ufs1/dflybsd_1.2.0.aif",
|
||||
"ufs1/dflybsd_3.6.1.aif", "ufs1/dflybsd_4.0.5.aif", "ufs1/freebsd_6.1.aif", "ufs1/freebsd_7.0.aif",
|
||||
"ufs1/freebsd_8.2.aif", "ufs1/netbsd_1.6.aif", "ufs1/netbsd_7.1.aif", "ufs1/solaris_7.aif",
|
||||
"ufs1/solaris_9.aif", "ufs2/freebsd_6.1.aif", "ufs2/freebsd_7.0.aif", "ufs2/freebsd_8.2.aif",
|
||||
"ufs2/netbsd_7.1.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
262144, 262144, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 409600, 204800,
|
||||
204800, 204800, 204800, 2097152, 2097152, 2097152, 2097152, 8388608, 8388608, 2097152, 1024000, 2097152,
|
||||
2097152, 16777216, 16777216, 16777216, 2097152
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false, false, false, false, false, false, false, false, false,
|
||||
false, false, false, false, false, false, false, false, false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
65024, 65024, 511024, 511024, 511024, 511488, 511950, 255470, 255470, 511992, 204768, 102280, 102280,
|
||||
102280, 102368, 1048500, 523758, 523758, 262138, 1048231, 2096462, 524284, 511968, 1038240, 1046808,
|
||||
2096472, 2096472, 4192945, 524272
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
2048, 2048, 1024, 1024, 1024, 1024, 1024, 2048, 2048, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 2048, 2048,
|
||||
4096, 4096, 2048, 2048, 1024, 1024, 1024, 4096, 4096, 2048, 2048
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"UFS", "UFS2", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS",
|
||||
"UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS2", "UFS2", "UFS2", "UFS2"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
null, "VolumeLabel", null, null, null, null, null, null, null, null, null, null, null, null, null, null,
|
||||
null, null, null, null, null, null, null, null, null, "VolumeLabel", "VolumeLabel", "VolumeLabel", ""
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
|
||||
null, null, null, null, null, null, null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 65024,
|
||||
ClusterSize = 2048,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs2/linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 65024,
|
||||
ClusterSize = 2048,
|
||||
Type = "UFS2",
|
||||
VolumeName = "VolumeLabel"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ffs43/darwin_1.3.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 511024,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ffs43/darwin_1.4.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 511024,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ffs43/darwin_6.0.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 511024,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ffs43/darwin_8.0.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 511488,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ffs43/dflybsd_1.2.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 511950,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ffs43/dflybsd_3.6.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 255470,
|
||||
ClusterSize = 2048,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ffs43/dflybsd_4.0.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 255470,
|
||||
ClusterSize = 2048,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ffs43/netbsd_1.6.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 511992,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ffs43/netbsd_7.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 204768,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/darwin_1.3.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 204800,
|
||||
SectorSize = 512,
|
||||
Clusters = 102280,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/darwin_1.4.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 204800,
|
||||
SectorSize = 512,
|
||||
Clusters = 102280,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/darwin_6.0.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 204800,
|
||||
SectorSize = 512,
|
||||
Clusters = 102280,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/darwin_8.0.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 204800,
|
||||
SectorSize = 512,
|
||||
Clusters = 102368,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/dflybsd_1.2.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 1048500,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/dflybsd_3.6.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 523758,
|
||||
ClusterSize = 2048,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/dflybsd_4.0.5.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 523758,
|
||||
ClusterSize = 2048,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/freebsd_6.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 262138,
|
||||
ClusterSize = 4096,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/freebsd_7.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8388608,
|
||||
SectorSize = 512,
|
||||
Clusters = 1048231,
|
||||
ClusterSize = 4096,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/freebsd_8.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 8388608,
|
||||
SectorSize = 512,
|
||||
Clusters = 2096462,
|
||||
ClusterSize = 2048,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/netbsd_1.6.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 524284,
|
||||
ClusterSize = 2048,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/netbsd_7.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 511968,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/solaris_7.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 1038240,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs1/solaris_9.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 1046808,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs2/freebsd_6.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16777216,
|
||||
SectorSize = 512,
|
||||
Clusters = 2096472,
|
||||
ClusterSize = 4096,
|
||||
Type = "UFS2",
|
||||
VolumeName = "VolumeLabel"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs2/freebsd_7.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16777216,
|
||||
SectorSize = 512,
|
||||
Clusters = 2096472,
|
||||
ClusterSize = 4096,
|
||||
Type = "UFS2",
|
||||
VolumeName = "VolumeLabel"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs2/freebsd_8.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 16777216,
|
||||
SectorSize = 512,
|
||||
Clusters = 4192945,
|
||||
ClusterSize = 2048,
|
||||
Type = "UFS2",
|
||||
VolumeName = "VolumeLabel"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "ufs2/netbsd_7.1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Clusters = 524272,
|
||||
ClusterSize = 2048,
|
||||
Type = "UFS2",
|
||||
VolumeName = ""
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,60 +44,108 @@ namespace Aaru.Tests.Filesystems.UFS
|
||||
public override IFilesystem _plugin => new FFSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"nextstep_3.3_mf2dd.img.lz", "nextstep_3.3_mf2hd.img.lz", "openstep_4.0_mf2dd.img.lz",
|
||||
"openstep_4.0_mf2hd.img.lz", "openstep_4.2_mf2dd.img.lz", "openstep_4.2_mf2hd.img.lz",
|
||||
"rhapsody_dr1_mf2dd.img.lz", "rhapsody_dr1_mf2hd.img.lz", "rhapsody_dr2_mf2dd.img.lz",
|
||||
"rhapsody_dr2_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD,
|
||||
MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD,
|
||||
MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1440, 2880, 1440, 2880, 1440, 2880, 1440, 2880, 1440, 2880
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false, false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
624, 1344, 624, 1344, 624, 1344, 624, 1344, 624, 1344
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null, null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "nextstep_3.3_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 624,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "nextstep_3.3_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1344,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "openstep_4.0_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 624,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "openstep_4.0_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1344,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "openstep_4.2_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 624,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "openstep_4.2_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1344,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "rhapsody_dr1_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 624,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "rhapsody_dr1_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1344,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "rhapsody_dr2_mf2dd.img.lz",
|
||||
MediaType = MediaType.DOS_35_DS_DD_9,
|
||||
Sectors = 1440,
|
||||
SectorSize = 512,
|
||||
Clusters = 624,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "rhapsody_dr2_mf2hd.img.lz",
|
||||
MediaType = MediaType.DOS_35_HD,
|
||||
Sectors = 2880,
|
||||
SectorSize = 512,
|
||||
Clusters = 1344,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,56 +44,58 @@ namespace Aaru.Tests.Filesystems.UFS
|
||||
public override IFilesystem _plugin => new FFSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"nextstep_3.3.aif", "openstep_4.0.aif", "openstep_4.2.aif", "rhapsody_dr1.aif", "rhapsody_dr2.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
409600, 409600, 409600, 409600, 409600
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false, false, false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
204640, 204640, 204640, 204640, 204464
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024, 1024, 1024, 1024, 1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"UFS", "UFS", "UFS", "UFS", "UFS"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null, null, null, null, null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "nextstep_3.3.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 204640,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "openstep_4.0.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 204640,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "openstep_4.2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 204640,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "rhapsody_dr1.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 204640,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "rhapsody_dr2.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 204464,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,55 +44,18 @@ namespace Aaru.Tests.Filesystems.UFS
|
||||
public override IFilesystem _plugin => new FFSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"amix.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024128
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
511424
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"UFS"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "amix.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024128,
|
||||
SectorSize = 512,
|
||||
Clusters = 511424,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -44,55 +44,18 @@ namespace Aaru.Tests.Filesystems.UFS
|
||||
public override IFilesystem _plugin => new FFSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"solaris_7.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
4194304
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
2063376
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
|
||||
public override string[] _type => new[]
|
||||
{
|
||||
"UFS"
|
||||
};
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "solaris_7.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 4194304,
|
||||
SectorSize = 512,
|
||||
Clusters = 2063376,
|
||||
ClusterSize = 1024,
|
||||
Type = "UFS"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user