diff options
Diffstat (limited to 'source3/script')
-rwxr-xr-x | source3/script/tests/test_local_s3.sh | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/source3/script/tests/test_local_s3.sh b/source3/script/tests/test_local_s3.sh index 1840779085..0c94871ba5 100755 --- a/source3/script/tests/test_local_s3.sh +++ b/source3/script/tests/test_local_s3.sh @@ -16,14 +16,23 @@ incdir=`dirname $0` failed=0 -testit "talloctort" $VALGRIND $BINDIR/talloctort || \ - failed=`expr $failed + 1` + +if test -x bin/talloctort ; then + testit "talloctort" $VALGRIND $BINDIR/talloctort || \ + failed=`expr $failed + 1` +else + echo "Skipping talloctort" +fi testit "replacetort" $VALGRIND $BINDIR/replacetort || \ failed=`expr $failed + 1` -testit "tdbtorture" $VALGRIND $BINDIR/tdbtorture || \ - failed=`expr $failed + 1` +if test -x bin/tdbtorture ; then + testit "tdbtorture" $VALGRIND $BINDIR/tdbtorture || \ + failed=`expr $failed + 1` +else + echo "Skipping tdbtorture" +fi testit "smbconftort" $VALGRIND $BINDIR/smbconftort $CONFIGURATION || \ failed=`expr $failed + 1` |