Commit 4668287b authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

autotest: disable shell tracing around helper functions



Clean up the output a little bit.

Change-Id: I34e97d14be861e7cb7d71be5d56a5a7c36b37008
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 1b68a8e7
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -65,11 +65,15 @@ function timing() {
}

function timing_enter() {
	set +x
	timing "enter" "$1"
	set -x
}

function timing_exit() {
	set +x
	timing "exit" "$1"
	set -x
}

function timing_finish() {
@@ -177,11 +181,15 @@ function rbd_cleanup() {
}

function run_test() {
	set +x
	echo "************************************"
	echo "START TEST $1"
	echo "************************************"
	set -x
	time $1
	set +x
	echo "************************************"
	echo "END TEST $1"
	echo "************************************"
	set -x
}