Skip to contentSkip to conversation

master - tests: skip another kernel

PATCH Zdenek Kabelac 1 participant 1 message Mar 10, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=41e1b12e036ef2079586c4c567eae060c2635062
Commit:        41e1b12e036ef2079586c4c567eae060c2635062
Parent:        d913fcbd4616279829fd495e6384b661b897c6df
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sat Mar 8 22:38:06 2014 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Mar 10 12:24:10 2014 +0100

tests: skip another kernel

This kernel has still buggy kmem_cache debugging so skip it for raid456.

---
 test/lib/aux.sh                |    6 ++++++
 test/shell/lvchange-raid456.sh |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)
test/lib/aux.sh +6 -0
index 5d2d188..b2d73a6 100644
@@ -671,8 +671,14 @@ raid456_replace_works() {
 # old instance to be preserved and causes a colision (and thus failure) in
 # kmem_cache_create().  I see this regularly in testing the following
 # kernels:
+#
+# This seems to be finaly resolved with this patch:
+# http://www.redhat.com/archives/dm-devel/2014-March/msg00008.html
+# so we need to put here exlusion for kernes which do trace SLUB
+#
 	case $(uname -r) in
 	  3.10.11-200.fc19.i686|3.10.11-200.fc19.x86_64) return 1 ;;
+	  3.13.5-101.fc19.i686.PAE) return 1 ;;
 	esac
 }
 
test/shell/lvchange-raid456.sh +1 -0
index 41a0dfd..83f82c3 100644
@@ -13,6 +13,7 @@ TEST_RAID=raid456
 
 . shell/lvchange-raid.sh
 
+aux raid456_replace_works || skip
 aux target_at_least dm-raid 1 5 2 || skip
 
 run_types raid4 -i 2 "$dev1" "$dev2" "$dev3" "$dev4"