Commit Graph
58 Commits
Author SHA1 Message Date
Kenneth Skovhede c0f40e19ca Updated copyright year to 2026 across the project 2026-04-16 15:21:24 +02:00
Carl Johnsen 2b5db218ad Post restructure namespace fixes 2026-03-16 11:10:20 +01:00
Carl Johnsen 0d5081ae33 The other filesystem tests should also be using FAT32 for source, and should also ignore the option warning. 2026-03-13 16:53:30 +00:00
Carl Johnsen e6fbc8150c Added option to disable filesystem-aware functionality 2026-03-13 17:37:51 +01:00
Carl Johnsen 0bc185062a Incorrectly threw error on Unknown file systems on macOS 2026-03-13 13:36:33 +01:00
Carl Johnsen 522755f3ee Made the file system tests generic so they can test multiple file systems 2026-03-13 13:25:35 +01:00
Carl Johnsen 5fa136bccf Added inecremental FAT32 integration test 2026-03-13 09:21:48 +01:00
Carl Johnsen 64c1e26795 Added FAT32 aware integration tests 2026-03-13 08:49:25 +01:00
Carl Johnsen a62d23fab4 Reintroduced old code for cleaning up disks 2026-03-12 06:17:46 +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 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 b17fd033a1 Made the DiskImage integration tests follow the right namespace naming scheme 2026-03-11 07:28:22 +00:00
Carl Johnsen f64ee59111 Merge branch 'master' into feature/full-disk-linux 2026-03-10 08:28:41 +00: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 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 1731b3daff Btrfs needs at least 109 MB partition size 2026-03-02 09:37:59 +00:00
Carl Johnsen 515fff491e Added more Linux-specific disk image tests 2026-03-01 11:56:11 +01:00
Carl Johnsen a2931a333e Added Linux specific tests to DiskImageTests 2026-03-01 11:43:09 +01:00
Carl Johnsen 9d77275318 Made the geometry verification also check the partitions 2026-02-27 14:59:35 +01:00
Carl Johnsen 03cc0b9623 Windows needs the volumes mounted to refresh the cached disk geometry 2026-02-27 09:27:40 +01:00
Carl Johnsen 83cd646f0f Unmounting before restore should be done by the caller 2026-02-27 09:27:05 +01:00
Carl Johnsen 9a2e7198f1 Reduced the size of the single partition tests 2026-02-27 09:26:15 +01:00
Carl Johnsen 0593848607 Made tests follow the naming scheme of the others 2026-02-27 07:08:28 +01:00
Carl Johnsen 3dd0c7583d Added reattach of virtual disk in readonly mode.
This makes MacOS not modify the partitions during mounting.
2026-02-27 07:06:41 +01:00
Carl Johnsen 0d06473df9 Partition table can be verified before mounting 2026-02-27 07:05:30 +01:00
Carl Johnsen 9fdcccf3ed Expanded LINQ, added asserts on the counts, and fixed a typo 2026-02-27 06:37:52 +01:00
Carl Johnsen 27dd523482 Unmounting disk for restore is handled by the caller 2026-02-27 06:33:14 +01:00
Carl Johnsen d51b2aeac6 Auto unmount test should also generate data 2026-02-27 06:32:40 +01:00
Carl Johnsen 653acb71a0 Added missing test 2026-02-27 06:28:54 +01:00
Carl Johnsen de8a79bcb8 Removed incorrect relative path "fix" in CompareDirectories 2026-02-26 10:12:50 +01:00
Carl Johnsen b78abbd208 Restore disk has to be not auto mounted to ensure that name and/or guid clashes won't be a problem 2026-02-25 15:49:33 +01:00
Carl Johnsen b3e8ba9a63 Restore disk for auto mount should have an incorrect partition table to ensure restore went well 2026-02-25 15:49:04 +01:00
Carl Johnsen 6e1d27e3b1 Added readonly flag to ensure that OS doesn't try and "fix" a disk / partition 2026-02-25 15:48:26 +01:00
Carl Johnsen 1dab06c951 Add unmount of source to ensure that things are flushed 2026-02-25 15:45:07 +01:00
Carl Johnsen a603583029 Volumes are now optionally mounted to a specified folder 2026-02-25 13:27:56 +01:00
Carl Johnsen 985a94bc35 GeometryMetadata didn't use the MiB constant 2026-02-24 18:58:19 +01:00
Carl Johnsen d29ec02679 Windows needs disk to be initialized before writing, and it has to be online before being able to read the partitions 2026-02-24 18:49:51 +01:00
Carl Johnsen b19b21c673 Added a lot of Mac-specific test cases. 2026-02-24 14:01:28 +01:00
Carl Johnsen f53a936dd2 Reduce the amount of constants in the disk image test 2026-02-24 13:53:01 +01:00
Carl Johnsen 6e17a6dc7a Disks should be flushed prior to backup to ensure it's visible through the raw interface 2026-02-24 13:44:47 +01:00
Carl Johnsen 1bcbdc3eaf On Mac, the disk needs to be mounted to throw errors when opening for write 2026-02-24 09:48:47 +01:00
Carl Johnsen 85f0e8f02b Geometry file test wasn't really testing anything 2026-02-23 22:52:41 +01:00
Carl Johnsen 94d6bef911 Disk images should be stored in the unit tests data folder 2026-02-23 17:07:34 +01:00
Carl Johnsen 70614f6612 Disk image tests should also have mac support.
For non-Windows tests, vhdx shouldn't be used.
2026-02-23 16:54:56 +01:00
Carl Johnsen 9a4a325e75 Adapted the disk image tests to the simpler disk helper format.
This also removes a lot of helper methods, which the disk helper now handles.
2026-02-23 14:09:35 +01:00