1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 20:16:03 +01:00

Merge pull request #13774 from xokdvium/fix-authorization

tests/nixos: Fix daemon store reference in authorization test
This commit is contained in:
Jörg Thalheim 2025-08-17 14:48:15 +02:00 committed by GitHub
commit 72c8aa8bb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,7 +84,7 @@
su --login mallory -c ' su --login mallory -c '
nix-store --generate-binary-cache-key cache1.example.org sk1 pk1 nix-store --generate-binary-cache-key cache1.example.org sk1 pk1
(! nix store sign --key-file sk1 ${pathFour} 2>&1)' | tee diag 1>&2 (! nix store sign --key-file sk1 ${pathFour} 2>&1)' | tee diag 1>&2
grep -F "cannot open connection to remote store 'daemon'" diag grep -F "cannot open connection to remote store 'unix://'" diag
""") """)
machine.succeed(""" machine.succeed("""