Skip to contentSkip to conversation

syscalls/statx: Add test for sync flags

PATCH Superseded Vaishnavi 2 participants 2 messages Dec 12, 2018 – Dec 13, 2018

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Vaishnavi

author
#0 lore raw

PATCH v5 1/1 syscalls/statx: Add test for sync flags

Testcase 1: AT_STATX_DONT_SYNC
With AT_STATX_DONT_SYNC server changes should not get sync with client.

Testcase 2: AT_STATX_FORCE_SYNC
With AT_STATX_FORCE_SYNC server changes should get sync with client.

---
 runtest/syscalls                           |   1 +
 testcases/kernel/syscalls/statx/.gitignore |   1 +
 testcases/kernel/syscalls/statx/statx07.c  | 164 +++++++++++++++++++++++++++++
 3 files changed, 166 insertions(+)
 create mode 100644 testcases/kernel/syscalls/statx/statx07.c
runtest/syscalls +1 -0
index ac1d2d2..957b999 100644
@@ -1524,5 +1524,6 @@ statx03 statx03
 statx04 statx04
 statx05 statx05
 statx06 statx06
+statx07 statx07
 
 membarrier01 membarrier01
testcases/kernel/syscalls/statx/.gitignore +1 -0
index c1cedda..2f5457e 100644
@@ -4,3 +4,4 @@
 /statx04
 /statx05
 /statx06
+/statx07
testcases/kernel/syscalls/statx/statx07.c new file +164 -0

164 lines not on this page · raw message

Signature · 1 line
2.1.4