diff options
author | Martin Schwenke <martin@meltin.net> | 2013-11-21 16:22:52 +1100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-11-27 18:46:17 +0100 |
commit | eea87806acea74ddcd7265f5cf6f280e5dbe5354 (patch) | |
tree | 8b881c24215aa6857ed107d7a22cac174e8bb264 | |
parent | 240f80d02bfbe23284f63b1cbdf6e61527f9f0a9 (diff) | |
download | samba-eea87806acea74ddcd7265f5cf6f280e5dbe5354.tar.gz samba-eea87806acea74ddcd7265f5cf6f280e5dbe5354.tar.xz samba-eea87806acea74ddcd7265f5cf6f280e5dbe5354.zip |
ctdb:tests: run_tests should ignore bogus test directories
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Michael Adam <obnox@samba.org>
-rwxr-xr-x | ctdb/tests/scripts/run_tests | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/tests/scripts/run_tests b/ctdb/tests/scripts/run_tests index 92bf686aeb..a037e813c8 100755 --- a/ctdb/tests/scripts/run_tests +++ b/ctdb/tests/scripts/run_tests @@ -211,6 +211,8 @@ find_and_run_one_test () break fi done + # No tests found? Not a tests directory! Not found... + [ -n "$status" ] || status=127 elif [ -f "$_f" ] ; then run_one_test "$_f" else |