svn commit: samba r22180 - in
branches/SAMBA_4_0/source/script/tests: .
abartlet at samba.org
abartlet at samba.org
Thu Apr 12 00:35:01 GMT 2007
Author: abartlet
Date: 2007-04-12 00:34:59 +0000 (Thu, 12 Apr 2007)
New Revision: 22180
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22180
Log:
Re-add testing of the CIFS backend.
Andrew Bartlett
Added:
branches/SAMBA_4_0/source/script/tests/test_cifs.sh
Modified:
branches/SAMBA_4_0/source/script/tests/tests_all.sh
Changeset:
Added: branches/SAMBA_4_0/source/script/tests/test_cifs.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_cifs.sh 2007-04-11 23:01:48 UTC (rev 22179)
+++ branches/SAMBA_4_0/source/script/tests/test_cifs.sh 2007-04-12 00:34:59 UTC (rev 22180)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# this runs the file serving tests that are expected to pass with the
+# current posix ntvfs backend, via the ntvfs cifs proxy
+
+ADDARGS="$*"
+
+incdir=`dirname $0`
+. $incdir/test_functions.sh
+
+raw=`bin/smbtorture --list | grep "^RAW-" | xargs`
+base=`bin/smbtorture --list | grep "^BASE-" | xargs`
+tests="$base $raw $smb2"
+
+for t in $tests; do
+ if [ ! -z "$start" -a "$start" != $t ]; then
+ continue;
+ fi
+ start=""
+ plantest "ntvfs/cifs $t" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/cifs -U"\$USERNAME"%"\$PASSWORD" $t
+done
Property changes on: branches/SAMBA_4_0/source/script/tests/test_cifs.sh
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/SAMBA_4_0/source/script/tests/tests_all.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/tests_all.sh 2007-04-11 23:01:48 UTC (rev 22179)
+++ branches/SAMBA_4_0/source/script/tests/tests_all.sh 2007-04-12 00:34:59 UTC (rev 22180)
@@ -8,6 +8,7 @@
$SRCDIR/script/tests/test_binding_string.sh
$SRCDIR/script/tests/test_echo.sh
$SRCDIR/script/tests/test_posix.sh
+ $SRCDIR/script/tests/test_cifs.sh
$SRCDIR/script/tests/test_local.sh
$SRCDIR/script/tests/test_pidl.sh
$SRCDIR/script/tests/test_blackbox.sh $PREFIX/blackbox
More information about the samba-cvs
mailing list