summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-01 16:01:09 +0000
committerAndrew Tridgell <tridge@samba.org>2005-08-01 16:01:09 +0000
commitab9e2f73777dee7a3b06e429e32f6fb3fdfea9ea (patch)
treeb6134bcc8f065021d9eddbbb86d1b6db3a92068a
parent937efcd2c9110a2d2f00561853bce1ce5e863bd3 (diff)
downloadsamba-ab9e2f73777dee7a3b06e429e32f6fb3fdfea9ea.tar.gz
samba-ab9e2f73777dee7a3b06e429e32f6fb3fdfea9ea.tar.xz
samba-ab9e2f73777dee7a3b06e429e32f6fb3fdfea9ea.zip
r8882: - enable the domain master
- start adding support for showing valgrind results in build farm tests
-rwxr-xr-xsource/script/tests/selftest.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/script/tests/selftest.sh b/source/script/tests/selftest.sh
index 0420cefceb6..664fca18190 100755
--- a/source/script/tests/selftest.sh
+++ b/source/script/tests/selftest.sh
@@ -94,6 +94,8 @@ cat >$CONFFILE<<EOF
tls enabled = $TLS_ENABLED
panic action = $SRCDIR/script/gdb_backtrace %PID% %PROG%
wins support = yes
+ domain master = yes
+ domain logons = yes
[tmp]
path = $TMPDIR
@@ -146,4 +148,14 @@ END=`date`
echo "START: $START ($0)";
echo "END: $END ($0)";
+# if there were any valgrind failures, show them
+list=`find $PREFIX -name 'valgrind.log*'`
+if [ x$list != x ]; then
+ for f in $PREFIX/valgrind.log*; do
+ echo "VALGRIND FAILURE";
+ failed=`expr $failed + 1`
+ cat $f
+ done
+fi
+
teststatus $0 $failed