summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'testdata')
-rwxr-xr-xtestdata/samba3/verify8
1 files changed, 8 insertions, 0 deletions
diff --git a/testdata/samba3/verify b/testdata/samba3/verify
index ed6ed951894..ca495b137de 100755
--- a/testdata/samba3/verify
+++ b/testdata/samba3/verify
@@ -5,6 +5,13 @@
Written by Jelmer Vernooij, 2005.
*/
+var sys;
+var options = GetOptions(ARGV, "POPT_AUTOHELP", "POPT_COMMON_SAMBA");
+if (options == undefined) {
+ println("Failed to parse options");
+ return -1;
+}
+
libinclude("base.js");
var path = substr(ARGV[0], 0, -strlen("verify"));
@@ -49,3 +56,4 @@ assert(s.policy.bad_lockout_minutes == 0);
println("account policies ok");
+exit(0);