mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +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:
parent
30975a3328
commit
fe69731d31
@ -1650,7 +1650,7 @@ kernel_at_least() {
|
|||||||
version_at_least "$(uname -r)" "$@"
|
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)
|
test -f DEVICES && devs=$(< DEVICES)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user