diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-31 07:43:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:39:44 -0500 |
commit | 5e7ead245cc4b98b4d7742afb557d9b32c4b73b9 (patch) | |
tree | 70a7b419b30d1d0fae2401c1077a87d1e7515853 /source3/script/tests | |
parent | c5173b529b3478a72355110f212b9c5e32d4d2ef (diff) | |
download | samba-5e7ead245cc4b98b4d7742afb557d9b32c4b73b9.tar.gz samba-5e7ead245cc4b98b4d7742afb557d9b32c4b73b9.tar.bz2 samba-5e7ead245cc4b98b4d7742afb557d9b32c4b73b9.zip |
r17953: run bin/talloctort with samba3's make test
metze
(This used to be commit 2d3ab069ddcb28ebd7cc72021a3510a606b50630)
Diffstat (limited to 'source3/script/tests')
-rwxr-xr-x | source3/script/tests/test_local_s3.sh | 20 | ||||
-rwxr-xr-x | source3/script/tests/tests_all.sh | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/source3/script/tests/test_local_s3.sh b/source3/script/tests/test_local_s3.sh new file mode 100755 index 0000000000..083162d92b --- /dev/null +++ b/source3/script/tests/test_local_s3.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +# this runs the file serving tests that are expected to pass with samba3 + +if [ $# != 0 ]; then +cat <<EOF +Usage: test_local_s3.sh +EOF +exit 1; +fi + +incdir=`dirname $0` +. $incdir/test_functions.sh + +failed=0 + +testit "talloctort" $VALGRIND $BINDIR/talloctort || \ + failed=`expr $failed + 1` + +testok $0 $failed diff --git a/source3/script/tests/tests_all.sh b/source3/script/tests/tests_all.sh index 059f9d1a37..dd593899e4 100755 --- a/source3/script/tests/tests_all.sh +++ b/source3/script/tests/tests_all.sh @@ -1,4 +1,5 @@ +$SCRIPTDIR/test_local_s3.sh || failed=`expr $failed + $?` $SCRIPTDIR/test_smbtorture_s3.sh //$SERVER_IP/tmp $USERNAME $PASSWORD "" || failed=`expr $failed + $?` $SCRIPTDIR/test_smbclient_s3.sh $SERVER $SERVER_IP || failed=`expr $failed + $?` |