Basic tests for setxattr(2)/getxattr(2) and make sure they handle error
conditions correctly.
v2 -> v3:
1. Remove unnecessary variables
2. Add setxattr02 and getxattr02 testcases
v1 -> v2:
1. Statically initialize test case array
2. Use TTERRNO with TPASS and TFAIL to print TEST_ERRNO message
Eryu Guan (4):
syscalls/setxattr01: new testcase to test setxattr(2) basic function
syscalls/getxattr01: new testcase to test getxattr(2) basic function
syscalls/setxattr02: new testcase to test setxattr(2)
syscalls/getxattr02: new testcase to test getxattr(2)
runtest/syscalls | 6 +
testcases/kernel/syscalls/getxattr/Makefile | 23 +++
testcases/kernel/syscalls/getxattr/getxattr01.c | 173 +++++++++++++++++
testcases/kernel/syscalls/getxattr/getxattr02.c | 152 +++++++++++++++
testcases/kernel/syscalls/setxattr/Makefile | 23 +++
testcases/kernel/syscalls/setxattr/setxattr01.c | 223 +++++++++++++++++++++
testcases/kernel/syscalls/setxattr/setxattr02.c | 235 +++++++++++++++++++++++
7 files changed, 835 insertions(+), 0 deletions(-)
create mode 100644 testcases/kernel/syscalls/getxattr/Makefile
create mode 100644 testcases/kernel/syscalls/getxattr/getxattr01.c
create mode 100644 testcases/kernel/syscalls/getxattr/getxattr02.c
create mode 100644 testcases/kernel/syscalls/setxattr/Makefile
create mode 100644 testcases/kernel/syscalls/setxattr/setxattr01.c
create mode 100644 testcases/kernel/syscalls/setxattr/setxattr02.c
--
1.7.7.5
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list