Merge pull request #122376 from wamserma/fix-croc-test-2
commit34673e7f2447cc13ee903d3d702d1595a277a8a7
authorSandro <sandro.jaeckel@gmail.com>
dateThu 17 Jun 2021, 00:05 (5 years ago)
parentf4ca988286bca1
pkgs/tools/networking/croc/test-local-relay.nix+1−2
@@ -12,8 +12,7 @@ stdenv.mkDerivation {
1212 ${croc}/bin/croc --relay localhost:11111 send --code correct-horse-battery-staple --text "$MSG" &
1313 # wait for things to settle
1414 sleep 1
15− # receive, as of croc 9 --overwrite is required for noninteractive use
16− MSG2=$(${croc}/bin/croc --overwrite --relay localhost:11111 --yes correct-horse-battery-staple)
15+ MSG2=$(${croc}/bin/croc --relay localhost:11111 --yes correct-horse-battery-staple)
1716 # compare
1817 [ "$MSG" = "$MSG2" ] && touch $out
1918 '';