svn commit: samba r18421 - in branches/SAMBA_4_0/source/torture: .
metze at samba.org
metze at samba.org
Tue Sep 12 07:35:04 GMT 2006
Author: metze
Date: 2006-09-12 07:35:04 +0000 (Tue, 12 Sep 2006)
New Revision: 18421
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18421
Log:
support --target=samba3, I thought that was already supported
metze
Modified:
branches/SAMBA_4_0/source/torture/smbtorture.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/smbtorture.c
===================================================================
--- branches/SAMBA_4_0/source/torture/smbtorture.c 2006-09-12 07:25:16 UTC (rev 18420)
+++ branches/SAMBA_4_0/source/torture/smbtorture.c 2006-09-12 07:35:04 UTC (rev 18421)
@@ -399,7 +399,7 @@
{"parse-dns", 'D', POPT_ARG_STRING, NULL, OPT_DNS, "parse-dns", NULL},
{"dangerous", 'X', POPT_ARG_NONE, NULL, OPT_DANGEROUS,
"run dangerous tests (eg. wiping out password database)", NULL},
- {"target", 'T', POPT_ARG_STRING, &target, 0, "samba4|other", NULL},
+ {"target", 'T', POPT_ARG_STRING, &target, 0, "samba3|samba4|other", NULL},
{"async", 'a', POPT_ARG_NONE, NULL, OPT_ASYNC,
"run async tests", NULL},
{"num-async", 0, POPT_ARG_INT, &torture_numasync, 0,
@@ -489,7 +489,9 @@
exit(1);
}
- if (!strcmp(target, "samba4")) {
+ if (strcmp(target, "samba3") == 0) {
+ lp_set_cmdline("target:samba3", "true");
+ } else if (strcmp(target, "samba4") == 0) {
lp_set_cmdline("target:samba4", "true");
}
More information about the samba-cvs
mailing list