Testing statx syscall Timestamp fields
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.
Signed-off-by Subash <[email protected]>
Signed-off-by Vaishnavi.D <[email protected]>
--- 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
@@ -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
@@ -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