summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2012-04-16 14:51:22 +1000
committerMartin Schwenke <martin@meltin.net>2012-04-16 14:57:45 +1000
commit6eb8bf776ec0dc240a773ded0a7aaf99312dd271 (patch)
tree8a88fb428d6844ad7fca0feae2008f910631df5b
parentfec6fe628736c2b20ceeb53a43faa1ebff0a7ff0 (diff)
downloadsamba-6eb8bf776ec0dc240a773ded0a7aaf99312dd271.tar.gz
samba-6eb8bf776ec0dc240a773ded0a7aaf99312dd271.tar.xz
samba-6eb8bf776ec0dc240a773ded0a7aaf99312dd271.zip
tests - add -v option to set TEST_VERBOSE=true
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 43badc5418b9f533398cd579607d9f1fc0f8f417)
-rwxr-xr-xctdb/tests/scripts/run_tests5
1 files changed, 4 insertions, 1 deletions
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