Commit 370629d73a5d7d73a95bbc2cb1c6c280e6c14243

Stefan Sperling 2019-01-02T18:41:45

make successful cmdline test output match that of other tests

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/regress/cmdline/common.sh b/regress/cmdline/common.sh
index d585d9b..00ace25 100644
--- a/regress/cmdline/common.sh
+++ b/regress/cmdline/common.sh
@@ -69,7 +69,7 @@ function test_cleanup
 function run_test
 {
 	testfunc="$1"
-	echo "$testfunc"
+	echo -n "$testfunc "
 	$testfunc
 }
 
@@ -79,6 +79,7 @@ function test_done
 	local result="$2"
 	if [ "$result" == "0" ]; then
 		test_cleanup "$testroot"
+		echo "ok"
 	else
 		echo "test failed; leaving test data in $testroot"
 	fi