[LTP] [PATCH] lgetxattr01: Convert docs to docparse

Ma Xinjian maxj.fnst@fujitsu.com
Fri Aug 23 09:43:44 CEST 2024


Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
---
 .../kernel/syscalls/lgetxattr/lgetxattr01.c   | 25 +++++++++----------
 1 file changed, 12 insertions(+), 13 deletions(-)

diff --git a/testcases/kernel/syscalls/lgetxattr/lgetxattr01.c b/testcases/kernel/syscalls/lgetxattr/lgetxattr01.c
index 5c92d2317..221f9157a 100644
--- a/testcases/kernel/syscalls/lgetxattr/lgetxattr01.c
+++ b/testcases/kernel/syscalls/lgetxattr/lgetxattr01.c
@@ -1,18 +1,17 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 /*
-* Copyright (c) 2016 Fujitsu Ltd.
-* Author: Jinbao Huang <huangjb.jy@cn.fujitsu.com>
-*/
-
-/*
-* Test Name: lgetxattr01
-*
-* Description:
-* The testcase checks the basic functionality of the lgetxattr(2).
-* In the case of a symbolic link, we only get the value of the
-* extended attribute related to the link itself by name.
-*
-*/
+ * Copyright (c) 2016 Fujitsu Ltd.
+ * Author: Jinbao Huang <huangjb.jy@cn.fujitsu.com>
+ */
+
+/*\
+ * [Description]
+ *
+ * Check the basic functionality of the lgetxattr(2).
+ *
+ * In the case of a symbolic link, lgetxattr(2) only gets the value of the
+ * extended attribute related to the link itself by name.
+ */
 
 #include "config.h"
 #include <errno.h>
-- 
2.42.0



More information about the ltp mailing list