From 8de1bb75e56525d43665f0a48abbf47dd91aa9c3 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Thu, 30 Jan 2020 13:37:00 +1100 Subject: [PATCH] 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 --- ctdb/tests/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"