Skip to content

Commit 6000162

Browse files
Fix(test); Add idempotent unmounting to tests of example configuration
1 parent 85aa57f commit 6000162

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
@@ -356,6 +356,9 @@ let
356356
machine.succeed("${lib.getExe nodes.machine.system.build.format}")
357357
machine.succeed("${lib.getExe nodes.machine.system.build.mount}")
358358
machine.succeed("${lib.getExe nodes.machine.system.build.mount}") # verify that mount is idempotent
359+
machine.succeed("${lib.getExe nodes.machine.system.build.unmount}")
360+
machine.succeed("${lib.getExe nodes.machine.system.build.unmount}") # verify that unmount is idempotent
361+
machine.succeed("${lib.getExe nodes.machine.system.build.mount}") # verify that mount is idempotent
359362
machine.succeed("${lib.getExe nodes.machine.system.build.destroyFormatMount} --yes-wipe-all-disks") # verify that we can destroy and recreate again
360363
machine.succeed("mkdir -p /mnt/home")
361364
machine.succeed("touch /mnt/home/testfile")

0 commit comments

Comments
 (0)