Commit graph

18 commits

Author SHA1 Message Date
lassulus
41d3be72d7 tests *: don't test for zfs in /dev 2023-12-14 16:02:39 +00:00
Andrew Marshall
2d7d77878c Implement preMountHook & postMountHook
These options previously existed but had no effect. Now they are
implemented. They only affect mount during disko’s filesystem creation,
not during any later mounts.

Adding test case to existing “complex” example and test mostly because
couldn’t think of any better place to put it.
2023-11-12 09:36:50 +00:00
Jörg Thalheim
ecfb74e5cf remove another instance of hostId 2023-09-02 17:55:49 +00:00
Jörg Thalheim
a4bf32f6f0
Merge pull request #341 from nix-community/zfs-hostid
do not set networking.hostId in vm tests by default
2023-09-02 18:41:18 +02:00
Jörg Thalheim
76d301bc94 tests/complex: also mark zfs_fs dataset as non-fail
Reason is probably same as zfs_legacy_fs
2023-09-02 18:37:01 +02:00
Jörg Thalheim
de50df482e do not set networking.hostId in vm tests by default
This will conflict with the user defaults otherwise
2023-09-02 14:16:18 +02:00
lassulus
04e227bab7 tests: pass diskoLib instead of makeDiskoTest 2023-07-28 12:43:42 +00:00
lassulus
715c211dd7 testLib.makeDiskoTest: split extraConfig into nixos-config, extraSystemConfig & extraInstallerConfig 2023-07-19 19:07:40 +00:00
lassulus
056637d3c9 move tests/lib.nix into diskoLib.testLib 2023-07-19 19:07:40 +00:00
lassulus
b22ebd5ecd tests: get rid of OCR, generate keyFile in preDevice 2023-07-11 09:12:45 +02:00
lassulus
7207e54351 tests: read serial instead of OCR for crypto tests 2023-04-06 08:56:55 +02:00
bors[bot]
07f9727ce6
Merge #154
154: tests: adjust wait_for_text calls to work for systemd-initrd or old stage-1 r=Mic92 a=lilyinstarlight



Co-authored-by: Lily Foster <lily@lily.flowers>
2023-02-21 19:24:05 +00:00
Lily Foster
00a2e2c438
tests: adjust wait_for_text calls to work for systemd-initrd or old stage-1 2023-02-21 11:33:21 -05:00
Lily Foster
1dd1ca3b51
tests: add test names 2023-02-21 11:19:39 -05:00
lassulus
a3e511d3c8 tests: change passphrase to secretsecret
this is needed for zfs
2022-12-26 21:13:34 +01:00
lassulus
fec0b14fb5 add tests for module and cli 2022-11-01 20:05:10 +01:00
lassulus
9f7f23abdb add nixos tests for disko.config, extend/fix existing tests 2022-10-02 16:41:02 +02:00
lassulus
dcb0c42857 reimplement disko using the nixos type system
This should make the code cleaner, more robust and errors should be
clearer. we also changed the configuration format a bit.
2022-09-02 11:14:58 +02:00