debian-forge-composer/internal/disk
Achilleas Koutsou c347373c90 disk: basic partition table creation tests
Add a few test partition tables with well known configurations, like
LVM, LVM on top of LVM and Btrfs in addition to the plain layout that
is currently used in most partition tables. Add very basic checks,
such as that `NewPartitionTable` works and we have approximately the
correct size.

Co-Authored-By: Christian Kellner <christian@kellner.me>
2022-02-22 19:23:41 +00:00
..
btrfs.go disk: guard against nil pointer dereferencing 2022-02-22 19:23:41 +00:00
disk.go disk: guard against nil pointer dereferencing 2022-02-22 19:23:41 +00:00
disk_test.go disk: basic partition table creation tests 2022-02-22 19:23:41 +00:00
filesystem.go disk: guard against nil pointer dereferencing 2022-02-22 19:23:41 +00:00
luks.go disk: guard against nil pointer dereferencing 2022-02-22 19:23:41 +00:00
lvm.go disk: guard against nil pointer dereferencing 2022-02-22 19:23:41 +00:00
partition.go disk: Partition.Payload is now an Entity 2022-02-22 19:23:41 +00:00
partition_table.go disk: remove unused functions 2022-02-22 19:23:41 +00:00