summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script')
-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