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

tridge at samba.org tridge at samba.org
Sun Sep 17 20:01:16 GMT 2006


Author: tridge
Date: 2006-09-17 20:01:15 +0000 (Sun, 17 Sep 2006)
New Revision: 18595

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

Log:

try an experiment of adding a RPC test into the windows testing
framework

Brad, I know this is a bit hackish. We really need a "testit" like
function like in test_functions.sh

Modified:
   branches/SAMBA_4_0/source/script/tests/test_win.sh


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_win.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_win.sh	2006-09-17 19:17:41 UTC (rev 18594)
+++ branches/SAMBA_4_0/source/script/tests/test_win.sh	2006-09-17 20:01:15 UTC (rev 18595)
@@ -30,13 +30,22 @@
 # Run the smbtorture test.
 run_win_server_test()
 {
-	echo -e "\nRunning smbtorture RAW-QFILEINFO test."
+        winfailed=0
+	echo -e "\nRunning smbtorture tests."
+	echo -e "\nRunning RAW-QFILEINFO"
 	$SMBTORTURE_BIN_PATH \
 		-U $SMBTORTURE_USERNAME%$SMBTORTURE_PASSWORD \
 		-d 10 -W $SMBTORTURE_WORKGROUP \
 		//$SMBTORTURE_REMOTE_HOST/$SMBTORTURE_REMOTE_SHARE_NAME \
-		RAW-QFILEINFO
-	err_rtn=$?
+		RAW-QFILEINFO || winfailed=`expr $winfailed + 1`
+	
+	echo -e "\nRunning RPC-WINREG"
+	$SMBTORTURE_BIN_PATH \
+		-U $SMBTORTURE_USERNAME%$SMBTORTURE_PASSWORD \
+		-W $SMBTORTURE_WORKGROUP \
+		ncacn_np:$SMBTORTURE_REMOTE_HOST \
+		RPC-WINREG || winfailed=`expr $winfailed + 1`
+	err_rtn=$winfailed
 }
 
 # Clean up the windows environment after the test has run or failed.



More information about the samba-cvs mailing list