From 286bca18306a5c15903ebfd35ba256702c288dd1 Mon Sep 17 00:00:00 2001 From: "Markus S. Wamser" Date: Sun, 9 May 2021 21:24:06 +0200 Subject: [PATCH] croc.passthru.tests: partially revert 77c0a490 `--overwrite` is no longer needed for receiving text --- pkgs/tools/networking/croc/test-local-relay.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/tools/networking/croc/test-local-relay.nix b/pkgs/tools/networking/croc/test-local-relay.nix index 4ddad86bd009..bdcecb6b54c2 100644 --- a/pkgs/tools/networking/croc/test-local-relay.nix +++ b/pkgs/tools/networking/croc/test-local-relay.nix @@ -12,8 +12,7 @@ stdenv.mkDerivation { ${croc}/bin/croc --relay localhost:11111 send --code correct-horse-battery-staple --text "$MSG" & # wait for things to settle sleep 1 - # receive, as of croc 9 --overwrite is required for noninteractive use - MSG2=$(${croc}/bin/croc --overwrite --relay localhost:11111 --yes correct-horse-battery-staple) + MSG2=$(${croc}/bin/croc --relay localhost:11111 --yes correct-horse-battery-staple) # compare [ "$MSG" = "$MSG2" ] && touch $out '';