1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

test: lvresize-raid.sh missing conditional

Test missed to check for raid0 present in the kernel.

Related: rhbz1366296
This commit is contained in:
Heinz Mauelshagen 2017-02-10 21:19:03 +01:00
parent c908a8b131
commit caa2094e33

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
# Copyright (C) 2012,2017 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
@ -17,7 +17,8 @@ SKIP_WITH_LVMPOLLD=1
aux have_raid 1 3 0 || skip
levels="5 6 10"
aux have_raid4 && levels="0 0_meta 4 $levels"
aux have_raid4 && levels="4 $levels"
aux have_raid 1 7 0 && levels="0 0_meta $levels"
aux prepare_pvs 6