From 47e4b4b7c0f50a1b9d961b74970f67966d9ce0fb Mon Sep 17 00:00:00 2001 From: Fred Wright Date: Thu, 3 Mar 2016 16:44:46 -0800 Subject: Adds test name to regress-driver success message in single -q mode. When running parallelized daemon tests, the output includes many identical success messages that don't indicate which particular test completed. This change causes the logfile names to be reported in that case. It only applies to a successful run with the -q option, where exactly one test was run and it wasn't "not found". TESTED: Ran the complete set of regression tests in parallel mode, as well as manual cases both with and without -q with both one and two tests specified. Signed-off-by: Jon Schlueter --- regress-driver | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'regress-driver') diff --git a/regress-driver b/regress-driver index 62f1e16d..e64bc304 100755 --- a/regress-driver +++ b/regress-driver @@ -172,7 +172,12 @@ case $mode in echo "================================================================" status=1; else - echo "Regression test successful: no errors in $total tests ($notfound not found)."; + if [ $quiet = true ] && [ $total -eq 1 ] && [ $notfound -eq 0 ] + then + echo "Regression test $1 successful" + else + echo "Regression test successful: no errors in $total tests ($notfound not found)."; + fi status=0; fi ;; -- cgit v1.2.1