Skip to contentSkip to conversation

Testing statx syscall Timestamp fields

PATCH Superseded subash 1 participant 1 message Sep 10, 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

* statx08.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                           |  3 +-
 testcases/kernel/syscalls/statx/.gitignore |  3 +-
 testcases/kernel/syscalls/statx/statx08.c  | 88 ++++++++++++++++++++++++++++++
 3 files changed, 92 insertions(+), 2 deletions(-)
 create mode 100644 testcases/kernel/syscalls/statx/statx08.c
runtest/syscalls +2 -1
index da2f8c090..56827f80a 100644
@@ -1504,4 +1504,5 @@ statx02 statx02
 statx03 statx03
 statx04 statx04
 statx05 statx05
-statx07 statx07
\ No newline at end of file
+statx07 statx07
+statx08 statx08
\ No newline at end of file
testcases/kernel/syscalls/statx/.gitignore +2 -1
index 14cb1ec43..445a062dd 100644
@@ -3,4 +3,5 @@
 /statx03
 /statx04
 /statx05
-/statx07
\ No newline at end of file
+/statx07
+/statx08
\ No newline at end of file
testcases/kernel/syscalls/statx/statx08.c new file +88 -0

88 lines not on this page · raw message

Signature · 1 line
2.11.0