diff options
author | Steven Danneman <steven.danneman@isilon.com> | 2009-10-02 17:02:20 -0700 |
---|---|---|
committer | Steven Danneman <steven.danneman@isilon.com> | 2009-10-06 19:43:15 -0700 |
commit | 26b77348414fc99ec0a07cb5376942d722ddf643 (patch) | |
tree | e112f7ee9d7bf203abd506cbc5b1b07f32309117 /source4/torture/smbtorture.c | |
parent | e9c3318e52ca41a3f40a9fe8803f882e4142a2db (diff) | |
download | samba-26b77348414fc99ec0a07cb5376942d722ddf643.tar.gz samba-26b77348414fc99ec0a07cb5376942d722ddf643.tar.bz2 samba-26b77348414fc99ec0a07cb5376942d722ddf643.zip |
s4/torture: Add server target of OneFS
I've added a "--target=onefs" which lists expected deviation in the
OneFS SMB server implementation compared to a Windows machine.
I've added this in a generic way using a list of module specific
parameters. This list currently only contains the absence of
SACL support but will be added to as additional server differences
are defined.
I'd liked to use this abstraction for defining the differences between
a WinXP and Win7 server as well.
Diffstat (limited to 'source4/torture/smbtorture.c')
-rw-r--r-- | source4/torture/smbtorture.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index ce8c704584..dbd45bf8af 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -436,8 +436,9 @@ int main(int argc,char *argv[]) static int list_tests = 0; int num_extra_users = 0; enum {OPT_LOADFILE=1000,OPT_UNCLIST,OPT_TIMELIMIT,OPT_DNS, OPT_LIST, - OPT_DANGEROUS,OPT_SMB_PORTS,OPT_ASYNC,OPT_NUMPROGS,OPT_EXTRA_USER}; - + OPT_DANGEROUS,OPT_SMB_PORTS,OPT_ASYNC,OPT_NUMPROGS, + OPT_EXTRA_USER,}; + struct poptOption long_options[] = { POPT_AUTOHELP {"format", 0, POPT_ARG_STRING, &ui_ops_name, 0, "Output format (one of: simple, subunit)", NULL }, @@ -529,6 +530,8 @@ int main(int argc,char *argv[]) lp_set_cmdline(cmdline_lp_ctx, "torture:w2k8", "true"); } else if (strcmp(target, "win7") == 0) { lp_set_cmdline(cmdline_lp_ctx, "torture:win7", "true"); + } else if (strcmp(target, "onefs") == 0) { + lp_set_cmdline(cmdline_lp_ctx, "torture:sacl_support", "false"); } if (max_runtime) { |