1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-04-01 18:50:41 +03:00

tests: skip thin-flags test on 32bit el6 kernel

Until kernel is fixed, stop running test always hitting OOPS there.
This commit is contained in:
Zdenek Kabelac 2016-02-22 14:52:01 +01:00
parent 3178cfc818
commit ed5e5c38b5
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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