Skip to contentSkip to conversation

master - tests: move print of replaced vars

PATCH Zdenek Kabelac 1 participant 1 message Apr 15, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=43a6f9e726295eaf200e7acb19d7e35b0af4aabb
Commit:        43a6f9e726295eaf200e7acb19d7e35b0af4aabb
Parent:        53c2c4562555cbc00b2b78cb4394ee3f2b7f0729
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Apr 15 14:31:28 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Apr 15 15:09:45 2015 +0200

tests: move print of replaced vars

---
 test/lib/inittest.sh |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
test/lib/inittest.sh +4 -3
index f55938f..3a0d332 100644
@@ -86,6 +86,10 @@ prepare_test_vars
 
 test -n "$BASH" && set -eE -o pipefail
 
+# Vars for harness
+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"
@@ -96,9 +100,6 @@ else
 	aux prepare_clvmd
 fi
 
-# Vars for harness
-echo "@TESTDIR=$TESTDIR"
-echo "@PREFIX=$PREFIX"
 echo "<======== Processing test: \"$TESTNAME\" ========>"
 
 set -vx