mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
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
@ -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 New Issue
Block a user