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 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.

---
 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
index 048fb9cc4..6f5eb656a 100644
@@ -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
index 4fb6f516f..c5433d6bc 100644
@@ -1,2 +1,3 @@
 /timestamp_helper
-/statx_btime
\ No newline at end of file
+/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