From 4f7db9ac8285d1c8d978ed2d15e20d677e33de8a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 26 Nov 2015 21:25:31 +0000 Subject: [PATCH] tests: run in "set -x" mode if VERBOSE variable is non-null * tests/init.sh: Enter "set -x" mode if $VERBOSE is non-null. --- tests/init.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.40.0