make test go thru

This commit is contained in:
Kiara Grouwstra 2025-05-28 22:55:43 +02:00
parent 7bea82788d
commit 08059336ca
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -33,7 +33,7 @@ in (nixpkgs.lib.nixos.runTest {
testScript = ''
start_all()
print(machine.execute("uname -a"))
machine.wait_for_unit("testservice.service")
print(machine.succeed("cat /root/test | grep -q secret"))
machine.wait_for_unit("multi-user.target")
print(machine.succeed("cat /test | grep -q secret"))
'';
})