nixosTests.hardened: fix for recent Nix
As far as I know, there's no stable equivalent of nix ping-store.
This commit is contained in:
parent
d440cc931e
commit
a14da86f2c
1 changed files with 2 additions and 2 deletions
|
@ -90,8 +90,8 @@ import ./make-test-python.nix ({ pkgs, ... } : {
|
|||
|
||||
# Test Nix dæmon usage
|
||||
with subtest("nix-daemon cannot be used by all users"):
|
||||
machine.fail("su -l nobody -s /bin/sh -c 'nix ping-store'")
|
||||
machine.succeed("su -l alice -c 'nix ping-store'")
|
||||
machine.fail("su -l nobody -s /bin/sh -c 'nix --extra-experimental-features nix-command ping-store'")
|
||||
machine.succeed("su -l alice -c 'nix --extra-experimental-features nix-command ping-store'")
|
||||
|
||||
|
||||
# Test kernel image protection
|
||||
|
|
Loading…
Reference in a new issue