master - tests: skip thin-flags test on 32bit el6 kernel
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ed5e5c38b5ac4b7c8cb7e809d9d35c72f087e29e Commit: ed5e5c38b5ac4b7c8cb7e809d9d35c72f087e29e Parent: 3178cfc81823589cde16668b90a04a35fe0b758b Author: Zdenek Kabelac <[email protected]> AuthorDate: Mon Feb 22 14:52:01 2016 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Feb 22 14:59:28 2016 +0100
tests: skip thin-flags test on 32bit el6 kernel
Until kernel is fixed, stop running test always hitting OOPS there.
--- test/lib/aux.sh | 12 ++++++++++++ test/shell/thin-flags.sh | 1 + 2 files changed, 13 insertions(+), 0 deletions(-)
test/lib/aux.sh +12 -0
@@ -1007,6 +1007,18 @@ raid456_replace_works() { esac } +# +# Some 32bit kernel cannot pass some erroring magic which forces +# thin-pool to be falling into Error state. +# +# Skip test on such kernels (see: https://bugzilla.redhat.com/1310661) +# +thin_pool_error_works_32() { + case "$(uname -r)" in + 2.6.32-618.*.i686) return 1 ;; + esac +} + udev_wait() { pgrep udev >/dev/null || return 0 which udevadm &>/dev/null || return 0
test/shell/thin-flags.sh +1 -0
@@ -39,6 +39,7 @@ fake_metadata_() { # Main # aux have_thin 1 3 0 || skip +aux thin_pool_error_works_32 || skip aux prepare_vg 2 256