summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorMarkus S. Wamser <github-dev@mail2013.wamser.eu>2021-04-28 22:36:17 +0200
committerMarkus S. Wamser <github-dev@mail2013.wamser.eu>2021-04-28 22:36:36 +0200
commit77c0a4907f1991ea70d2da07bbdccd95c83278bb (patch)
tree7287fbd4882943505faa1f2ff4eae8db022c61f6 /pkgs/tools
parentf3820d580ee15cd6a1aee4f7abece467075f13e7 (diff)
downloadnixpkgs-77c0a4907f1991ea70d2da07bbdccd95c83278bb.tar
nixpkgs-77c0a4907f1991ea70d2da07bbdccd95c83278bb.tar.gz
nixpkgs-77c0a4907f1991ea70d2da07bbdccd95c83278bb.tar.bz2
nixpkgs-77c0a4907f1991ea70d2da07bbdccd95c83278bb.tar.lz
nixpkgs-77c0a4907f1991ea70d2da07bbdccd95c83278bb.tar.xz
nixpkgs-77c0a4907f1991ea70d2da07bbdccd95c83278bb.tar.zst
nixpkgs-77c0a4907f1991ea70d2da07bbdccd95c83278bb.zip
croc: fix passthru.tests
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/networking/croc/test-local-relay.nix4
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 bde05d6deb0..4ddad86bd00 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
   '';