tests/fake_snap: sanitize paths
[samba.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 incdir=`dirname $0`/../../../testprogs/blackbox
13 . $incdir/subunit.sh
14
15 failed=0
16
17
18 if test -x bin/talloctort ; then
19         testit "talloctort" $VALGRIND $BINDIR/talloctort || \
20                 failed=`expr $failed + 1`
21 else
22         echo "Skipping talloctort"
23 fi
24
25 testit "replacetort" $VALGRIND $BINDIR/replacetort || \
26     failed=`expr $failed + 1`
27
28 if test -x bin/tdbtorture ; then
29         testit "tdbtorture" $VALGRIND $BINDIR/tdbtorture || \
30                 failed=`expr $failed + 1`
31 else
32         echo "Skipping tdbtorture"
33 fi
34
35 testit "smbconftort" $VALGRIND $BINDIR/smbconftort $CONFIGURATION || \
36         failed=`expr $failed + 1`
37
38 testok $0 $failed