diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-26 13:34:36 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-26 13:34:36 +0200 |
commit | 9e37d25a92eaa7c65bb5d4822832fbf98a9504cb (patch) | |
tree | 017b9ab326336cce09a31c7135c28396cfd0f722 | |
parent | dce310ef4ec2eedb496e814cf341ad7caab821af (diff) | |
download | samba-9e37d25a92eaa7c65bb5d4822832fbf98a9504cb.tar.gz samba-9e37d25a92eaa7c65bb5d4822832fbf98a9504cb.tar.bz2 samba-9e37d25a92eaa7c65bb5d4822832fbf98a9504cb.zip |
Remove unused scripts.
(This used to be commit 3d22b72bb780065059f45ebeb6025d1bceb1f5b6)
-rw-r--r-- | testprogs/ejs/argv.js | 14 | ||||
-rwxr-xr-x | testprogs/ejs/nbtstats | 33 |
2 files changed, 0 insertions, 47 deletions
diff --git a/testprogs/ejs/argv.js b/testprogs/ejs/argv.js deleted file mode 100644 index ffb6e007eb..0000000000 --- a/testprogs/ejs/argv.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - demonstrate use of GetOptions -*/ - -var options = GetOptions(ARGV, - "POPT_AUTOHELP", - "POPT_COMMON_SAMBA", - "myopt=s", - "intopt=i", - "noopt"); - -println("You called this script with arguments:"); - -printVars(options); diff --git a/testprogs/ejs/nbtstats b/testprogs/ejs/nbtstats deleted file mode 100755 index 1c8a6a5e7e..0000000000 --- a/testprogs/ejs/nbtstats +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env smbscript -/* - demonstrate access to irpc calls from ejs -*/ - -var options = GetOptions(ARGV, - "POPT_AUTOHELP", - "POPT_COMMON_SAMBA"); -if (options == undefined) { - println("Failed to parse options"); - return -1; -} - -var conn = new Object(); -var irpc = irpc_init(); - -status = irpc_connect(conn, "nbt_server"); -assert(status.is_ok == true); - -io = new Object(); -io.input = new Object(); -io.input.level = irpc.NBTD_INFO_STATISTICS; -status = irpc.nbtd_information(conn, io); -assert(status.is_ok == true); -assert(io.results.length == 1); - -print("nbt_server statistics:\n"); -stats = io.results[0].info.stats; - -for (r in stats) { - print("\t" + r + ":\t" + stats[r] + "\n"); -} -return 0; |