Skip to content

Commit 20a8e8e

Browse files
Fix(test); Add idempotent unmounting to tests of example configuration
1 parent 4f4aa65 commit 20a8e8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/tests.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,9 @@ let
348348
machine.succeed("${lib.getExe nodes.machine.system.build.format}")
349349
machine.succeed("${lib.getExe nodes.machine.system.build.mount}")
350350
machine.succeed("${lib.getExe nodes.machine.system.build.mount}") # verify that mount is idempotent
351+
machine.succeed("${lib.getExe nodes.machine.system.build.unmount}")
352+
machine.succeed("${lib.getExe nodes.machine.system.build.unmount}") # verify that unmount is idempotent
353+
machine.succeed("${lib.getExe nodes.machine.system.build.mount}") # verify that mount is idempotent
351354
machine.succeed("${lib.getExe nodes.machine.system.build.destroyFormatMount} --yes-wipe-all-disks") # verify that we can destroy and recreate again
352355
machine.succeed("mkdir -p /mnt/home")
353356
machine.succeed("touch /mnt/home/testfile")

0 commit comments

Comments
 (0)