const char *sid_str,
const char *privilege);
-bool test_delay_writetime1(struct torture_context *tctx,
- double used_delay,
- double normal_delay,
- const char *description,
- bool (*get_basic_info_cb)(void *private_data,
- union smb_fileinfo *finfo),
- bool (*write_data_cb)(void *private_data),
- bool (*close_cb)(void *private_data,
- union smb_fileinfo *finfo),
- void *private_data);
+bool test_smb_timestamp_writetime1(struct torture_context *tctx,
+ double used_delay,
+ double normal_delay,
+ const char *description,
+ bool (*get_basic_info_cb)(void *private_data,
+ union smb_fileinfo *finfo),
+ bool (*write_data_cb)(void *private_data),
+ bool (*close_cb)(void *private_data,
+ union smb_fileinfo *finfo),
+ void *private_data);
#endif /* _TORTURE_UTIL_H_ */
COMPARE_TIME_CMP(given, access_time, given, write_time, !=); \
} while (0)
-bool test_delay_writetime1(struct torture_context *tctx,
- double used_delay,
- double normal_delay,
- const char *description,
- bool (*get_basic_info_cb)(void *private_data,
- union smb_fileinfo *finfo),
- bool (*write_data_cb)(void *private_data),
- bool (*close_cb)(void *private_data,
- union smb_fileinfo *finfo),
- void *private_data)
+bool test_smb_timestamp_writetime1(struct torture_context *tctx,
+ double used_delay,
+ double normal_delay,
+ const char *description,
+ bool (*get_basic_info_cb)(void *private_data,
+ union smb_fileinfo *finfo),
+ bool (*write_data_cb)(void *private_data),
+ bool (*close_cb)(void *private_data,
+ union smb_fileinfo *finfo),
+ void *private_data)
{
union smb_fileinfo finfo0, finfo1, finfo2, finfo3, finfoT;
struct timeval before_write;
bld.SAMBA_SUBSYSTEM('TORTURE_UTIL',
- source='util_smb.c util_writetime.c',
+ source='util_smb.c util_smb_timestamps.c',
public_deps='torture popt POPT_CREDENTIALS',
deps='smbclient-raw'
)