mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
fix nixos-test
We no longer require membership in keys group.
This commit is contained in:
parent
73e19bf11b
commit
34a650555e
1 changed files with 1 additions and 3 deletions
|
@ -65,9 +65,7 @@
|
|||
value = server.succeed("cat /run/secrets/test_key")
|
||||
assertEqual("test_value", value)
|
||||
|
||||
server.succeed("runuser -u someuser -G keys -- cat /run/secrets/test_key >&2")
|
||||
# should have no permission to read the file
|
||||
server.fail("runuser -u someuser -- cat /run/secrets/test_key >&2")
|
||||
server.succeed("runuser -u someuser -- cat /run/secrets/test_key >&2")
|
||||
|
||||
target = server.succeed("readlink -f /run/existing-file")
|
||||
assertEqual("/run/secrets.d/1/existing-file", target.strip())
|
||||
|
|
Loading…
Reference in a new issue