svn commit: samba r8214 - in branches/SAMBA_4_0/testprogs/ejs: .
tridge at samba.org
tridge at samba.org
Fri Jul 8 03:11:18 GMT 2005
Author: tridge
Date: 2005-07-08 03:11:17 +0000 (Fri, 08 Jul 2005)
New Revision: 8214
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8214
Log:
added testing of echo_TestCall2(), which tests the union push code
Modified:
branches/SAMBA_4_0/testprogs/ejs/echo.js
Changeset:
Modified: branches/SAMBA_4_0/testprogs/ejs/echo.js
===================================================================
--- branches/SAMBA_4_0/testprogs/ejs/echo.js 2005-07-08 03:10:30 UTC (rev 8213)
+++ branches/SAMBA_4_0/testprogs/ejs/echo.js 2005-07-08 03:11:17 UTC (rev 8214)
@@ -136,7 +136,23 @@
assert("this is a test string" == io.output.s2);
}
+/*
+ test the echo_TestCall2 interface
+*/
+function test_TestCall2(conn)
+{
+ var io = irpcObj();
+ print("Testing echo_TestCall2\n");
+
+ for (i=1;i<=7;i++) {
+ io.input.level = i;
+ status = dcerpc_echo_TestCall2(conn, io);
+ check_status_ok(status);
+ }
+}
+
+
if (ARGV.length == 0) {
print("Usage: echo.js <RPCBINDING>\n");
exit(0);
@@ -157,5 +173,6 @@
test_SinkData(conn);
test_SourceData(conn);
test_TestCall(conn);
+test_TestCall2(conn);
print("All OK\n");
More information about the samba-cvs
mailing list