]> sourceware.org Git - lvm2.git/commitdiff
tests: remove local setting of LVM_BINARY
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 23 Feb 2021 13:42:47 +0000 (14:42 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 23 Feb 2021 13:56:47 +0000 (14:56 +0100)
To better test actually fsadm in test suite - avoid setting
LVM_BINARY locally - since test setup already modifies
PATH to find test's lvm binary as the 1st. in path.

test/shell/fsadm-crypt.sh
test/shell/fsadm-renamed.sh
test/shell/fsadm.sh
test/shell/lvresize-full.sh

index 4b8fc4e2df4b24056ecdb75a260722e6c0c0f029..2004db9572ffee90c663cb93c6dab1d70c49c22f 100644 (file)
@@ -76,9 +76,6 @@ dev_vg_lv="$DM_DEV_DIR/$vg_lv"
 dev_vg_lv2="$DM_DEV_DIR/$vg_lv2"
 dev_vg_lv3="$DM_DEV_DIR/$vg_lv3"
 mount_dir="mnt"
-# for recursive call
-LVM_BINARY=$(which lvm)
-export LVM_BINARY
 
 test ! -d "$mount_dir" && mkdir "$mount_dir"
 
index 321893925d681e531714d1e388213db93b42b180..50c6d3ee5c61f4b5984cfce6f199fc243b5e70fa 100644 (file)
@@ -27,9 +27,6 @@ dev_vg_lv_ren="$DM_DEV_DIR/$vg_lv_ren"
 mount_dir="mnt"
 mount_space_dir="mnt space dir"
 mount_dolar_dir="mnt \$SPACE dir"
-# for recursive call
-LVM_BINARY=$(which lvm)
-export LVM_BINARY
 
 test ! -d "$mount_dir" && mkdir "$mount_dir"
 test ! -d "$mount_space_dir" && mkdir "$mount_space_dir"
index 67f9660e683e2d8ba25ecd767427829d70b09565..987b1a1a94bd9fdda48711a089a64071825f2a9b 100644 (file)
@@ -45,9 +45,6 @@ dev_vg_lv="$DM_DEV_DIR/$vg_lv"
 dev_vg_lv2="$DM_DEV_DIR/$vg_lv2"
 mount_dir="mnt"
 mount_space_dir="mnt space dir"
-# for recursive call
-LVM_BINARY=$(which lvm)
-export LVM_BINARY
 
 test ! -d "$mount_dir" && mkdir "$mount_dir"
 test ! -d "$mount_space_dir" && mkdir "$mount_space_dir"
index 3cab52275fabf070f0bbae2f27f2a100c81c40f9..dcf93a7b2ad2b5da6552b2d975bcedb81f8bee46 100644 (file)
@@ -21,8 +21,6 @@ SKIP_WITH_LVMPOLLD=1
 FSCK=${FSCK-fsck}
 MKFS=${MKFS-mkfs.ext3}
 RESIZEFS=${RESIZEFS-resize2fs}
-LVM_BINARY=$(which lvm)
-export LVM_BINARY
 
 which $FSCK || skip
 which $MKFS || skip
This page took 0.037501 seconds and 5 git commands to generate.