Merge pull request #121078 from wamserma/fix-croc-test
croc: fix passthru.tests
This commit is contained in:
commit
b9ed7b607c
@ -12,8 +12,8 @@ stdenv.mkDerivation {
|
|||||||
${croc}/bin/croc --relay localhost:11111 send --code correct-horse-battery-staple --text "$MSG" &
|
${croc}/bin/croc --relay localhost:11111 send --code correct-horse-battery-staple --text "$MSG" &
|
||||||
# wait for things to settle
|
# wait for things to settle
|
||||||
sleep 1
|
sleep 1
|
||||||
# receive
|
# receive, as of croc 9 --overwrite is required for noninteractive use
|
||||||
MSG2=$(${croc}/bin/croc --relay localhost:11111 --yes correct-horse-battery-staple)
|
MSG2=$(${croc}/bin/croc --overwrite --relay localhost:11111 --yes correct-horse-battery-staple)
|
||||||
# compare
|
# compare
|
||||||
[ "$MSG" = "$MSG2" ] && touch $out
|
[ "$MSG" = "$MSG2" ] && touch $out
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user