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 4/4 Testing statx syscall Timestamp fields

* statx_ctime.c:The time before and after the execution of the chmod system call is noted.
It is checked whether the status change time returned by statx lies in this range.

---
 runtest/syscalls                              |  1 +
 testcases/kernel/syscalls/statx/.gitignore    |  1 +
 testcases/kernel/syscalls/statx/statx_ctime.c | 88 +++++++++++++++++++++++++++
 3 files changed, 90 insertions(+)
 create mode 100644 testcases/kernel/syscalls/statx/statx_ctime.c
runtest/syscalls +1 -0
index eea045aac..7f7affe26 100644
@@ -1497,3 +1497,4 @@ copy_file_range01 copy_file_range01
 statx_btime statx_btime
 statx_atime statx_atime
 statx_mtime statx_mtime
+statx_ctime statx_ctime
testcases/kernel/syscalls/statx/.gitignore +1 -0
index c9aef59be..dd2fa1ed2 100644
@@ -2,3 +2,4 @@
 /statx_btime
 /statx_atime
 /statx_mtime
+/statx_ctime
testcases/kernel/syscalls/statx/statx_ctime.c new file +88 -0

88 lines not on this page · raw message

Signature · 1 line
2.11.0