[LTP] [PATCH 1/2] getxattr04,05: Add [Description] tag
Shiyang Ruan
ruansy.fnst@fujitsu.com
Sun Jan 21 17:11:58 CET 2024
Signed-off-by: Shiyang Ruan <ruansy.fnst@fujitsu.com>
---
testcases/kernel/syscalls/getxattr/getxattr04.c | 4 +++-
testcases/kernel/syscalls/getxattr/getxattr05.c | 6 ++++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/testcases/kernel/syscalls/getxattr/getxattr04.c b/testcases/kernel/syscalls/getxattr/getxattr04.c
index e64f2a1f1..b1106ee20 100644
--- a/testcases/kernel/syscalls/getxattr/getxattr04.c
+++ b/testcases/kernel/syscalls/getxattr/getxattr04.c
@@ -4,7 +4,9 @@
* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
*/
-/*
+/*\
+ * [Description]
+ *
* This is a regression test for the race between getting an existing
* xattr and setting/removing a large xattr. This bug leads to that
* getxattr() fails to get an existing xattr and returns ENOATTR in xfs
diff --git a/testcases/kernel/syscalls/getxattr/getxattr05.c b/testcases/kernel/syscalls/getxattr/getxattr05.c
index 8d1752fd0..b144a87de 100644
--- a/testcases/kernel/syscalls/getxattr/getxattr05.c
+++ b/testcases/kernel/syscalls/getxattr/getxattr05.c
@@ -4,8 +4,10 @@
* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
*/
-/*
- * Description:
+/*\
+ * [Description]
+ *
+ * This test verifies that:
* 1) Witout a user namespace, getxattr(2) should get same data when
* acquiring the value of system.posix_acl_access twice.
* 2) With/Without mapped root UID in a user namespaces, getxattr(2) should
--
2.34.1
More information about the ltp
mailing list