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:
parent
3178cfc818
commit
ed5e5c38b5
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user