]> sourceware.org Git - lvm2.git/commitdiff
test: Skip tests involving mirror recovery on known bad kernels.
authorPetr Rockai <prockai@redhat.com>
Tue, 3 Sep 2013 13:49:14 +0000 (15:49 +0200)
committerPetr Rockai <prockai@redhat.com>
Tue, 3 Sep 2013 14:24:32 +0000 (16:24 +0200)
test/lib/aux.sh
test/shell/lvconvert-repair-dmeventd.sh
test/shell/lvconvert-repair-transient-dmeventd.sh
test/shell/lvconvert-repair-transient.sh

index c9bb1fb5d8724ea75c8ac6e2bb94070b586d8e4e..bca709a3d5a5bec07f009bc3337690f315ffb0b7 100644 (file)
@@ -604,6 +604,10 @@ api() {
        "$abs_top_builddir/test/api/wrapper" "$@" && rm -f debug.log
 }
 
+skip_if_mirror_recovery_broken() {
+        test `uname -r` = 3.3.4-5.fc17.i686 && skip
+}
+
 udev_wait() {
        pgrep udev >/dev/null || return 0
        which udevadm >/dev/null || return 0
index b3ccca5d54506c30230a315c0e69d965a3c22057..55eee3784e1bf3805af0d2c4b194016a46a8693b 100644 (file)
@@ -12,6 +12,7 @@
 . lib/test
 
 which mkfs.ext2 || skip
+aux skip_if_mirror_recovery_broken
 
 aux prepare_vg 5
 aux prepare_dmeventd
index 51c95e1b7590e2ff7ef2e3b02fb6cd20af2bd654..699195aa067c261bdbe893d214ed28b9dda5d72b 100644 (file)
@@ -11,6 +11,7 @@
 
 . lib/test
 
+aux skip_if_mirror_recovery_broken
 aux prepare_vg 5
 aux prepare_dmeventd
 
index 93eb8033538af4c6b7ad32ba76214e3e2447685c..28b06c69e7a4b1d7620a9485a39bf81c31a8dfd3 100644 (file)
@@ -11,6 +11,7 @@
 
 . lib/test
 
+aux skip_if_mirror_recovery_broken
 aux prepare_vg 5
 
 lvcreate -aey --type mirror -m 3 --ignoremonitoring -L 1 -n 4way $vg
This page took 0.040542 seconds and 5 git commands to generate.