From: Dmitry V. Levin Date: Thu, 26 Nov 2015 21:25:31 +0000 (+0000) Subject: tests: run in "set -x" mode if VERBOSE variable is non-null X-Git-Tag: v4.11~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f7db9ac8285d1c8d978ed2d15e20d677e33de8a;p=strace tests: run in "set -x" mode if VERBOSE variable is non-null * tests/init.sh: Enter "set -x" mode if $VERBOSE is non-null. --- diff --git a/tests/init.sh b/tests/init.sh index 8de74575..9e64137b 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -181,3 +181,6 @@ rm -f "$LOG" : "${STRACE:=../strace}" : "${TIMEOUT_DURATION:=60}" : "${SLEEP_A_BIT:=sleep 1}" + +[ -z "${VERBOSE-}" ] || + set -x