From 6eb8bf776ec0dc240a773ded0a7aaf99312dd271 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Mon, 16 Apr 2012 14:51:22 +1000 Subject: tests - add -v option to set TEST_VERBOSE=true Signed-off-by: Martin Schwenke (This used to be ctdb commit 43badc5418b9f533398cd579607d9f1fc0f8f417) --- ctdb/tests/scripts/run_tests | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ctdb/tests/scripts/run_tests b/ctdb/tests/scripts/run_tests index 394b4150ac..51a89bb3a9 100755 --- a/ctdb/tests/scripts/run_tests +++ b/ctdb/tests/scripts/run_tests @@ -21,7 +21,9 @@ with_summary=false with_desc=false quiet=false -temp=$(getopt -n "$prog" -o "xdhqs" -l help -- "$@") +export TEST_VERBOSE=false + +temp=$(getopt -n "$prog" -o "xdhqsv" -l help -- "$@") [ $? != 0 ] && usage @@ -33,6 +35,7 @@ while true ; do -d) with_desc=true ; shift ;; # 4th line of output is description -q) quiet=true ; shift ;; -s) with_summary=true ; shift ;; + -v) TEST_VERBOSE=true ; shift ;; --) shift ; break ;; *) usage ;; esac -- cgit