diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-08 03:11:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:19:20 -0500 |
commit | 1e1a96eea6c340eb0fd867f942f176c13d856c5f (patch) | |
tree | edebc042490a034690c61e358a0cfcb61164f9e2 /testprogs | |
parent | ceb277ced9ccd13936384e94c567b37c5db2c46e (diff) | |
download | samba-1e1a96eea6c340eb0fd867f942f176c13d856c5f.tar.gz samba-1e1a96eea6c340eb0fd867f942f176c13d856c5f.tar.bz2 samba-1e1a96eea6c340eb0fd867f942f176c13d856c5f.zip |
r8214: added testing of echo_TestCall2(), which tests the union push code
(This used to be commit 1429b885fbcf93ed012c836e21d00ca5d8c58741)
Diffstat (limited to 'testprogs')
-rw-r--r-- | testprogs/ejs/echo.js | 17 |
1 files changed, 17 insertions, 0 deletions
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 <RPCBINDING>\n"); @@ -157,5 +173,6 @@ test_EchoData(conn); test_SinkData(conn); test_SourceData(conn); test_TestCall(conn); +test_TestCall2(conn); print("All OK\n"); |