summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-01 16:01:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:14 -0500
commit5525b2e8b7a8ce344421b70561b07c1620aeec5b (patch)
tree988f7e0049a86604046f8e06725753d1b00f09ac /source4
parent4c747e59d87df01e27602413d9ddda898fedb777 (diff)
downloadsamba-5525b2e8b7a8ce344421b70561b07c1620aeec5b.tar.gz
samba-5525b2e8b7a8ce344421b70561b07c1620aeec5b.tar.bz2
samba-5525b2e8b7a8ce344421b70561b07c1620aeec5b.zip
r8882: - enable the domain master
- start adding support for showing valgrind results in build farm tests (This used to be commit b1d0e9fa4e750564bcb80e7b8db9155aea6fac62)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/script/tests/selftest.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh
index 0420cefceb..664fca1819 100755
--- a/source4/script/tests/selftest.sh
+++ b/source4/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