summaryrefslogtreecommitdiff
path: root/source4/torture/util.h
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-12-01 16:27:10 -0800
committerTim Prouty <tprouty@samba.org>2009-12-03 18:54:52 -0800
commitb14da4f7c54e88e615f2bb19bec43bacb7f11de8 (patch)
treef11b27c418e1d8c10149f6d01e4a036023fcd6e9 /source4/torture/util.h
parentfc7832602d149dee61ff003902bc5f54cd0de0f2 (diff)
downloadsamba-b14da4f7c54e88e615f2bb19bec43bacb7f11de8.tar.gz
s4 torture: Add a few more windows target types
Diffstat (limited to 'source4/torture/util.h')
-rw-r--r--source4/torture/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/util.h b/source4/torture/util.h
index 35662416b5a..0dadc89be6a 100644
--- a/source4/torture/util.h
+++ b/source4/torture/util.h
@@ -28,6 +28,8 @@ struct smbcli_tree;
/**
* Useful target macros for handling server bugs in torture tests.
*/
+#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_WIN7(_tctx) (torture_setting_bool(_tctx, "win7", false))
#define TARGET_IS_SAMBA3(_tctx) (torture_setting_bool(_tctx, "samba3", false))