[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] master - test: Fix a spurious failure in skip_if_mirror_recovery_broken.



Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=7918217c754555fc685851e7d80f86a8f6c8abcb
Commit:        7918217c754555fc685851e7d80f86a8f6c8abcb
Parent:        848e8026d68e53dae078ed99fb5f3a47db3def2a
Author:        Petr Rockai <prockai redhat com>
AuthorDate:    Tue Sep 3 20:05:22 2013 +0200
Committer:     Petr Rockai <prockai redhat com>
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(-)

diff --git a/test/lib/aux.sh b/test/lib/aux.sh
index bca709a..286fb96 100644
--- a/test/lib/aux.sh
+++ b/test/lib/aux.sh
@@ -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() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]