From fe69731d31648af24383515c1c3bc323551d75e5 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 19 Mar 2018 19:58:53 +0100 Subject: [PATCH] tests: handle setting better When using 'make check... LVM_TEST_AUX_TRACE=0' make it behaving like other supported VARS in use so it's like disabled. --- test/lib/aux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/aux.sh b/test/lib/aux.sh index 9f8c8d7ec..a7ad60a3d 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -1650,7 +1650,7 @@ kernel_at_least() { version_at_least "$(uname -r)" "$@" } -test -z "${LVM_TEST_AUX_TRACE-}" || set -x +test "${LVM_TEST_AUX_TRACE-0}" = "0" || set -x test -f DEVICES && devs=$(< DEVICES) -- 2.43.5