Skip to contentSkip to conversation

master - tests: assign path

PATCH Zdenek Kabelac 1 participant 1 message Jul 10, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=dafeb0274acae432054faf729510133780db9439
Commit:        dafeb0274acae432054faf729510133780db9439
Parent:        f818a83a1dea3d67ad4bc710ed0552a7175b38d7
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sun Jul 9 15:54:43 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
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(-)
test/shell/lvconvert-repair-mirror.sh +2 -4
index dcd8d07..0277221 100644
@@ -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()
 {