From: Dmitry V. Levin Date: Sun, 14 Feb 2016 00:54:32 +0000 (+0000) Subject: redirect.test: fix the way how strace output is discarded X-Git-Tag: v4.12~546 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cff071a5ca984553a5eec5f066fa61da75eae704;p=strace redirect.test: fix the way how strace output is discarded * tests/redirect.test: Disable tracing of syscalls, signals, and exit status instead of redirecting strace output to /dev/null. --- diff --git a/tests/redirect.test b/tests/redirect.test index 0cb0820d..07fbcdf0 100755 --- a/tests/redirect.test +++ b/tests/redirect.test @@ -45,13 +45,15 @@ check_prog yes else echo TIMEOUT >> $LOG fi -) | $STRACE -o/dev/null sh -c "exec <&- >&-; $SLEEP_A_BIT; $SLEEP_A_BIT" +) | $STRACE -qq -enone -esignal=none \ + sh -c "exec <&- >&-; $SLEEP_A_BIT; $SLEEP_A_BIT" if [ -s "$LOG" ]; then fail_ "$STRACE failed to redirect standard input" fi -$STRACE -o/dev/null sh -c "exec <&- >&-; $SLEEP_A_BIT; $SLEEP_A_BIT" | +$STRACE -qq -enone -esignal=none \ + sh -c "exec <&- >&-; $SLEEP_A_BIT; $SLEEP_A_BIT" | ( $SLEEP_A_BIT & cat > /dev/null