git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5206348
)
sq test_smb_timestamp_writetime1 source4/torture/util_smb_timestamps.c
author
Stefan Metzmacher
<metze@samba.org>
Wed, 15 Aug 2018 18:22:07 +0000
(20:22 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 15 Aug 2018 18:22:07 +0000
(20:22 +0200)
source4/torture/util_smb_timestamps.c
patch
|
blob
|
history
diff --git
a/source4/torture/util_smb_timestamps.c
b/source4/torture/util_smb_timestamps.c
index 7d1c0c6c64c05f898522b193864dea26b3aa44fb..9d007a542ac7c4e80b2b4571277a8cedccc47c68 100644
(file)
--- a/
source4/torture/util_smb_timestamps.c
+++ b/
source4/torture/util_smb_timestamps.c
@@
-199,7
+199,6
@@
bool test_smb_timestamp_writetime1(struct torture_context *tctx,
}
COMPARE_ALL_TIMES_EQUAL(finfoT, finfo0);
- //smb_msleep(0.01 * msec);
smb_msleep(1 * msec);
}
@@
-239,8
+238,6
@@
bool test_smb_timestamp_writetime1(struct torture_context *tctx,
struct timeval before_get;
struct timeval after_get;
- smb_msleep(0.01 * msec);
-
torture_comment(tctx, "Wait for change\n");
before_get = timeval_current();
ok = get_basic_info_cb(private_data, &finfoT);
@@
-272,6
+269,8
@@
bool test_smb_timestamp_writetime1(struct torture_context *tctx,
ok = write_data_cb(private_data);
after_last_write = timeval_current();
torture_assert(tctx, ok, "write_data_cb");
+
+ smb_msleep(0.01 * msec);
}
before_write = before_last_write;