master - tests: drop lvmetad bits
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=3bcc6c7e6064bd9632557f9678d9d88526d9bbdc Commit: 3bcc6c7e6064bd9632557f9678d9d88526d9bbdc Parent: 989626926c98cd00f0236c4fcac883107d76899d Author: David Teigland <[email protected]> AuthorDate: Mon Sep 10 11:10:55 2018 -0500 Committer: David Teigland <[email protected]> CommitterDate: Mon Sep 10 11:49:11 2018 -0500
tests: drop lvmetad bits
--- test/Makefile.in | 3 - test/lib/aux.sh | 83 ------------------------ test/lib/flavour-ndev-lvmetad-lvmpolld.sh | 3 - test/lib/flavour-ndev-lvmetad.sh | 2 - test/lib/flavour-udev-lvmetad-lvmpolld.sh | 4 - test/lib/flavour-udev-lvmetad.sh | 3 - test/lib/flavour-udev-lvmlockd-test-lvmetad.sh | 9 --- test/lib/inittest.sh | 18 +----- test/shell/dmsetup-integrity-keys.sh | 2 - test/shell/dmsetup-keyring.sh | 2 - test/shell/lvconvert-mirror-basic.sh | 3 - test/shell/lvconvert-mirror.sh | 3 - test/shell/lvconvert-raid-status-validation.sh | 2 - test/shell/lvconvert-raid.sh | 2 - test/shell/lvcreate-repair.sh | 1 - test/shell/mirror-vgreduce-removemissing.sh | 3 - test/shell/name-mangling.sh | 2 - test/shell/pool-labels.sh | 4 - test/shell/process-each-lv.sh | 3 - test/shell/pv-duplicate-uuid.sh | 8 +-- test/shell/pv-ext-update.sh | 3 - test/shell/pvmove-basic.sh | 3 - test/shell/pvmove-restart.sh | 2 - test/shell/pvmove-resume-1.sh | 2 - test/shell/pvmove-resume-2.sh | 2 - test/shell/pvmove-resume-multiseg.sh | 3 - test/shell/relative-sign-options.sh | 4 - test/shell/report-fields.sh | 2 - test/shell/report-hidden.sh | 2 - test/shell/snapshot-remove-dmsetup.sh | 2 - test/shell/system_id.sh | 5 -- test/shell/test-partition.sh | 1 - test/shell/thin-dmeventd-warns.sh | 2 - test/shell/vgchange-many.sh | 2 - test/shell/vgck.sh | 7 +-- test/shell/vgcreate-many-pvs.sh | 2 - test/shell/vgimportclone.sh | 12 ---- test/shell/vgremove-corrupt-vg.sh | 1 - test/shell/vgsplit-operation.sh | 3 - test/unit/Makefile | 2 +- test/unit/unit-test.sh | 2 - 41 files changed, 6 insertions(+), 218 deletions(-)
test/Makefile.in +0 -3
@@ -96,7 +96,6 @@ help: @echo " LVM_TEST_PREFER_BRD Prefer using brd (ramdisk) over loop for testing [1]." @echo " LVM_TEST_DIR Where to create test files [$(LVM_TEST_DIR)]." @echo " LVM_TEST_LOCKING Normal (1), Cluster (3)." - @echo " LVM_TEST_LVMETAD_DEBUG_OPTS Allows to override debug opts [-l all]." @echo " LVM_TEST_LVMPOLLD Start lvmpolld" @echo " LVM_TEST_NODEBUG Do not debug lvm commands." @echo " LVM_TEST_PARALLEL May skip agresive wipe of LVMTEST resources."
@@ -252,7 +251,6 @@ lib/flavour-%: $(srcdir)/lib/flavour-%.sh .lib-dir-stamp lib/paths-common: $(srcdir)/Makefile.in .lib-dir-stamp Makefile echo 'DM_UDEV_SYNCHRONISATION=$(dm_udev_synchronisation)' >> $@-t - echo 'LVMETAD_PIDFILE="@LVMETAD_PIDFILE@"' >> $@-t echo 'LVMPOLLD_PIDFILE="@LVMPOLLD_PIDFILE@"' >> $@-t echo 'DMEVENTD_PIDFILE="@DMEVENTD_PIDFILE@"' >> $@-t echo 'LVM_TEST_THIN_CHECK_CMD=$${LVM_TEST_THIN_CHECK_CMD- at THIN_CHECK_CMD@}' >> $@-t
@@ -264,7 +262,6 @@ lib/paths-common: $(srcdir)/Makefile.in .lib-dir-stamp Makefile echo 'LVM_TEST_CACHE_REPAIR_CMD=$${LVM_TEST_CACHE_REPAIR_CMD- at CACHE_REPAIR_CMD@}' >> $@-t echo 'LVM_TEST_CACHE_RESTORE_CMD=$${LVM_TEST_CACHE_RESTORE_CMD- at CACHE_RESTORE_CMD@}' >> $@-t echo 'export DM_UDEV_SYNCHRONISATION THIN RAID CACHE\' >> $@-t - echo ' LVMETAD_PIDFILE LVMPOLLD_PIDFILE DMEVENTD_PIDFILE \' >> $@-t echo ' LVM_TEST_THIN_CHECK_CMD LVM_TEST_THIN_DUMP_CMD LVM_TEST_THIN_REPAIR_CMD LVM_TEST_THIN_RESTORE_CMD\' >> $@-t echo ' LVM_TEST_CACHE_CHECK_CMD LVM_TEST_CACHE_DUMP_CMD LVM_TEST_CACHE_REPAIR_CMD LVM_TEST_CACHE_RESTORE_CMD' >> $@-t mv $@-t $@
test/lib/aux.sh +0 -83
149 lines not on this page · raw message
test/lib/flavour-ndev-lvmetad-lvmpolld.sh deleted +0 -3
@@ -1,3 +0,0 @@ -export LVM_TEST_LOCKING=1 -export LVM_TEST_LVMETAD=1 -export LVM_TEST_LVMPOLLD=1
test/lib/flavour-ndev-lvmetad.sh deleted +0 -2
@@ -1,2 +0,0 @@ -export LVM_TEST_LOCKING=1 -export LVM_TEST_LVMETAD=1
test/lib/flavour-udev-lvmetad-lvmpolld.sh deleted +0 -4
@@ -1,4 +0,0 @@ -export LVM_TEST_LOCKING=1 -export LVM_TEST_LVMETAD=1 -export LVM_TEST_LVMPOLLD=1 -export LVM_TEST_DEVDIR=/dev
test/lib/flavour-udev-lvmetad.sh deleted +0 -3
@@ -1,3 +0,0 @@ -export LVM_TEST_LOCKING=1 -export LVM_TEST_LVMETAD=1 -export LVM_TEST_DEVDIR=/dev
test/lib/flavour-udev-lvmlockd-test-lvmetad.sh deleted +0 -9
@@ -1,9 +0,0 @@ -export LVM_TEST_LOCKING=1 -export LVM_TEST_LVMETAD=1 -export LVM_TEST_LVMPOLLD=1 -export LVM_TEST_LVMLOCKD=1 -export LVM_TEST_LVMLOCKD_TEST=1 -export LVM_TEST_DEVDIR=/dev - -# FIXME:dct: add option to allow --test with sanlock -export LVM_TEST_LVMLOCKD_TEST_DLM=1
test/lib/inittest.sh +2 -16
@@ -34,7 +34,6 @@ LVM_TEST_LVM1=${LVM_TEST_LVM1-} # TODO: LVM_TEST_SHARED SHARED=${SHARED-} -LVM_TEST_LVMETAD=${LVM_TEST_LVMETAD-} LVM_TEST_LVMLOCKD=${LVM_TEST_LVMLOCKD-} LVM_TEST_LVMLOCKD_TEST=${LVM_TEST_LVMLOCKD_TEST-} LVM_TEST_LVMPOLLD=${LVM_TEST_LVMPOLLD-}
@@ -44,9 +43,6 @@ LVM_TEST_LOCK_TYPE_SANLOCK=${LVM_TEST_LOCK_TYPE_SANLOCK-} SKIP_WITHOUT_CLVMD=${SKIP_WITHOUT_CLVMD-} SKIP_WITH_CLVMD=${SKIP_WITH_CLVMD-} -SKIP_WITHOUT_LVMETAD=${SKIP_WITHOUT_LVMETAD-} -SKIP_WITH_LVMETAD=${SKIP_WITH_LVMETAD-} - SKIP_WITH_LVMPOLLD=${SKIP_WITH_LVMPOLLD-} SKIP_WITH_LVMLOCKD=${SKIP_WITH_LVMLOCKD-} SKIP_ROOT_DM_CHECK=${SKIP_ROOT_DM_CHECK-}
@@ -58,9 +54,6 @@ test -f "lib/flavour-$LVM_TEST_FLAVOUR" || { echo "NOTE: Flavour '$LVM_TEST_FLAV test -n "$SKIP_WITHOUT_CLVMD" && test "$LVM_TEST_LOCKING" -ne 3 && initskip test -n "$SKIP_WITH_CLVMD" && test "$LVM_TEST_LOCKING" = 3 && initskip -test -n "$SKIP_WITHOUT_LVMETAD" && test -z "$LVM_TEST_LVMETAD" && initskip -test -n "$SKIP_WITH_LVMETAD" && test -n "$LVM_TEST_LVMETAD" && initskip - test -n "$SKIP_WITH_LVMPOLLD" && test -n "$LVM_TEST_LVMPOLLD" && test -z "$LVM_TEST_LVMLOCKD" && initskip test -n "$SKIP_WITH_LVMLOCKD" && test -n "$LVM_TEST_LVMLOCKD" && initskip
@@ -68,7 +61,7 @@ test -n "$SKIP_WITH_LVMLOCKD" && test -n "$LVM_TEST_LVMLOCKD" && initskip unset CDPATH export LVM_TEST_BACKING_DEVICE LVM_TEST_DEVDIR LVM_TEST_NODEBUG -export LVM_TEST_LVMETAD LVM_TEST_LVMLOCKD LVM_TEST_LVMLOCKD_TEST +export LVM_TEST_LVMLOCKD LVM_TEST_LVMLOCKD_TEST export LVM_TEST_LVMPOLLD LVM_TEST_LOCK_TYPE_DLM LVM_TEST_LOCK_TYPE_SANLOCK # grab some common utilities . lib/utils
@@ -157,15 +150,8 @@ test -n "$BASH" && set -euE -o pipefail echo "@TESTDIR=$TESTDIR" echo "@PREFIX=$PREFIX" -if test -n "$LVM_TEST_LVMETAD" ; then - export LVM_LVMETAD_SOCKET="$TESTDIR/lvmetad.socket" - export LVM_LVMETAD_PIDFILE="$TESTDIR/lvmetad.pid" - aux prepare_lvmetad -elif test -z "$SKIP_ROOT_DM_CHECK" ; then - # lvmetad prepares its own lvmconf - export LVM_LVMETAD_PIDFILE="$TESTDIR/non-existing-file" +if test -z "$SKIP_ROOT_DM_CHECK" ; then aux lvmconf - aux prepare_clvmd fi test -n "$LVM_TEST_LVMPOLLD" && {
test/shell/dmsetup-integrity-keys.sh +0 -2
@@ -13,8 +13,6 @@ # unrelated to lvm2 daemons SKIP_WITH_LVMLOCKD=1 SKIP_WITH_LVMPOLLD=1 -SKIP_WITH_CLVMD=1 -SKIP_WITH_LVMETAD=1 . lib/inittest
test/shell/dmsetup-keyring.sh +0 -2
@@ -13,8 +13,6 @@ # unrelated to lvm2 daemons SKIP_WITH_LVMLOCKD=1 SKIP_WITH_LVMPOLLD=1 -SKIP_WITH_CLVMD=1 -SKIP_WITH_LVMETAD=1 . lib/inittest
test/shell/lvconvert-mirror-basic.sh +0 -3
@@ -12,9 +12,6 @@ -# disable lvmetad logging as it bogs down test systems -export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-} - . lib/inittest log_name_to_count() {
test/shell/lvconvert-mirror.sh +0 -3
@@ -12,9 +12,6 @@ -# disable lvmetad logging as it bogs down test systems -export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-} - . lib/inittest aux prepare_pvs 5
test/shell/lvconvert-raid-status-validation.sh +0 -2
@@ -18,8 +18,6 @@ SKIP_WITH_LVMPOLLD=1 -export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-} - . lib/inittest # check for version 1.9.0
test/shell/lvconvert-raid.sh +0 -2
@@ -14,8 +14,6 @@ SKIP_WITH_LVMPOLLD=1 -export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-} - . lib/inittest get_image_pvs() {
test/shell/lvcreate-repair.sh +0 -1
@@ -88,7 +88,6 @@ dd if=backup_i of="$dev1" bs=256K count=1 # dirty game dd if=/dev/zero of="$dev3" bs=256K count=1 -aux notify_lvmetad "$dev3" # udev be watching you vgreduce --removemissing --force $vg
test/shell/mirror-vgreduce-removemissing.sh +0 -3
@@ -15,9 +15,6 @@ test_description="ensure that 'vgreduce --removemissing' works on mirrored LV" SKIP_WITH_LVMPOLLD=1 -# disable lvmetad logging as it bogs down test systems -export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-} - . lib/inittest list_pvs=()
test/shell/name-mangling.sh +0 -2
@@ -13,8 +13,6 @@ # This test is not using any lvm command # so skip duplicate CLMVD and lvmetad test -SKIP_WITH_CLVMD=1 -SKIP_WITH_LVMETAD=1 SKIP_WITH_LVMPOLLD=1 . lib/inittest
test/shell/pool-labels.sh +0 -4
@@ -10,9 +10,6 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -# lvmetad does not handle pool labels so skip test. - -SKIP_WITH_LVMETAD=1 SKIP_WITH_LVMPOLLD=1 . lib/inittest
@@ -27,7 +24,6 @@ create_pool_label_() # printf comes from coreutils, and is probably not posix either env printf "\x01\x16\x70\x06\x5f\xcf\xff\xb9\xf8\x24\x8apool1" | dd of="$2" bs=5 seek=1 conv=notrunc env printf "\x04\x01\x03\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x0$1\x68\x01\x16\x70\x00\x00\x00\x00\x00\x06\x5f\xd0" | dd of=$2 bs=273 seek=1 conv=notrunc - aux notify_lvmetad "$2" }
test/shell/process-each-lv.sh +0 -3
@@ -14,9 +14,6 @@ test_description='Exercise toollib process_each_lv' SKIP_WITH_LVMPOLLD=1 -# disable lvmetad logging as it bogs down test systems -export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-} - . lib/inittest
test/shell/pv-duplicate-uuid.sh +2 -6
@@ -20,15 +20,11 @@ aux prepare_devs 3 pvcreate "$dev1" UUID1=$(get pv_field "$dev1" uuid) -pvcreate --config "devices{filter=[\"a|$dev2|\",\"r|.*|\"]} global/use_lvmetad=0" -u "$UUID1" --norestorefile "$dev2" -pvcreate --config "devices{filter=[\"a|$dev3|\",\"r|.*|\"]} global/use_lvmetad=0" -u "$UUID1" --norestorefile "$dev3" +pvcreate --config "devices{filter=[\"a|$dev2|\",\"r|.*|\"]}" -u "$UUID1" --norestorefile "$dev2" +pvcreate --config "devices{filter=[\"a|$dev3|\",\"r|.*|\"]}" -u "$UUID1" --norestorefile "$dev3" pvscan --cache 2>&1 | tee out -if test -e LOCAL_LVMETAD; then - grep "WARNING: Disabling lvmetad cache which does not support duplicate PVs." out -fi - pvs -o+uuid 2>&1 | tee out grep WARNING out > warn || true
test/shell/pv-ext-update.sh +0 -3
@@ -10,7 +10,6 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -# lvmetad does not handle pool labels so skip test. SKIP_WITH_LVMPOLLD=1
@@ -166,8 +165,6 @@ create_pv_with_ext_vsn1_and_vg() "\x75\x6c\x20\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x31\x30\x20\x32"\ "\x30\x31\x36\x0a\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\ "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" | dd of="$1" bs=5632 seek=1 conv=notrunc - - aux notify_lvmetad "$1" } aux prepare_devs 1 8
test/shell/pvmove-basic.sh +0 -3
@@ -15,9 +15,6 @@ test_description="ensure that pvmove works with basic options" SKIP_WITH_LVMLOCKD=1 -# disable lvmetad logging as it bogs down test systems -export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-} - . lib/inittest which md5sum || skip
test/shell/pvmove-restart.sh +0 -2
@@ -81,8 +81,6 @@ if test -e LOCAL_CLVMD ; then aux prepare_clvmd fi -aux notify_lvmetad "$dev1" "$dev2" "$dev3" - # Only PVs should be left in table... dmsetup table
test/shell/pvmove-resume-1.sh +0 -2
@@ -86,8 +86,6 @@ test_pvmove_resume() { aux prepare_clvmd fi - aux notify_lvmetad "$dev1" "$dev2" "$dev3" "$dev4" - # call resume function (see below) # with expected number of spawned # bg polling as parameter
test/shell/pvmove-resume-2.sh +0 -2
@@ -75,8 +75,6 @@ test_pvmove_resume() { aux prepare_clvmd fi - aux notify_lvmetad "$dev1" "$dev2" - # call resume function (see below) # with expected number of spawned # bg polling as parameter
test/shell/pvmove-resume-multiseg.sh +0 -3
@@ -16,7 +16,6 @@ # Multisegment variant w/ 2 pvmoves LVs per VG SKIP_WITH_LVMLOCKD=1 -SKIP_WITH_CLVMD=1 . lib/inittest
@@ -79,8 +78,6 @@ test_pvmove_resume() { aux prepare_clvmd fi - aux notify_lvmetad "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" - # call resume function (see below) # with expected number of spawned # bg polling as parameter
test/shell/relative-sign-options.sh +0 -4
@@ -13,10 +13,6 @@ test_description='Exercise toollib process_each_lv' SKIP_WITH_LVMPOLLD=1 - -# disable lvmetad logging as it bogs down test systems -export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-} - . lib/inittest aux prepare_vg 1 256
test/shell/report-fields.sh +0 -2
@@ -11,9 +11,7 @@ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -SKIP_WITH_LVMETAD=1 SKIP_WITH_LVMPOLLD=1 -SKIP_WITH_CLVMD=1 . lib/inittest
test/shell/report-hidden.sh +0 -2
@@ -11,8 +11,6 @@ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -SKIP_WITH_LVMETAD=1 -SKIP_WITH_CLVMD=1 SKIP_WITH_LVMPOLLD=1 . lib/inittest
test/shell/snapshot-remove-dmsetup.sh +0 -2
@@ -13,8 +13,6 @@ # check if 'dmsetup --noflush' will work properly for mounted snapshot SKIP_WITH_LVMLOCKD=1 -SKIP_WITH_CLVMD=1 -SKIP_WITH_LVMETAD=1 SKIP_WITH_LVMPOLLD=1 . lib/inittest
test/shell/system_id.sh +0 -5
@@ -597,11 +597,6 @@ grep "No system ID found from system_id_source" err vgremove $vg1 -# Test cases where lvmetad cache of a foreign VG are out of date -# because the foreign owner has changed the VG. - -test ! -e LOCAL_LVMETAD && exit 0 - # When a foreign vg is newer on disk than in lvmetad, using --foreign # should find the newer version. This simulates a foreign host changing # foreign vg by turning off lvmetad when we create an lv in the vg.
test/shell/test-partition.sh +0 -1
@@ -32,5 +32,4 @@ pvs "$dev1" # create small partition table echo "1 2" | sfdisk --force "$dev1" -aux notify_lvmetad "$dev1" not pvs "$dev1"
test/shell/thin-dmeventd-warns.sh +0 -2
@@ -14,8 +14,6 @@ SKIP_WITH_LVMPOLLD=1 -SKIP_WITH_CLVMD=1 -SKIP_WITH_LVMETAD=1 . lib/inittest
test/shell/vgchange-many.sh +0 -2
@@ -16,8 +16,6 @@ SKIP_WITH_LVMPOLLD=1 . lib/inittest -# FIXME: lvmetad fails with i.e. 1500 device on memory failure... - # Number of LVs to create TEST_DEVS=1000 # On low-memory boxes let's not stress too much
test/shell/vgck.sh +1 -6
@@ -24,14 +24,9 @@ dd if=/dev/urandom bs=512 seek=2 count=32 of="$dev2" vgscan 2>&1 | tee vgscan.out || true -if test -e LOCAL_LVMETAD; then - not grep "Failed" vgscan.out -else - grep "Failed" vgscan.out -fi +grep "Failed" vgscan.out dd if=/dev/urandom bs=512 seek=2 count=32 of="$dev2" -aux notify_lvmetad "$dev2" vgck $vg 2>&1 | tee vgck.out || true grep Incorrect vgck.out
test/shell/vgcreate-many-pvs.sh +0 -2
@@ -26,12 +26,10 @@ SKIP_WITH_LVMPOLLD=1 # export LVM_TEST_PVS=300 # # make check_local ~52sec (U:29s, S:13s) -# make check_lvmetad ~20sec (U: 4s, S: 5s) # # With patch from 2015-03-06: # # make check_local ~30sec (U:10s, S:12s) -# make check_lvmetad ~20sec (U: 4s, S: 5s) # # TODO: extend test suite to monitor performance and report regressions...
test/shell/vgimportclone.sh +0 -12
@@ -45,7 +45,6 @@ vgchange -ay $vg1 # Clone the LUN dd if="$dev1" of="$dev2" bs=256K count=1 -aux notify_lvmetad "$dev2" # Verify pvs works on each device to give us vgname aux hide_dev "$dev2"
@@ -59,14 +58,6 @@ aux unhide_dev "$dev1" # Import the cloned PV to a new VG vgimportclone --basevgname $vg2 "$dev2" -# We need to re-scan *both* $dev1 and $dev2 since a PV, as far as lvmetad is -# concerned, can only live on a single device. With the last pvscan, we told it -# that PV from $dev1 now lives on $dev2, but in fact this is not true anymore, -# since we wrote a different PV over $dev2. -rm -f "$TESTDIR/etc/.cache" -aux notify_lvmetad "$dev2" -aux notify_lvmetad "$dev1" - # Verify we can activate / deactivate the LV from both VGs lvchange -ay $vg1/$lv1 $vg2/$lv1 vgchange -an $vg1 $vg2
@@ -79,19 +70,16 @@ vgcreate $SHARED --metadatasize 128k A${vg1}B "$dev1" # vg1B is not the same as Avg1B - we don't need number suffix dd if="$dev1" of="$dev2" bs=256K count=1 -aux notify_lvmetad "$dev2" vgimportclone -n ${vg1}B "$dev2" check pv_field "$dev2" vg_name ${vg1}B # Avg1 is not the same as Avg1B - we don't need number suffix dd if="$dev1" of="$dev2" bs=256K count=1 -aux notify_lvmetad "$dev2" vgimportclone -n A${vg1} "$dev2" check pv_field "$dev2" vg_name A${vg1} # Avg1B is the same as Avg1B - we need to add the number suffix dd if="$dev1" of="$dev2" bs=256K count=1 -aux notify_lvmetad "$dev2" vgimportclone -n A${vg1}B "$dev2" aux vgs check pv_field "$dev2" vg_name A${vg1}B1
test/shell/vgremove-corrupt-vg.sh +0 -1
@@ -19,6 +19,5 @@ aux prepare_vg 3 lvcreate -n blabla -L 1 $vg -an --zero n dd if=/dev/urandom bs=512 seek=2 count=32 of="$dev2" -aux notify_lvmetad "$dev2" vgremove -f $vg
test/shell/vgsplit-operation.sh +0 -3
@@ -12,12 +12,9 @@ # Test vgsplit operation, including different LV types -# disable lvmetad logging as it bogs down test systems SKIP_WITH_LVMLOCKD=1 SKIP_WITH_LVMPOLLD=1 -export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-} - . lib/inittest COMM() {
test/unit/Makefile +1 -1
@@ -45,7 +45,7 @@ run-unit-test: test/unit/unit-test ifeq ("$(USE_TRACKING)","yes") ifeq (,$(findstring $(MAKECMDGOALS),cscope.out cflow clean distclean lcov \ - help check check_local check_cluster check_lvmetad check_lvmpolld run-unit-test)) + help check check_local check_lvmpolld run-unit-test)) -include $(UNIT_DEPENDS) endif endif
test/unit/unit-test.sh +0 -2
@@ -13,8 +13,6 @@ SKIP_WITH_LVMLOCKD=1 SKIP_WITH_LVMPOLLD=1 -SKIP_WITH_LVMETAD=1 -SKIP_WITH_CLVMD=1 SKIP_ROOT_DM_CHECK=1