aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-09-08 12:00:12 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2015-09-08 12:12:38 +0200
commit596ec5c74b604de42f105032b7e13065ea67d281 (patch)
tree8f0b78bacff79290f75a7e4baf6a71207c96c747
parent0ec64370b24acf837c725b614db993a663cc8103 (diff)
downloadlvm2-596ec5c74b604de42f105032b7e13065ea67d281.tar.gz
tests: skip raid testing on 4.[1,2] fc24 kernels
Hopefull 4.3 will be fixed and test will be updated to let raid test running again. Meanwhile using md-raid may effectively kill kernel, so leave at least other tests running.
-rw-r--r--test/lib/aux.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/lib/aux.sh b/test/lib/aux.sh
index f870501c3..25700f60e 100644
--- a/test/lib/aux.sh
+++ b/test/lib/aux.sh
@@ -1108,6 +1108,14 @@ have_raid() {
return 1;
}
target_at_least dm-raid "$@"
+
+ # some kernels have broken mdraid bitmaps, don't use them!
+ # may oops kernel, we know for sure all FC24 are currently broken
+ # in general any 4.1, 4.2 is likely useless unless patched
+ # hopefully 4.3 will be patched
+ case "$(uname -r)" in
+ 4.[123].*fc24*) return 1 ;;
+ esac
}
have_cache() {