From caa80ccd9500068b467744aab13ba0ea4b26d7e1 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Fri, 28 Aug 2020 14:37:05 +0200 Subject: [PATCH] coverage.sh: send adios to hook-listener --- coverage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coverage.sh b/coverage.sh index 1f97b60..a8edfaa 100755 --- a/coverage.sh +++ b/coverage.sh @@ -2074,7 +2074,7 @@ ln -s /real /tmp/root/link mkdir /tmp/root/real run_testA() { echo content > /tmp/foo - { { { $CMD --hook-helper /tmp/root root setup env 1 upload /tmp/foo \$1 < /tmp/myfifo 3>&-; echo \$? >&3; + { { { $CMD --hook-helper /tmp/root root setup env 1 upload /tmp/foo \$1 < /tmp/myfifo 3>&-; echo \$? >&3; printf "\\000\\000adios"; } | $CMD --hook-listener 3>&- >/tmp/myfifo; echo \$?; } 3>&1; } | { read xs1; [ "\$xs1" -eq 0 ]; read xs2; [ "\$xs2" -eq 0 ]; } echo content | diff -u - /tmp/root/real/foo