Commit Graph
115 Commits
Author SHA1 Message Date
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
Carl Johnsen 14b7d37298 WaitForMountPoints should just retry, not sleep itself 2026-03-01 10:21:22 +01:00
Carl Johnsen db05e25602 Errors shouldn't be silent 2026-03-01 10:18:59 +01:00
Carl Johnsen 9d77275318 Made the geometry verification also check the partitions 2026-02-27 14:59:35 +01:00
Carl Johnsen 783a64cc99 Windows disks should be pulled online before reattaching 2026-02-27 11:22:58 +01:00
Carl Johnsen a1739c1bbb Removed unused Windows helper method 2026-02-27 09:29:02 +01:00
Carl Johnsen 99833fa858 Simplified Windows GetDiskNumber 2026-02-27 09:28:49 +01:00
Carl Johnsen 1f296b2eb0 Fixed Windows reattach scripts 2026-02-27 09:28:31 +01:00