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

brad at samba.org brad at samba.org
Sat Oct 14 14:50:30 GMT 2006


Author: brad
Date: 2006-10-14 14:50:30 +0000 (Sat, 14 Oct 2006)
New Revision: 19277

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

Log:
This commit adds support to run the smbtorture RPC-ASYNCBIND RPC-ATSVC
RPC-DSSETUP RPC-EPMAPPER RPC-INITSHUTDOWN RPC-LSA-GETUSER RPC-MULTIBIND RPC-ROT
RPC-SECRETS RPC-SRVSVC RPC-SVCCTL  RPC-WKSSVC tests against windows, either
by 'make wintest' or in the build farm.

I was surprised when RPC-EVENTLOG and RPC-LSA failed, so i'll investigate today.



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-10-14 10:36:14 UTC (rev 19276)
+++ branches/SAMBA_4_0/source/script/tests/test_win.sh	2006-10-14 14:50:30 UTC (rev 19277)
@@ -88,18 +88,24 @@
 	fi
 fi
 
-test_name="RPC-WINREG / WINDOWS SERVER"
-old_errs=$all_errs
+rpc_tests="RPC-WINREG RPC-ASYNCBIND RPC-ATSVC RPC-DSSETUP RPC-EPMAPPER"
+rpc_tests="$rpc_tests RPC-INITSHUTDOWN RPC-LSA-GETUSER RPC-MULTIBIND RPC-ROT"
+rpc_tests="$rpc_tests RPC-SECRETS RPC-SRVSVC RPC-SVCCTL RPC-WKSSVC"
 
-testit "$test_name" $SMBTORTURE_BIN_PATH \
-	-U $SMBTORTURE_USERNAME%$SMBTORTURE_PASSWORD \
-	-W $SMBTORTURE_WORKGROUP \
-	ncacn_np:$SMBTORTURE_REMOTE_HOST \
-	RPC-WINREG || all_errs=`expr $all_errs + 1`
-if [ $old_errs -lt $all_errs ]; then
-	restore_snapshot "\n$test_name failed."
-fi
+for t in $rpc_tests; do
+	test_name="$t / WINDOWS SERVER"
+	old_errs=$all_errs
 
+	testit "$test_name" $SMBTORTURE_BIN_PATH \
+		-U $SMBTORTURE_USERNAME%$SMBTORTURE_PASSWORD \
+		-W $SMBTORTURE_WORKGROUP \
+		ncacn_np:$SMBTORTURE_REMOTE_HOST \
+		$t || all_errs=`expr $all_errs + 1`
+	if [ $old_errs -lt $all_errs ]; then
+		restore_snapshot "\n$test_name failed."
+	fi
+done
+
 test_name="WINDOWS CLIENT / SAMBA SERVER SHARE"
 old_errs=$all_errs
 cat $WINTEST_DIR/common.exp > $TMPDIR/client_test.exp



More information about the samba-cvs mailing list