From 1e1a96eea6c340eb0fd867f942f176c13d856c5f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 8 Jul 2005 03:11:17 +0000 Subject: r8214: added testing of echo_TestCall2(), which tests the union push code (This used to be commit 1429b885fbcf93ed012c836e21d00ca5d8c58741) --- testprogs/ejs/echo.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'testprogs') diff --git a/testprogs/ejs/echo.js b/testprogs/ejs/echo.js index 0ae269846f..019242fd33 100644 --- a/testprogs/ejs/echo.js +++ b/testprogs/ejs/echo.js @@ -136,6 +136,22 @@ function test_TestCall(conn) 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 \n"); @@ -157,5 +173,6 @@ test_EchoData(conn); test_SinkData(conn); test_SourceData(conn); test_TestCall(conn); +test_TestCall2(conn); print("All OK\n"); -- cgit