From 730353966bc13afe0369ef18c2d3c286548913fa Mon Sep 17 00:00:00 2001 From: rogarb Date: Mon, 24 Jul 2023 19:35:24 +0200 Subject: [PATCH] tests(btrfs): update to fit new behaviour --- tests/btrfs-subvolumes.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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$'");