From d105d5e9e40d9950f0c8e61ac17d352c4cb4e6e2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 8 Jul 2005 04:16:36 +0000 Subject: r8218: added testing of echo_TestSurrounding() and echo_TestDoublePointer(). All echo.idl functions are now tested and working from ejs. (This used to be commit c065d677697d3e8dbe2575113823a7ac7109ca70) --- testprogs/ejs/echo.js | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'testprogs') diff --git a/testprogs/ejs/echo.js b/testprogs/ejs/echo.js index 8cdacf8fc6..4bc8fdefb1 100644 --- a/testprogs/ejs/echo.js +++ b/testprogs/ejs/echo.js @@ -48,6 +48,16 @@ function check_array_equal(a1, a2) } } +/* + check that an array is all zeros +*/ +function check_array_zero(a) +{ + for (i=0; i\n"); @@ -213,5 +256,7 @@ test_TestCall(conn); test_TestCall2(conn); test_TestSleep(conn); test_TestEnum(conn); +test_TestSurrounding(conn); +test_TestDoublePointer(conn); print("All OK\n"); -- cgit