Testing statx syscall Timestamp fields
PATCH v2 2/4 Testing statx syscall Timestamp fields
* statx_atime.c:The time before and after the execution of the read system call is noted.
It is checked whether the access 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 | 3 +- testcases/kernel/syscalls/statx/statx_atime.c | 96 +++++++++++++++++++++++++++ 3 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 testcases/kernel/syscalls/statx/statx_atime.c
runtest/syscalls +1 -0
@@ -1495,3 +1495,4 @@ memfd_create02 memfd_create02 copy_file_range01 copy_file_range01 statx_btime statx_btime +statx_atime statx_atime
testcases/kernel/syscalls/statx/.gitignore +2 -1
@@ -1,2 +1,3 @@ /timestamp_helper -/statx_btime +/statx_btime +/statx_atime
testcases/kernel/syscalls/statx/statx_atime.c new file +96 -0
96 lines not on this page · raw message
Signature · 1 line
2.11.0