s3:registry: add an extra check for dsize==0 to regdb_fetch_keys_internal()
[Samba/fernandojvsilva.git] / source3 / script / tests / test_local_s3.sh
blob0c94871ba5ea721a392b892b4a7b9f2b783923f3
1 #!/bin/sh
3 # this runs the file serving tests that are expected to pass with samba3
5 if [ $# != 0 ]; then
6 cat <<EOF
7 Usage: test_local_s3.sh
8 EOF
9 exit 1;
12 test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
13 incdir=`dirname $0`
14 . $incdir/test_functions.sh
17 failed=0
20 if test -x bin/talloctort ; then
21 testit "talloctort" $VALGRIND $BINDIR/talloctort || \
22 failed=`expr $failed + 1`
23 else
24 echo "Skipping talloctort"
27 testit "replacetort" $VALGRIND $BINDIR/replacetort || \
28 failed=`expr $failed + 1`
30 if test -x bin/tdbtorture ; then
31 testit "tdbtorture" $VALGRIND $BINDIR/tdbtorture || \
32 failed=`expr $failed + 1`
33 else
34 echo "Skipping tdbtorture"
37 testit "smbconftort" $VALGRIND $BINDIR/smbconftort $CONFIGURATION || \
38 failed=`expr $failed + 1`
40 testok $0 $failed