1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00
Stefan Metzmacher 1d0117c519 r7434: - do local tests step by step for better build-farm output
- fix typo ADDARGS -> ADDARG

metze
(This used to be commit 38e5198b1121725b4f1c9b27ac2f97bee43607fe)
2007-10-10 13:17:53 -05:00

26 lines
466 B
Bash
Executable File

#!/bin/sh
local_tests="LOCAL-NTLMSSP LOCAL-ICONV LOCAL-TALLOC LOCAL-MESSAGING LOCAL-IRPC LOCAL-BINDING LOCAL-IDTREE LOCAL-SOCKET"
if [ $# -lt 0 ]; then
cat <<EOF
Usage: test_local.sh
EOF
exit 1;
fi
if [ -z "$VALGRIND" ]; then
export MALLOC_CHECK_=2
fi
incdir=`dirname $0`
. $incdir/test_functions.sh
failed=0
for t in $local_tests; do
name="$t"
testit "$name" $VALGRIND bin/smbtorture ncalrpc: $t "$*" || failed=`expr $failed + 1`
done
testok $0 $failed