Commit Graph
122 Commits
Author SHA1 Message Date
Carl Johnsen 31121d3730 Added Windows overhead for the disk sizes, as init takes 16 MB 2026-03-12 09:29:05 +00:00
Carl Johnsen 9b1af5197d Incorrect key used for getting partition address on Mac 2026-03-12 09:04:28 +01:00
Carl Johnsen a62d23fab4 Reintroduced old code for cleaning up disks 2026-03-12 06:17:46 +01:00
Carl Johnsen 415349c9c0 Removed unused helper methods 2026-03-11 15:47:41 +01:00
Carl Johnsen e25cd65314 Call disk helpers cleanup methods instead 2026-03-11 15:47:31 +01:00
Carl Johnsen e5e546ee27 Handled bogus data cropping up when running multiple tests 2026-03-11 15:28:59 +01:00
Carl Johnsen b4beb6209e Updated the disk image tests to not test every combination of file system and partition table type on the CI. 2026-03-11 14:26:58 +00:00
Carl Johnsen ba702b4d5f Fixed Windows file locking failing tests 2026-03-11 14:52:53 +01:00
Carl Johnsen 2a2381d298 Added tests to increase code coverage of the DiskImage feature 2026-03-11 13:37:58 +00:00
Carl Johnsen ef636e4bdb Fixed test error with undeterministic gap bytes 2026-03-11 13:37:30 +00:00
Carl Johnsen 8c29c958bd Added some final edge case tests to the disk image unit tests 2026-03-11 12:41:34 +00:00
Carl Johnsen fe673ea1c0 Added disk image restore provider tests 2026-03-11 12:31:27 +00:00
Carl Johnsen 027c849b63 Added PooledBuffer tests 2026-03-11 12:18:35 +00:00
Carl Johnsen 8e0593c0ad Added Unknown file system stream tests 2026-03-11 12:02:45 +00:00
Carl Johnsen e01a55c252 Added UnknownFilesystem tests 2026-03-11 11:48:24 +00:00
Carl Johnsen ac02a3a475 Added GeometryMetadata serialization tests 2026-03-11 11:39:01 +00:00
Carl Johnsen 35946d4888 Added partition table synthesizer tests 2026-03-11 11:29:55 +00:00
Carl Johnsen 1eadfa5b00 Added PartitionWriteStream tests 2026-03-11 11:21:04 +00:00
Carl Johnsen 06fc4614c4 Trying to reduce the amount of times that disks are created / deleted to speed up tests. 2026-03-11 10:58:55 +00:00
Carl Johnsen c2515e1ddd Added partition table parsing tests 2026-03-11 09:37:05 +00:00
Carl Johnsen 93f483d2d5 Added PartitionTableFactory tests 2026-03-11 09:26:24 +00:00
Carl Johnsen 745d2084ac Added tests for unaligned write 2026-03-11 09:15:09 +00:00
Carl Johnsen 4d649d82a2 Added tests for unaligned reads 2026-03-11 08:53:41 +00:00
Carl Johnsen a53c93a076 Changed from nullable types as the Setup methods will initialize them prior to running a test 2026-03-11 08:17:45 +00:00
Carl Johnsen a40eba4ca4 Added sector aligned disk image unit tests 2026-03-11 08:17:02 +00:00
Carl Johnsen 9595a927d0 Added setup and teardown for disk image unit tests 2026-03-11 07:30:03 +00:00
Carl Johnsen b17fd033a1 Made the DiskImage integration tests follow the right namespace naming scheme 2026-03-11 07:28:22 +00:00
Carl Johnsen 5e4a447f7a Started working on disk image unit tests 2026-03-11 07:27:37 +00:00
Carl Johnsen f64ee59111 Merge branch 'master' into feature/full-disk-linux 2026-03-10 08:28:41 +00:00
Carl Johnsen 298f916e8d Shift to plist for all diskutil commands to alleviate localization and other human-readable-related parsing errors 2026-03-05 17:42:24 +01:00
Carl Johnsen ca1fb3ac9b Restructured the DiskImage project to lift the OS specific disk listings to the disk interface and to centralize the functionality for running external processes 2026-03-05 15:30:36 +01:00
Carl Johnsen 6a2fd6114e Faulty unmount should throw exception 2026-03-02 16:12:35 +00:00
Carl Johnsen e511d0972f Added retry count for Mac eject, as a busy disk will throw an error when eject is requested. 2026-03-02 16:45:00 +01:00
Carl Johnsen f907c719fe During high stress, unmounting can take some time on Linux 2026-03-02 15:17:24 +00:00
Carl Johnsen 61e2317e71 No need to extract the disk number unless it's needed 2026-03-02 15:17:02 +00:00
Carl Johnsen b9c221ba11 Disk helpers initialize implicitly mounts 2026-03-02 14:42:14 +00:00
Carl Johnsen ed5b3a40fe Unknown partition table type cannot be mounted as it has no partitions 2026-03-02 13:26:05 +00:00
Carl Johnsen bbf6fd01c9 XFS throws an error when trying to mount a clone with the same UUID 2026-03-02 13:22:37 +00:00
Carl Johnsen eb6b66d97c Some XFS and Btrfs partitions were of incorrect size 2026-03-02 10:32:42 +00:00
Carl Johnsen fc05f94673 Fixed partition size computation 2026-03-02 10:32:07 +00:00
Carl Johnsen 689571a840 Added more FAT32 tests 2026-03-02 09:51:56 +00:00
Carl Johnsen 8c52e31954 Next free sector was off by one 2026-03-02 09:51:33 +00:00
Carl Johnsen 1731b3daff Btrfs needs at least 109 MB partition size 2026-03-02 09:37:59 +00:00
Carl Johnsen 68411d6b7d GPT tables need space at the end of the disk for the secondary GPT header 2026-03-02 09:13:51 +00:00
Carl Johnsen 6d8e76e44a Added retry count for Mac eject, as a busy disk will throw an error when eject is requested. 2026-03-02 08:49:50 +01:00
Carl Johnsen 515fff491e Added more Linux-specific disk image tests 2026-03-01 11:56:11 +01:00
Carl Johnsen 3fae2d0b1b ZFS is multi disk and currently unsupported. 2026-03-01 11:55:45 +01:00
Carl Johnsen a2931a333e Added Linux specific tests to DiskImageTests 2026-03-01 11:43:09 +01:00
Carl Johnsen 1e30e55892 First implementation of the Linux disk image test helper 2026-03-01 11:37:25 +01:00
Carl Johnsen e42b58b0c5 Detaching a virtual disk on Windows can take minutes. 2026-03-01 10:21:52 +01:00