s3-selftest: enable smb2 torture tests against samba3.
authorGünther Deschner <gd@samba.org>
Tue, 5 Oct 2010 10:19:58 +0000 (12:19 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 5 Oct 2010 14:38:07 +0000 (14:38 +0000)
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 14:38:07 UTC 2010 on sn-devel-104

selftest/target/Samba3.pm
source3/script/tests/selftest.sh
source3/script/tests/test_posix_s3.sh

index 47b791352237475911da2fbd4670e2c7378278f8..c03e18879249a2053ecfc72926c5247bd9f7b85d 100644 (file)
@@ -521,6 +521,7 @@ sub provision($$$$$$)
 
 #      min receivefile size = 4000
 
+       max protocol = SMB2
        read only = no
        smbd:sharedelay = 100000
 #      smbd:writetimeupdatedelay = 500000
index 5059ceab277afb10f1a41fe385da0f1ecd875d16..fba43e3306477823afb5c4233d112be882e37d4d 100755 (executable)
@@ -320,6 +320,7 @@ cat >$SERVERCONFFILE<<EOF
 
 #      min receivefile size = 4000
 
+       max protocol = SMB2
        read only = no
        smbd:sharedelay = 100000
 #      smbd:writetimeupdatedelay = 500000
index 59551d0ba5722b4345ec7d238197932d56056d87..3c6699e3438a9adc3c97c91b723b9aef741011b6 100755 (executable)
@@ -37,6 +37,9 @@ raw="$raw RAW-SAMBA3HIDE RAW-SAMBA3BADPATH RAW-SFILEINFO-RENAME"
 raw="$raw RAW-SAMBA3CASEINSENSITIVE RAW-SAMBA3POSIXTIMEDLOCK"
 raw="$raw RAW-SAMBA3ROOTDIRFID RAW-SFILEINFO-END-OF-FILE"
 
+smb2="SMB2-LOCK SMB2-READ SMB2-COMPOUND SMB2-CONNECT SMB2-SCAN SMB2-SCANFIND"
+smb2="$smb2 SMB2-BENCH-OPLOCK"
+
 rpc="RPC-AUTHCONTEXT RPC-SAMBA3-BIND RPC-SAMBA3-SRVSVC RPC-SAMBA3-SHARESEC"
 rpc="$rpc RPC-SAMBA3-SPOOLSS RPC-SAMBA3-WKSSVC RPC-SAMBA3-WINREG"
 rpc="$rpc RPC-SAMBA3-GETALIASMEMBERSHIP-0"
@@ -62,7 +65,7 @@ rap="RAP-BASIC RAP-RPC RAP-PRINTING RAP-SAM"
 # tests, so leaving it alone for now -- jpeach
 unix="UNIX-INFO2"
 
-tests="$base $raw $rpc $unix $local $winbind $rap"
+tests="$base $raw $smb2 $rpc $unix $local $winbind $rap"
 
 if test "x$POSIX_SUBTESTS" != "x" ; then
        tests="$POSIX_SUBTESTS"