diff options
author | Volker Lendecke <vl@samba.org> | 2013-09-05 12:03:07 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-09-05 13:46:10 -0700 |
commit | f6afdcd555d240bd614425a144b13678b06e9978 (patch) | |
tree | ce338cddbf1cc3ab3a1f85a2c8635a50bf588ab1 /source4/torture | |
parent | 5e450f5ba9250608f6b85bbf4fc746879d56ccc1 (diff) | |
download | samba-f6afdcd555d240bd614425a144b13678b06e9978.tar.gz samba-f6afdcd555d240bd614425a144b13678b06e9978.tar.bz2 samba-f6afdcd555d240bd614425a144b13678b06e9978.zip |
torture: Add a new w2k12 target
W2k12 seems to do the 2-step break to none, try running raw.oplock.batch12
against it.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/smbtorture.c | 2 | ||||
-rw-r--r-- | source4/torture/util.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index 1a1fa348b7..cb0be97caf 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -498,6 +498,8 @@ int main(int argc,char *argv[]) lpcfg_set_cmdline(cmdline_lp_ctx, "torture:w2k8", "true"); lpcfg_set_cmdline(cmdline_lp_ctx, "torture:invalid_lock_range_support", "false"); + } else if (strcmp(target, "w2k12") == 0) { + lpcfg_set_cmdline(cmdline_lp_ctx, "torture:w2k12", "true"); } else if (strcmp(target, "win7") == 0) { lpcfg_set_cmdline(cmdline_lp_ctx, "torture:win7", "true"); lpcfg_set_cmdline(cmdline_lp_ctx, "torture:cn_max_buffer_size", diff --git a/source4/torture/util.h b/source4/torture/util.h index 3c72309b23..4695710fae 100644 --- a/source4/torture/util.h +++ b/source4/torture/util.h @@ -31,6 +31,7 @@ struct smbcli_tree; #define TARGET_IS_WINXP(_tctx) (torture_setting_bool(_tctx, "winxp", false)) #define TARGET_IS_W2K3(_tctx) (torture_setting_bool(_tctx, "w2k3", false)) #define TARGET_IS_W2K8(_tctx) (torture_setting_bool(_tctx, "w2k8", false)) +#define TARGET_IS_W2K12(_tctx) (torture_setting_bool(_tctx, "w2k12", false)) #define TARGET_IS_WIN7(_tctx) (torture_setting_bool(_tctx, "win7", false)) #define TARGET_IS_SAMBA3(_tctx) (torture_setting_bool(_tctx, "samba3", false)) #define TARGET_IS_SAMBA4(_tctx) (torture_setting_bool(_tctx, "samba4", false)) |