[lvm-devel] master - tests: assign path

Zdenek Kabelac zkabelac at sourceware.org
Mon Jul 10 12:38:56 UTC 2017


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=dafeb0274acae432054faf729510133780db9439
Commit:        dafeb0274acae432054faf729510133780db9439
Parent:        f818a83a1dea3d67ad4bc710ed0552a7175b38d7
Author:        Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate:    Sun Jul 9 15:54:43 2017 +0200
Committer:     Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Mon Jul 10 14:23:53 2017 +0200

tests: assign path

---
 test/shell/lvconvert-repair-mirror.sh |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/test/shell/lvconvert-repair-mirror.sh b/test/shell/lvconvert-repair-mirror.sh
index dcd8d07..0277221 100644
--- a/test/shell/lvconvert-repair-mirror.sh
+++ b/test/shell/lvconvert-repair-mirror.sh
@@ -13,12 +13,10 @@
 SKIP_WITH_LVMLOCKD=1
 SKIP_WITH_LVMPOLLD=1
 
-MKFS=mkfs.ext3
-MOUNT_DIR=mnt
-
 . lib/inittest
 
-which "$MKFS" || skp
+MOUNT_DIR=mnt
+MKFS=$(which mkfs.ext3) || skip
 
 cleanup_mounted_and_teardown()
 {




More information about the lvm-devel mailing list