Skip to contentSkip to conversation

Testing statx syscall

PATCH New Vaishnavi D 2 participants 2 messages Sep 3, 2018 – Sep 4, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v7 3/4 Testing statx syscall

From: vaishnavid <[email protected]>

* stat03.c: This file will check error code(errno) by providing required input in statx argument syscall. The following errno are
checked: EBADF, EBADF, ENAMETOOLONG, ENOENT, ENOTDIR, EFAULT.

---
 runtest/syscalls                           |   3 +-
 testcases/kernel/syscalls/statx/.gitignore |   3 +-
 testcases/kernel/syscalls/statx/statx03.c  | 134 +++++++++++++++++++++++++++++
 3 files changed, 138 insertions(+), 2 deletions(-)
 create mode 100644 testcases/kernel/syscalls/statx/statx03.c
runtest/syscalls +2 -1
index 079c18fc7..554ebe63f 100644
@@ -1497,4 +1497,5 @@ memfd_create04 memfd_create04
 copy_file_range01 copy_file_range01
 
 statx01 statx01
-statx02 statx02
\ No newline at end of file
+statx02 statx02
+statx03 statx03
\ No newline at end of file
testcases/kernel/syscalls/statx/.gitignore +2 -1
index 1849891d6..067ac6493 100644
@@ -1,2 +1,3 @@
 /statx01
-/statx02
\ No newline at end of file
+/statx02
+/statx03
\ No newline at end of file
testcases/kernel/syscalls/statx/statx03.c new file +134 -0

134 lines not on this page · raw message

Signature · 1 line
2.11.0
#1 lore raw

PATCH v7 3/4 Testing statx syscall

Hi!
Pushed with minor changes similar to the previous patches, thanks.

Signature · 2 lines
Cyril Hrubis
[email protected]