mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: rename test to inittest
We are getting into problem when we use 'test' for commands like should/not/... So avoid overloading test name and change it to inittest.
This commit is contained in:
parent
9f68aadb74
commit
5c5177c37c
@ -156,7 +156,7 @@ lib/paths: $(srcdir)/Makefile.in .lib-dir-stamp Makefile
|
||||
mv $@-t $@
|
||||
|
||||
LIB = lib/not lib/invalid lib/fail lib/should lib/harness \
|
||||
lib/check lib/aux lib/test lib/utils lib/get lib/lvm-wrapper \
|
||||
lib/check lib/aux lib/inittest lib/utils lib/get lib/lvm-wrapper \
|
||||
lib/paths
|
||||
|
||||
CMDS = lvm $(shell cat $(top_builddir)/tools/.commands)
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
lvm version
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
# Just skip this test if minor is already in use...
|
||||
dmsetup info | tee info
|
||||
|
@ -16,7 +16,7 @@
|
||||
# instead lvconvert --repair them?)
|
||||
# - linear LVs with bits missing are not activated
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 2
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
# instead lvconvert --repair them?)
|
||||
# - linear LVs with bits missing are not activated
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 4
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 3
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
# Test skip activation flag -k|--setactivationskip
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
export LVM_CLVMD_BINARY=clvmd
|
||||
export LVM_BINARY=lvm
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
# only clvmd based test, skip otherwise
|
||||
test -e LOCAL_CLVMD || skip
|
||||
|
@ -14,7 +14,7 @@
|
||||
# to improve code coverage
|
||||
#
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_pvs 5
|
||||
get_devs
|
||||
|
@ -13,7 +13,7 @@
|
||||
# test support of thin discards
|
||||
#
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
#
|
||||
# Main
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_dmeventd
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
flatten() {
|
||||
cat > flatten.config
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
# Basic usage of zero target
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
which md5sum || skip
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
test_description='Exercise fsadm filesystem resize'
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 1 100
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 3 12
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
# tests functionality of lvs, pvs, vgs, *display tools
|
||||
#
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_devs 5
|
||||
get_devs
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
test_description='test some blocking / non-blocking multi-vg operations'
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_devs 3
|
||||
test -e LOCAL_CLVMD && skip
|
||||
|
@ -12,7 +12,7 @@
|
||||
# Test parallel use of lvm commands and check locks aren't dropped
|
||||
# RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1049296
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
which mkfs.ext3 || skip
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
# FIXME RESYNC doesn't work in cluster with exclusive activation
|
||||
# seriously broken!
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux have_raid 1 3 2 || skip
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
|
||||
aux prepare_vg 4
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
# Writemostly has been in every version since the begining
|
||||
# Device refresh in 1.5.1 upstream and 1.3.4 < x < 1.4.0 in RHEL6
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
# test activation race for raid's --syncaction check
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
# Proper mismatch count 1.5.2+ upstream, 1.3.5 < x < 1.4.0 in RHEL6
|
||||
aux have_raid 1 3 5 &&
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux have_thin 1 0 0 || skip
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
log_name_to_count() {
|
||||
case "$1" in
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
# Demonstrate problem when upconverting and cutting leg in clvmd
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_pvs 3
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_pvs 5 10
|
||||
# proper DEVRANGE needs to be set according to extent size
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
get_image_pvs() {
|
||||
local d
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
get_image_pvs() {
|
||||
local d
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
get_image_pvs() {
|
||||
local d
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
which mkfs.ext2 || skip
|
||||
aux mirror_recovery_works || skip
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 4
|
||||
aux lvmconf 'allocation/maximise_cling = 0'
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
which mkfs.ext3 || skip
|
||||
aux have_raid 1 3 0 || skip
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux have_raid 1 3 0 || skip
|
||||
aux raid456_replace_works || skip
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 6
|
||||
aux lvmconf 'allocation/maximise_cling = 0'
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 5
|
||||
aux lvmconf 'allocation/maximise_cling = 0'
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
# Test repairing of broken thin pool metadata
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
which mkfs.ext2 || skip
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux mirror_recovery_works || skip
|
||||
aux prepare_vg 5
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux mirror_recovery_works || skip
|
||||
aux prepare_vg 5
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
recreate_vg_()
|
||||
{
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
# Test various supported conversion of snapshot
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_pvs 1
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
# Test conversion to thin external origin
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
which mkfs.ext2 || skip
|
||||
which fsck || skip
|
||||
|
@ -10,7 +10,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux have_thin 1 0 0 || skip
|
||||
aux have_raid 1 4 0 || skip
|
||||
|
@ -10,7 +10,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
prepare_lvs()
|
||||
{
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 4
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux have_cache 1 3 0 || skip
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
# 'Exercise some lvcreate diagnostics'
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
# FIXME update test to make something useful on <16T
|
||||
aux can_use_16T || skip
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
# 'Exercise some lvcreate diagnostics'
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
# FIXME update test to make something useful on <16T
|
||||
aux can_use_16T || skip
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
# 'Exercise some lvcreate diagnostics'
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
# FIXME update test to make something useful on <16T
|
||||
aux can_use_16T || skip
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
aux prepare_vg 5 80
|
||||
aux lvmconf 'allocation/maximise_cling = 0'
|
||||
aux lvmconf 'allocation/mirror_logs_require_separate_pvs = 1'
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 2
|
||||
init_udev_transaction
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
# 'Exercise some lvcreate diagnostics'
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
cleanup_lvs() {
|
||||
lvremove -ff $vg
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_pvs 3
|
||||
aux lvmconf 'allocation/maximise_cling = 0'
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
lv_devices() {
|
||||
test $3 -eq $(get lv_devices $1/$2 | wc -w)
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
lv_devices() {
|
||||
test $3 -eq $(get lv_devices $1/$2 | wc -w)
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 3
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
# 'Exercise signature wiping during lvcreate'
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
init_lv_() {
|
||||
mkswap "$DM_DEV_DIR/$vg/$lv1"
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_pvs
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 9
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
# Test creation of thin snapshots using external origin
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
which mkfs.ext2 || skip
|
||||
which fsck || skip
|
||||
|
@ -13,7 +13,7 @@
|
||||
# test support for non-power-of-2 thin chunk size
|
||||
#
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
#
|
||||
# Main
|
||||
|
@ -10,7 +10,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
check_lv_field_modules_()
|
||||
{
|
||||
|
@ -13,7 +13,7 @@
|
||||
# test currently needs to drop
|
||||
# 'return NULL' in _lv_create_an_lv after log_error("Can't create %s without using "
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
check_lv_field_modules_()
|
||||
{
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
# 'Exercise some lvcreate diagnostics'
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_pvs 4
|
||||
aux pvcreate --metadatacopies 0 "$dev1"
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
# 'Check extents percentage arguments'
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_pvs 2 128
|
||||
vgcreate $vg $(cat DEVICES)
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
extend() {
|
||||
lvextend --use-policies --config "activation { snapshot_autoextend_threshold = $1 }" $vg/snap
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
which mkfs.ext2 || skip
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
# Test autoextension of thin metadata volume
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
meta_percent_() {
|
||||
get lv_field $vg/pool metadata_percent | cut -d. -f1
|
||||
|
@ -13,7 +13,7 @@
|
||||
# tests lvm initialization, and especially negative tests of error paths
|
||||
#
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_devs 5
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_pvs 5
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
test -e LOCAL_LVMETAD || skip
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
test -e LOCAL_LVMETAD || skip
|
||||
kill $(cat LOCAL_LVMETAD)
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
test -e LOCAL_LVMETAD || skip
|
||||
|
||||
aux prepare_pvs 2
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
test -e LOCAL_LVMETAD || skip
|
||||
aux prepare_devs 2
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
test -e LOCAL_CLVMD || skip
|
||||
aux prepare_vg 2
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
test -e LOCAL_LVMETAD || skip
|
||||
aux prepare_pvs 2
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_pvs 1 20000
|
||||
pvs $(cat DEVICES) | grep "$dev1"
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
test -e LOCAL_LVMETAD || skip
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
test -e LOCAL_LVMETAD || skip
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
test -e LOCAL_LVMETAD || skip
|
||||
kill $(cat LOCAL_LVMETAD)
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
test -e LOCAL_LVMETAD || skip
|
||||
aux prepare_pvs 2
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_pvs 2
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
test -e LOCAL_LVMETAD || skip
|
||||
aux prepare_pvs 2
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 5
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux have_raid 1 3 0 || skip
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux have_raid 1 3 0 || skip
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_pvs 3 22
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
# Test resize of thin volume with external origin
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux have_thin 1 2 0 || skip
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux have_thin 1 10 0 || skip
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_vg 2 80
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_devs 3
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
# 'Test for proper escaping of strings in metadata (bz431474)'
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
# For udev impossible to create
|
||||
test "$LVM_TEST_DEVDIR" = "/dev" && skip
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_devs 6
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_devs 3
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_devs 5
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
test_description="check namings of mirrored LV"
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Utilities
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
test_description="ensure that 'vgreduce --removemissing' works on mirrored LV"
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
lv_is_on_ ()
|
||||
{
|
||||
|
@ -9,7 +9,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
# This test is not using any lvm command
|
||||
# so skip duplicate CLMVD and lvmetad test
|
||||
|
@ -10,7 +10,7 @@
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
. lib/test
|
||||
. lib/inittest
|
||||
|
||||
aux prepare_devs 4
|
||||
pvcreate "$dev1" "$dev2"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user