s4:torture: add smb2.durable_open test reopen3
[samba.git] / source4 / torture / util.h
index 35662416b5ab274e7531e7ce2cfb4d4d8de39f26..3721273915adc9bb8aef2daf4f2848cf989eca7a 100644 (file)
@@ -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))
@@ -105,4 +107,5 @@ NTSTATUS torture_check_privilege(struct smbcli_state *cli,
                                 const char *sid_str,
                                 const char *privilege);
 
+
 #endif /* _TORTURE_UTIL_H_ */