Skip to contentSkip to conversation

master - test: Fix a spurious failure in skip_if_mirror_recovery_broken.

PATCH Petr Rockai 1 participant 1 message Sep 3, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=7918217c754555fc685851e7d80f86a8f6c8abcb
Commit:        7918217c754555fc685851e7d80f86a8f6c8abcb
Parent:        848e8026d68e53dae078ed99fb5f3a47db3def2a
Author:        Petr Rockai <[email protected]>
AuthorDate:    Tue Sep 3 20:05:22 2013 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Tue Sep 3 20:06:24 2013 +0200

test: Fix a spurious failure in skip_if_mirror_recovery_broken.

---
 test/lib/aux.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/aux.sh +1 -1
index bca709a..286fb96 100644
@@ -605,7 +605,7 @@ api() {
 }
 
 skip_if_mirror_recovery_broken() {
-        test `uname -r` = 3.3.4-5.fc17.i686 && skip
+        if test `uname -r` = 3.3.4-5.fc17.i686; then skip; fi
 }
 
 udev_wait() {