nixos/switchTest: Make less flakey
commitc2bdad7ab60d61162d65eea94d06b537104e21a3
authorJanne Heß <janne@hess.ooo>
dateSun 24 Oct 2021, 21:23 (5 years ago)
parent1640359
nixos/tests/switch-test.nix+2−1
@@ -392,7 +392,8 @@ import ./make-test-python.nix ({ pkgs, ...} : {
392392 machine.succeed("touch /testpath")
393393 machine.wait_until_succeeds("test -f /testpath-modified")
394394
395− machine.succeed("rm /testpath /testpath-modified")
395+ machine.succeed("rm /testpath")
396+ machine.succeed("rm /testpath-modified")
396397 switch_to_specialisation("with-path-modified")
397398
398399 machine.succeed("touch /testpath")