forked from lix-project/lix
tests/authorization: Simplify assertion
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
This commit is contained in:
parent
72b18f05a2
commit
7908a41631
|
@ -51,8 +51,8 @@
|
||||||
set -x
|
set -x
|
||||||
cd ~
|
cd ~
|
||||||
echo 5mgtDj0ohrWkT50TLR0f4tIIxY > four;
|
echo 5mgtDj0ohrWkT50TLR0f4tIIxY > four;
|
||||||
(! diff $(nix store add-file four) four 2>&1) | grep -F "cannot open connection to remote store"
|
(! nix store add-file 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 "Connection reset by peer"
|
||||||
! [[ -e ${pathFour} ]]
|
! [[ -e ${pathFour} ]]
|
||||||
' 1>&2
|
' 1>&2
|
||||||
""")
|
""")
|
||||||
|
|
Loading…
Reference in a new issue