diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-08-01 16:01:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:30:14 -0500 |
commit | 5525b2e8b7a8ce344421b70561b07c1620aeec5b (patch) | |
tree | 988f7e0049a86604046f8e06725753d1b00f09ac /source4/script/tests | |
parent | 4c747e59d87df01e27602413d9ddda898fedb777 (diff) | |
download | samba-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/script/tests')
-rwxr-xr-x | source4/script/tests/selftest.sh | 12 |
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 |