diff --git a/tests/btrfs-subvolumes.nix b/tests/btrfs-subvolumes.nix index 2f6673e..fcbe2ca 100644 --- a/tests/btrfs-subvolumes.nix +++ b/tests/btrfs-subvolumes.nix @@ -6,7 +6,8 @@ makeDiskoTest { name = "btrfs-subvolumes"; disko-config = ../example/btrfs-subvolumes.nix; extraTestScript = '' - machine.succeed("test -e /test"); + machine.succeed("test ! -e /test"); + machine.succeed("test -e /home/user"); machine.succeed("btrfs subvolume list / | grep -qs 'path test$'"); machine.succeed("btrfs subvolume list / | grep -qs 'path nix$'"); machine.succeed("btrfs subvolume list / | grep -qs 'path home$'");