From: Martin Schwenke Date: Thu, 30 Jan 2020 02:37:00 +0000 (+1100) Subject: ctdb-tests: Redirect stdin from /dev/null when running a test X-Git-Tag: ldb-2.1.1~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8de1bb75e56525d43665f0a48abbf47dd91aa9c3;p=thirdparty%2Fsamba.git ctdb-tests: Redirect stdin from /dev/null when running a test Otherwise, if the test is run via ssh it will "unexpectedly" find itself at the other end of a pipe. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tests/run_tests.sh b/ctdb/tests/run_tests.sh index d7c33f1865a..2a5e4bbf996 100755 --- a/ctdb/tests/run_tests.sh +++ b/ctdb/tests/run_tests.sh @@ -129,7 +129,7 @@ ctdb_test_run () start_time=$(date '+%s') if [ -x "$f" ] ; then - timeout "$test_time_limit" "$f" | show_progress + timeout "$test_time_limit" "$f"