diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-22 12:34:50 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-23 03:34:57 +0200 |
commit | c6132465d166c2760b6ab291fea90c216b920372 (patch) | |
tree | 43a86b385d054b3fd954ba660c51dd7ff95cb689 /testprogs | |
parent | a46450810b7d41dc11b1d35807307d9b19e68682 (diff) | |
download | samba-c6132465d166c2760b6ab291fea90c216b920372.tar.gz |
Remove unused EJS testprogs.
(This used to be commit e14c9302009b371f385612d2fd500773d238006a)
Diffstat (limited to 'testprogs')
-rw-r--r-- | testprogs/ejs/loadparm.js | 25 | ||||
-rw-r--r-- | testprogs/ejs/resolveName.js | 13 |
2 files changed, 0 insertions, 38 deletions
diff --git a/testprogs/ejs/loadparm.js b/testprogs/ejs/loadparm.js deleted file mode 100644 index f56ca9f7fc..0000000000 --- a/testprogs/ejs/loadparm.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - demonstrate access to loadparm functions from ejs -*/ - -loadparm_init(local); - -function showParameter(name) { - print(name + ": "); - printVars(get(name)); -} - -for (v in ARGV) { - showParameter(ARGV[v]); -} - -print("defined services: "); -printVars(services()); - -showParameter("server services"); -showParameter("netbios name"); -showParameter("security"); -showParameter("workgroup"); -showParameter("log level"); -showParameter("server signing"); -showParameter("interfaces"); diff --git a/testprogs/ejs/resolveName.js b/testprogs/ejs/resolveName.js deleted file mode 100644 index 1619b69d69..0000000000 --- a/testprogs/ejs/resolveName.js +++ /dev/null @@ -1,13 +0,0 @@ -/* - Demonstrate use of resolveName() js function -*/ - -var result = new Object(); - -res = resolveName(result, ARGV[0]); - -if (res.is_ok) { - println(result.value); -} else { - println(res.errstr); -} |