Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source4/torture/util.h

    r414 r745  
    2525struct smbcli_state;
    2626struct smbcli_tree;
     27
     28/**
     29 * Useful target macros for handling server bugs in torture tests.
     30 */
     31#define TARGET_IS_WINXP(_tctx) (torture_setting_bool(_tctx, "winxp", false))
     32#define TARGET_IS_W2K3(_tctx) (torture_setting_bool(_tctx, "w2k3", false))
     33#define TARGET_IS_W2K8(_tctx) (torture_setting_bool(_tctx, "w2k8", false))
     34#define TARGET_IS_WIN7(_tctx) (torture_setting_bool(_tctx, "win7", false))
     35#define TARGET_IS_SAMBA3(_tctx) (torture_setting_bool(_tctx, "samba3", false))
     36#define TARGET_IS_SAMBA4(_tctx) (torture_setting_bool(_tctx, "samba4", false))
    2737
    2838/**
     
    94104
    95105
     106NTSTATUS torture_check_privilege(struct smbcli_state *cli,
     107                                 const char *sid_str,
     108                                 const char *privilege);
     109
    96110
    97111#endif /* _TORTURE_UTIL_H_ */
Note: See TracChangeset for help on using the changeset viewer.