summaryrefslogtreecommitdiff
path: root/testdata/samba3/verify
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-03-03 02:06:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:08 -0500
commit99fb785ea1dcf8ccc7bcbceed350178884e824b1 (patch)
tree5c6829f8ea7fc49480bda8313d390cbb612e9f99 /testdata/samba3/verify
parent1cc7b6e7397444a859c78e5ecc61f53dd1017436 (diff)
downloadsamba-99fb785ea1dcf8ccc7bcbceed350178884e824b1.tar.gz
samba-99fb785ea1dcf8ccc7bcbceed350178884e824b1.tar.bz2
samba-99fb785ea1dcf8ccc7bcbceed350178884e824b1.zip
r21673: Fix Samba 3 data read tests. I can't figure out why the upgrade one is broken, so that one is still disabled.
(This used to be commit ef794f03d50022a77303c77045a04d9407d07cbc)
Diffstat (limited to 'testdata/samba3/verify')
-rwxr-xr-xtestdata/samba3/verify8
1 files changed, 8 insertions, 0 deletions
diff --git a/testdata/samba3/verify b/testdata/samba3/verify
index ed6ed95189..ca495b137d 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);