From 324a77916752129b6b64b3596c493727b293fb52 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 20 Sep 2006 17:19:05 +0000 Subject: r18721: Fix base and samba3sam EJS tests to work without installation. (This used to be commit d062e101664a90f2f7bf0980449f920aa719ee76) --- testprogs/ejs/base.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'testprogs/ejs/base.js') diff --git a/testprogs/ejs/base.js b/testprogs/ejs/base.js index fddf64264c..3c998ee4f8 100755 --- a/testprogs/ejs/base.js +++ b/testprogs/ejs/base.js @@ -1,5 +1,13 @@ #!/bin/sh exec smbscript "$0" ${1+"$@"} + +var options = GetOptions(ARGV, + "POPT_COMMON_SAMBA"); +if (options == undefined) { + println("Failed to parse options"); + return -1; +} + libinclude("base.js"); var obj = new Object(); -- cgit