Skip to contentSkip to conversation

master - tests: sections in test separated

PATCH Zdenek Kabelac 1 participant 1 message Apr 13, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0457224febdf1eb3ddc66369d39808a6f2d6ec26
Commit:        0457224febdf1eb3ddc66369d39808a6f2d6ec26
Parent:        f080ebc123a050eff1de3995d7da8c835c4dc6e7
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Apr 13 16:30:17 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Apr 13 16:38:31 2015 +0200

tests: sections in test separated

Use <======== to separate sections.
Use ## to prefix these outputs.
Drop $top_srcdir from sed (it's been replacing '..') Hide more /dev dirs.

---
 test/lib/aux.sh      |    3 +-
 test/lib/inittest.sh |    1 +
 test/lib/utils.sh    |   51 ++++++++++++++++++++++++++++++++-----------------
 3 files changed, 36 insertions(+), 19 deletions(-)
test/lib/aux.sh +2 -1
index a5d620a..1b97bdc 100644
@@ -43,6 +43,7 @@ prepare_clvmd() {
 	local run_valgrind=
 	test "${LVM_VALGRIND_CLVMD:-0}" -eq 0 || run_valgrind="run_valgrind"
 	rm -f "$CLVMD_PIDFILE"
+	echo "<======== Starting CLVMD ========>"
 	$run_valgrind clvmd -Isinglenode -d 1 -f &
 	echo $! > LOCAL_CLVMD
 
@@ -695,7 +696,7 @@ EOF
 		done
 		echo "}"
 		echo
-	done | tee "$config"
+	done | tee "$config" | sed -e "s,^,## LVMCONF: ,"
 }
 
 lvmconf() {
test/lib/inittest.sh +1 -0
index e3d874b..067c3d4 100644
@@ -97,5 +97,6 @@ test -n "$LVM_TEST_LVMETAD" && {
 # Vars for harness
 echo "@TESTDIR=$TESTDIR"
 echo "@PREFIX=$PREFIX"
+echo "<======== Processing test: \"$TESTNAME\" ========>"
 
 set -vx
test/lib/utils.sh +33 -18

58 lines not on this page · raw message