r21673: Fix Samba 3 data read tests. I can't figure out why the upgrade one is broken...
[samba.git] / testdata / samba3 / verify
index ed6ed951894a9877368e535a55a87a4510462157..ca495b137de577b6af1cb00bd2ab5993f196c15c 100755 (executable)
@@ -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);