summaryrefslogtreecommitdiff
path: root/testprogs/ejs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-10 00:19:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:28 -0500
commit2a08b290134eacc803389b20e604792a7e74eac4 (patch)
tree6d2f98d924624a12069904551655a26ebaee09d6 /testprogs/ejs
parent146c85410946540571fcaf01c85c3a0bffed8cb6 (diff)
downloadsamba-2a08b290134eacc803389b20e604792a7e74eac4.tar.gz
samba-2a08b290134eacc803389b20e604792a7e74eac4.tar.bz2
samba-2a08b290134eacc803389b20e604792a7e74eac4.zip
r8269: added automatic testing of rpc calls from ejs in 'make test'
(This used to be commit c760180119b4ac9307783bc50892a3dc57b2465e)
Diffstat (limited to 'testprogs/ejs')
-rw-r--r--testprogs/ejs/echo.js1
-rw-r--r--testprogs/ejs/samr.js3
2 files changed, 3 insertions, 1 deletions
diff --git a/testprogs/ejs/echo.js b/testprogs/ejs/echo.js
index 2040a4663e..9607466b0e 100644
--- a/testprogs/ejs/echo.js
+++ b/testprogs/ejs/echo.js
@@ -260,3 +260,4 @@ test_TestSurrounding(conn);
test_TestDoublePointer(conn);
print("All OK\n");
+return 0;
diff --git a/testprogs/ejs/samr.js b/testprogs/ejs/samr.js
index df54ca6062..1a1ca50569 100644
--- a/testprogs/ejs/samr.js
+++ b/testprogs/ejs/samr.js
@@ -179,7 +179,7 @@ print("Connecting to " + binding + "\n");
status = rpc_connect(conn, binding, "samr");
if (status.is_ok != true) {
print("Failed to connect to " + binding + " - " + status.errstr + "\n");
- return;
+ return -1;
}
handle = test_Connect(conn);
@@ -187,3 +187,4 @@ test_EnumDomains(conn, handle);
test_Close(conn, handle);
print("All OK\n");
+return 0;