Merge branch 'master' of ssh://git.samba.org/data/git/samba
[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 testit "talloctort" $VALGRIND $BINDIR/talloctort || \
20     failed=`expr $failed + 1`
21
22 testit "replacetort" $VALGRIND $BINDIR/replacetort || \
23     failed=`expr $failed + 1`
24
25 testit "tdbtorture" $VALGRIND $BINDIR/tdbtorture || \
26     failed=`expr $failed + 1`
27
28 testit "smbconftort" $VALGRIND $BINDIR/smbconftort $CONFIGURATION || \
29         failed=`expr $failed + 1`
30
31 testok $0 $failed