s3-selftest: try to get RPC-SPOOLSS-NOTIFY running during make test on the buildfarm.
[ira/wip.git] / source3 / script / tests / test_local_s3.sh
1 #!/bin/sh
2
3 # this runs the file serving tests that are expected to pass with samba3
4
5 if [ $# != 0 ]; then
6 cat <<EOF
7 Usage: test_local_s3.sh
8 EOF
9 exit 1;
10 fi
11
12 test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
13 incdir=`dirname $0`
14 . $incdir/test_functions.sh
15 }
16
17 failed=0
18
19
20 if test -x bin/talloctort ; then
21         testit "talloctort" $VALGRIND $BINDIR/talloctort || \
22                 failed=`expr $failed + 1`
23 else
24         echo "Skipping talloctort"
25 fi
26
27 testit "replacetort" $VALGRIND $BINDIR/replacetort || \
28     failed=`expr $failed + 1`
29
30 if test -x bin/tdbtorture ; then
31         testit "tdbtorture" $VALGRIND $BINDIR/tdbtorture || \
32                 failed=`expr $failed + 1`
33 else
34         echo "Skipping tdbtorture"
35 fi
36
37 testit "smbconftort" $VALGRIND $BINDIR/smbconftort $CONFIGURATION || \
38         failed=`expr $failed + 1`
39
40 testok $0 $failed