From: Dmitry V. Levin Date: Tue, 23 Jan 2018 23:17:02 +0000 (+0000) Subject: tests: redirect stdin to /dev/null X-Git-Tag: v4.21~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2265040b8052cf0fd9a6cf3895a6387ea2aac72;p=strace tests: redirect stdin to /dev/null Ensure that stdin descriptor is not available for output by reopening it to input from /dev/null. * tests/run.sh: Redirect test's stdin to /dev/null. --- diff --git a/tests/run.sh b/tests/run.sh index 5cc0f193..208aa0f9 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -14,4 +14,4 @@ if [ $# -eq 0 ]; then exit 1 fi -exec $TIMEOUT "$@" +exec $TIMEOUT "$@" < /dev/null