diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-02-22 14:52:01 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-02-22 14:59:28 +0100 |
commit | ed5e5c38b5ac4b7c8cb7e809d9d35c72f087e29e (patch) | |
tree | dc0ff8a89c84e40f9f717f5ea14d89ca448147ea | |
parent | 3178cfc81823589cde16668b90a04a35fe0b758b (diff) | |
download | lvm2-ed5e5c38b5ac4b7c8cb7e809d9d35c72f087e29e.tar.gz |
tests: skip thin-flags test on 32bit el6 kernel
Until kernel is fixed, stop running test always hitting OOPS there.
-rw-r--r-- | test/lib/aux.sh | 12 | ||||
-rw-r--r-- | test/shell/thin-flags.sh | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/test/lib/aux.sh b/test/lib/aux.sh index 6250143a2..12316aa49 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -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 diff --git a/test/shell/thin-flags.sh b/test/shell/thin-flags.sh index 7dd0d6e94..95eafa03f 100644 --- a/test/shell/thin-flags.sh +++ b/test/shell/thin-flags.sh @@ -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 |