From 9f494e1024cd19427848b49c359a70db091a2898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 13 Feb 2024 12:30:29 +0100 Subject: [PATCH] drop check for /var/lib/nixos --- pkgs/clan-cli/tests/test_vms_cli.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkgs/clan-cli/tests/test_vms_cli.py b/pkgs/clan-cli/tests/test_vms_cli.py index 4345ca89d..4805ee63a 100644 --- a/pkgs/clan-cli/tests/test_vms_cli.py +++ b/pkgs/clan-cli/tests/test_vms_cli.py @@ -266,13 +266,6 @@ def test_vm_persistence( # connect second time qga = qga_connect(state_dir) - # ensure that either /var/lib/nixos or /etc gets persisted - # (depending on if system.etc.overlay.enable is set or not) - exitcode, out, err = qga.run( - "ls /vmstate/var/lib/nixos/gid-map || ls /vmstate/.rw-etc/upper" - ) - assert exitcode == 0, err - # ensure that the file created by the service is still there and has the expected content exitcode, out, err = qga.run("cat /var/my-state/test") assert exitcode == 0, err