diff options
author | Tim Potter <tpot@samba.org> | 2005-06-04 01:10:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:32 -0500 |
commit | 28732d92082c88e91702e0cd585e0c1c73138dde (patch) | |
tree | e8f2de1f1113105dad3c800775710b403d5ab49f /testprogs/ejs | |
parent | 383c5fb68a212eed60750793ad4b7e4bbcbcd2d5 (diff) | |
download | samba-28732d92082c88e91702e0cd585e0c1c73138dde.tar.gz samba-28732d92082c88e91702e0cd585e0c1c73138dde.tar.bz2 samba-28732d92082c88e91702e0cd585e0c1c73138dde.zip |
r7256: Demonstrate use of resolveName() js function.
(This used to be commit b8e1d2f68e86ead6ba42df710ed4957ebababdf8)
Diffstat (limited to 'testprogs/ejs')
-rw-r--r-- | testprogs/ejs/resolveName.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testprogs/ejs/resolveName.js b/testprogs/ejs/resolveName.js new file mode 100644 index 0000000000..c2d06b5c74 --- /dev/null +++ b/testprogs/ejs/resolveName.js @@ -0,0 +1,12 @@ +/* + Demonstrate use of resolveName() js function +*/ + +var result; +res = resolveName(result, "frogurt"); + +if (!res.is_ok) { + println(res.errstr); +} else { + println(result); +} |