1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

tests: inittest compare string

Avoid logging warning when compared string is empty with -eq.
This commit is contained in:
Zdenek Kabelac 2018-05-12 00:06:44 +02:00
parent a7a23e7dd2
commit 0221ebfd64

View File

@ -53,7 +53,7 @@ if test -n "$LVM_TEST_FLAVOUR"; then
fi
test -n "$SKIP_WITHOUT_CLVMD" && test "$LVM_TEST_LOCKING" -ne 3 && initskip
test -n "$SKIP_WITH_CLVMD" && test "$LVM_TEST_LOCKING" -eq 3 && initskip
test -n "$SKIP_WITH_CLVMD" && test "$LVM_TEST_LOCKING" = 3 && initskip
test -n "$SKIP_WITHOUT_LVMETAD" && test -z "$LVM_TEST_LVMETAD" && initskip
test -n "$SKIP_WITH_LVMETAD" && test -n "$LVM_TEST_LVMETAD" && initskip