diff mbox series

[1/2] getxattr04,05: Add [Description] tag

Message ID 20240121161159.4106646-1-ruansy.fnst@fujitsu.com
State Superseded
Headers show
Series [1/2] getxattr04,05: Add [Description] tag | expand

Commit Message

Shiyang Ruan Jan. 21, 2024, 4:11 p.m. UTC
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 mbox series

Patch

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