aboutsummaryrefslogtreecommitdiff
path: root/tests/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nixos')
-rw-r--r--tests/nixos/authorization.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/nixos/authorization.nix b/tests/nixos/authorization.nix
index 4b13ec65e..7e8744dd9 100644
--- a/tests/nixos/authorization.nix
+++ b/tests/nixos/authorization.nix
@@ -51,8 +51,8 @@
set -x
cd ~
echo 5mgtDj0ohrWkT50TLR0f4tIIxY > four;
- (! diff $(nix store add-file four) four 2>&1) | grep -F "cannot open connection to remote store"
- (! diff $(nix store add-file four) four 2>&1) | grep -F "Connection reset by peer"
+ (! nix store add-file four 2>&1) | grep -F "cannot open connection to remote store"
+ (! nix store add-file four 2>&1) | grep -F "Connection reset by peer"
! [[ -e ${pathFour} ]]
' 1>&2
""")