1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

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.
This commit is contained in:
Zdenek Kabelac 2018-03-19 19:58:53 +01:00
parent 30975a3328
commit fe69731d31

View File

@ -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)