summaryrefslogtreecommitdiff
path: root/source3/script/tests/test_local_s3.sh
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-31 07:43:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:39:44 -0500
commit5e7ead245cc4b98b4d7742afb557d9b32c4b73b9 (patch)
tree70a7b419b30d1d0fae2401c1077a87d1e7515853 /source3/script/tests/test_local_s3.sh
parentc5173b529b3478a72355110f212b9c5e32d4d2ef (diff)
downloadsamba-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/test_local_s3.sh')
-rwxr-xr-xsource3/script/tests/test_local_s3.sh20
1 files changed, 20 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