svn commit: samba r21751 - in branches/SAMBA_4_0/source: . script/tests

abartlet at samba.org abartlet at samba.org
Wed Mar 7 20:33:16 GMT 2007


Author: abartlet
Date: 2007-03-07 20:33:15 +0000 (Wed, 07 Mar 2007)
New Revision: 21751

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21751

Log:
These 2 tests pass for me, so add them to the standard test script.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/samba4-skip
   branches/SAMBA_4_0/source/script/tests/test_nbt.sh
   branches/SAMBA_4_0/source/script/tests/tests_all.sh
   branches/SAMBA_4_0/source/script/tests/tests_quick.sh


Changeset:
Modified: branches/SAMBA_4_0/source/samba4-skip
===================================================================
--- branches/SAMBA_4_0/source/samba4-skip	2007-03-07 19:45:22 UTC (rev 21750)
+++ branches/SAMBA_4_0/source/samba4-skip	2007-03-07 20:33:15 UTC (rev 21751)
@@ -17,5 +17,3 @@
 RAW-SCAN-EAMAX
 SMB2-LOCK
 SMB2-NOTIFY
-LOCAL-RESOLVE
-NBT-DGRAM

Modified: branches/SAMBA_4_0/source/script/tests/test_nbt.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_nbt.sh	2007-03-07 19:45:22 UTC (rev 21750)
+++ branches/SAMBA_4_0/source/script/tests/test_nbt.sh	2007-03-07 20:33:15 UTC (rev 21751)
@@ -9,6 +9,8 @@
 fi
 
 SERVER="$1"
+USERNAME="$2"
+PASSWORD="$3"
 
 incdir=`dirname $0`
 . $incdir/test_functions.sh
@@ -24,7 +26,7 @@
 NBT_TESTS=`bin/smbtorture --list | grep ^NBT`
 
 for f in $NBT_TESTS; do
-    testit "$f" bin/smbtorture $TORTURE_OPTIONS //$SERVER/_none_ $f
+    testit "$f" bin/smbtorture $TORTURE_OPTIONS //$SERVER/_none_ $f -U$USERNAME%$PASSWORD 
 done
 
 testok $0 $failed

Modified: branches/SAMBA_4_0/source/script/tests/tests_all.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/tests_all.sh	2007-03-07 19:45:22 UTC (rev 21750)
+++ branches/SAMBA_4_0/source/script/tests/tests_all.sh	2007-03-07 20:33:15 UTC (rev 21751)
@@ -1,7 +1,7 @@
 #!/bin/sh
  $SRCDIR/script/tests/test_ejs.sh $DOMAIN $USERNAME $PASSWORD $CONFIGURATION
  $SRCDIR/script/tests/test_ldap.sh $SERVER $USERNAME $PASSWORD
- $SRCDIR/script/tests/test_nbt.sh $SERVER
+ $SRCDIR/script/tests/test_nbt.sh $SERVER $USERNAME $PASSWORD
  $SRCDIR/script/tests/test_rpc.sh $SERVER $USERNAME $PASSWORD $DOMAIN
  $SRCDIR/script/tests/test_net.sh $SERVER $USERNAME $PASSWORD $DOMAIN
  $SRCDIR/script/tests/test_session_key.sh $SERVER $USERNAME $PASSWORD $DOMAIN $NETBIOSNAME

Modified: branches/SAMBA_4_0/source/script/tests/tests_quick.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/tests_quick.sh	2007-03-07 19:45:22 UTC (rev 21750)
+++ branches/SAMBA_4_0/source/script/tests/tests_quick.sh	2007-03-07 20:33:15 UTC (rev 21751)
@@ -4,7 +4,7 @@
 
 $SRCDIR/script/tests/test_ejs.sh $DOMAIN $USERNAME $PASSWORD $CONFIGURATION
 $SRCDIR/script/tests/test_ldap.sh $SERVER $USERNAME $PASSWORD
-$SRCDIR/script/tests/test_nbt.sh $SERVER
+$SRCDIR/script/tests/test_nbt.sh $SERVER $USERNAME $PASSWORD
 $SRCDIR/script/tests/test_quick.sh //$SERVER/cifs $USERNAME $PASSWORD ""
 $SRCDIR/script/tests/test_rpc_quick.sh $SERVER $USERNAME $PASSWORD $DOMAIN
 #$SRCDIR/script/tests/test_cifsposix.sh //$SERVER/cifsposixtestshare $USERNAME $PASSWORD "" || totalfailed=`expr $totalfailed + $?`



More information about the samba-cvs mailing list