master - tests: inittest compare string
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=0221ebfd64541ee8598fc7f936f8267505b1bfae Commit: 0221ebfd64541ee8598fc7f936f8267505b1bfae Parent: a7a23e7dd2f7fde59760a3d3f7c980d7a8f657a7 Author: Zdenek Kabelac <[email protected]> AuthorDate: Sat May 12 00:06:44 2018 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Sat May 12 18:05:50 2018 +0200
tests: inittest compare string
Avoid logging warning when compared string is empty with -eq.
--- test/lib/inittest.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/inittest.sh +1 -1
@@ -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