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