diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-04-30 03:34:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-30 03:34:03 +0200 |
commit | b9ed7b607cd450a37086af9ae4c3bf877c0c82ef (patch) | |
tree | 00192ae87b431fc22236e1cbdeed0bc41e6d268d /pkgs/tools | |
parent | a37f7215b2e3ed568bc968f4a13aedca2a59969b (diff) | |
parent | 77c0a4907f1991ea70d2da07bbdccd95c83278bb (diff) |
Merge pull request #121078 from wamserma/fix-croc-test
croc: fix passthru.tests
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/croc/test-local-relay.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/networking/croc/test-local-relay.nix b/pkgs/tools/networking/croc/test-local-relay.nix index bde05d6deb0aa..4ddad86bd009f 100644 --- a/pkgs/tools/networking/croc/test-local-relay.nix +++ b/pkgs/tools/networking/croc/test-local-relay.nix @@ -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 ''; |