Skip to contentSkip to conversation

Testing statx syscall Timestamp fields

PATCH Superseded subash 1 participant 1 message Sep 4, 2018

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

subash

author
#0 lore raw

PATCH v2 3/4 Testing statx syscall Timestamp fields

* statx_mtime.c:The time before and after the execution of the write system call is noted.
It is checked whether the modification time returned by statx lies in this range.

---
 runtest/syscalls                              |  1 +
 testcases/kernel/syscalls/statx/.gitignore    |  1 +
 testcases/kernel/syscalls/statx/statx_mtime.c | 97 +++++++++++++++++++++++++++
 3 files changed, 99 insertions(+)
 create mode 100644 testcases/kernel/syscalls/statx/statx_mtime.c
runtest/syscalls +1 -0
index 6f5eb656a..eea045aac 100644
@@ -1496,3 +1496,4 @@ copy_file_range01 copy_file_range01
 
 statx_btime statx_btime
 statx_atime statx_atime
+statx_mtime statx_mtime
testcases/kernel/syscalls/statx/.gitignore +1 -0
index c5433d6bc..c9aef59be 100644
@@ -1,3 +1,4 @@
 /timestamp_helper
 /statx_btime
 /statx_atime
+/statx_mtime
testcases/kernel/syscalls/statx/statx_mtime.c new file +97 -0

97 lines not on this page · raw message

Signature · 1 line
2.11.0