mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: skip more tests for lvmpolld pass
These test do not test polling, so skip them for lvmpolld pass.
This commit is contained in:
parent
7768650d87
commit
49575a6ce1
@ -11,6 +11,7 @@
|
|||||||
# along with this program; if not, write to the Free Software Foundation,
|
# along with this program; if not, write to the Free Software Foundation,
|
||||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
SKIP_WITH_LVMPOLLD=1
|
||||||
SKIP_WITH_LVMLOCKD=1
|
SKIP_WITH_LVMLOCKD=1
|
||||||
SKIP_WITH_CLVMD=1
|
SKIP_WITH_CLVMD=1
|
||||||
|
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
# along with this program; if not, write to the Free Software Foundation,
|
# along with this program; if not, write to the Free Software Foundation,
|
||||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
SKIP_WITH_LVMPOLLD=1
|
||||||
|
|
||||||
. lib/inittest
|
. lib/inittest
|
||||||
|
|
||||||
# Check what is and is not permitted on an exported VG/PV
|
# Check what is and is not permitted on an exported VG/PV
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
|
|
||||||
# Check what happens when reading of lvm.conf fails
|
# Check what happens when reading of lvm.conf fails
|
||||||
|
|
||||||
|
SKIP_WITH_LVMPOLLD=1
|
||||||
|
|
||||||
. lib/inittest
|
. lib/inittest
|
||||||
|
|
||||||
MKFS=mkfs.ext3
|
MKFS=mkfs.ext3
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
# along with this program; if not, write to the Free Software Foundation,
|
# along with this program; if not, write to the Free Software Foundation,
|
||||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
SKIP_WITH_LVMPOLLD=1
|
||||||
|
|
||||||
. lib/inittest
|
. lib/inittest
|
||||||
|
|
||||||
xxd -v || skip
|
xxd -v || skip
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
# along with this program; if not, write to the Free Software Foundation,
|
# along with this program; if not, write to the Free Software Foundation,
|
||||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
SKIP_WITH_LVMPOLLD=1
|
||||||
|
|
||||||
RUNDIR="/run"
|
RUNDIR="/run"
|
||||||
test -d "$RUNDIR" || RUNDIR="/var/run"
|
test -d "$RUNDIR" || RUNDIR="/var/run"
|
||||||
PVS_ONLINE_DIR="$RUNDIR/lvm/pvs_online"
|
PVS_ONLINE_DIR="$RUNDIR/lvm/pvs_online"
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
# along with this program; if not, write to the Free Software Foundation,
|
# along with this program; if not, write to the Free Software Foundation,
|
||||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
SKIP_WITH_LVMPOLLD=1
|
||||||
|
|
||||||
. lib/inittest
|
. lib/inittest
|
||||||
|
|
||||||
aux prepare_devs 3
|
aux prepare_devs 3
|
||||||
|
@ -10,12 +10,11 @@
|
|||||||
# along with this program; if not, write to the Free Software Foundation,
|
# along with this program; if not, write to the Free Software Foundation,
|
||||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
SKIP_WITH_LVMPOLLD=1
|
||||||
|
|
||||||
. lib/inittest
|
. lib/inittest
|
||||||
|
|
||||||
aux prepare_devs 3
|
aux prepare_vg 3
|
||||||
get_devs
|
|
||||||
|
|
||||||
vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"
|
|
||||||
|
|
||||||
lvcreate -n $lv1 -L8M $vg "$dev2"
|
lvcreate -n $lv1 -L8M $vg "$dev2"
|
||||||
lvcreate -n $lv2 -L8M $vg "$dev3"
|
lvcreate -n $lv2 -L8M $vg "$dev3"
|
||||||
@ -24,10 +23,6 @@ lvcreate -n $lv4 -L8M $vg "$dev3"
|
|||||||
|
|
||||||
vgchange -an $vg
|
vgchange -an $vg
|
||||||
|
|
||||||
pvs
|
|
||||||
vgs
|
|
||||||
lvs -a -o+devices
|
|
||||||
|
|
||||||
# Fail device that is not used by any LVs.
|
# Fail device that is not used by any LVs.
|
||||||
aux disable_dev "$dev1"
|
aux disable_dev "$dev1"
|
||||||
|
|
||||||
@ -81,6 +76,4 @@ pvs
|
|||||||
vgs
|
vgs
|
||||||
lvs -a -o+devices
|
lvs -a -o+devices
|
||||||
|
|
||||||
vgchange -an $vg
|
|
||||||
vgremove -ff $vg
|
vgremove -ff $vg
|
||||||
|
|
||||||
|
@ -10,12 +10,11 @@
|
|||||||
# along with this program; if not, write to the Free Software Foundation,
|
# along with this program; if not, write to the Free Software Foundation,
|
||||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
SKIP_WITH_LVMPOLLD=1
|
||||||
|
|
||||||
. lib/inittest
|
. lib/inittest
|
||||||
|
|
||||||
aux prepare_devs 3
|
aux prepare_vg 3
|
||||||
get_devs
|
|
||||||
|
|
||||||
vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"
|
|
||||||
|
|
||||||
lvcreate -n $lv1 -L8M --type mirror -m 1 $vg
|
lvcreate -n $lv1 -L8M --type mirror -m 1 $vg
|
||||||
lvcreate -n $lv2 -L8M --type mirror -m 1 $vg
|
lvcreate -n $lv2 -L8M --type mirror -m 1 $vg
|
||||||
@ -147,6 +146,4 @@ pvs
|
|||||||
vgs
|
vgs
|
||||||
lvs -a -o+devices
|
lvs -a -o+devices
|
||||||
|
|
||||||
vgchange -an $vg
|
|
||||||
vgremove -ff $vg
|
vgremove -ff $vg
|
||||||
|
|
||||||
|
@ -10,10 +10,11 @@
|
|||||||
# along with this program; if not, write to the Free Software Foundation,
|
# along with this program; if not, write to the Free Software Foundation,
|
||||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
SKIP_WITH_LVMPOLLD=1
|
||||||
|
|
||||||
. lib/inittest
|
. lib/inittest
|
||||||
|
|
||||||
aux prepare_devs 3
|
aux prepare_vg 3
|
||||||
get_devs
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Test handling of "outdated PV" which occurs when a PV goes missing
|
# Test handling of "outdated PV" which occurs when a PV goes missing
|
||||||
@ -22,8 +23,6 @@ get_devs
|
|||||||
# member. That outdated metadata needs to be cleared.
|
# member. That outdated metadata needs to be cleared.
|
||||||
#
|
#
|
||||||
|
|
||||||
vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"
|
|
||||||
|
|
||||||
lvcreate -n $lv1 -l1 -an $vg "$dev1"
|
lvcreate -n $lv1 -l1 -an $vg "$dev1"
|
||||||
lvcreate -n $lv2 -l1 -an $vg "$dev1"
|
lvcreate -n $lv2 -l1 -an $vg "$dev1"
|
||||||
|
|
||||||
@ -63,4 +62,3 @@ pvs "$dev2" | tee out
|
|||||||
grep "$vg" out
|
grep "$vg" out
|
||||||
|
|
||||||
vgremove -ff $vg
|
vgremove -ff $vg
|
||||||
|
|
||||||
|
@ -10,6 +10,9 @@
|
|||||||
# along with this program; if not, write to the Free Software Foundation,
|
# along with this program; if not, write to the Free Software Foundation,
|
||||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
SKIP_WITH_LVMPOLLD=1
|
||||||
|
SKIP_WITH_LVMLOCKD=1
|
||||||
|
|
||||||
. lib/inittest
|
. lib/inittest
|
||||||
|
|
||||||
SIZE_MB=80
|
SIZE_MB=80
|
||||||
|
@ -10,6 +10,10 @@
|
|||||||
# along with this program; if not, write to the Free Software Foundation,
|
# along with this program; if not, write to the Free Software Foundation,
|
||||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
SKIP_WITH_LVMPOLLD=1
|
||||||
|
SKIP_WITH_LVMLOCKD=1
|
||||||
|
|
||||||
|
|
||||||
. lib/inittest
|
. lib/inittest
|
||||||
|
|
||||||
SIZE=34
|
SIZE=34
|
||||||
|
Loading…
Reference in New Issue
Block a user