Skip to content

Commit

Permalink
croc: fix passthru.tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wamserma committed Apr 28, 2021
1 parent f3820d5 commit 77c0a49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/tools/networking/croc/test-local-relay.nix
Expand Up @@ -12,8 +12,8 @@ stdenv.mkDerivation {
${croc}/bin/croc --relay localhost:11111 send --code correct-horse-battery-staple --text "$MSG" &
# wait for things to settle
sleep 1
# receive
MSG2=$(${croc}/bin/croc --relay localhost:11111 --yes correct-horse-battery-staple)
# receive, as of croc 9 --overwrite is required for noninteractive use
MSG2=$(${croc}/bin/croc --overwrite --relay localhost:11111 --yes correct-horse-battery-staple)
# compare
[ "$MSG" = "$MSG2" ] && touch $out
'';
Expand Down

0 comments on commit 77c0a49

Please sign in to comment.