Add more logging into the test-common wrapper
Change-Id: Ied6203daea3e4c30b004883fb37b2504b4d0d35e
diff --git a/test/test-common b/test/test-common
index 5c07772..22d9130 100755
--- a/test/test-common
+++ b/test/test-common
@@ -129,21 +129,30 @@
}
start_logging () {
+ vecho "Starting logging on hosts"
all_hosts "echo HOSTS=\\\"$HOSTS\\\" > test-config"
}
stop_logging () {
+ vecho "Stopping logging on hosts"
all_hosts "rm -f test-config"
}
grab_logs () {
+ vecho "Grabbing logs"
all_hosts "cat /tmp/ping-log*"
}
clear_logs () {
+ vecho "Clearing old logs on hosts"
all_hosts "rm -f /tmp/ping-log*"
}
+pause () {
+ vecho "Pausing $1 seconds for systems to settle"
+ sleep $1
+}
+
cleanup () {
error=$?
if [ $error -ne 0 ] ; then