[LTP] [PATCH] preadv201: Convert docs to docparse
Ma Xinjian
maxj.fnst@fujitsu.com
Fri Nov 15 07:58:52 CET 2024
Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
---
testcases/kernel/syscalls/preadv2/preadv201.c | 20 ++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/testcases/kernel/syscalls/preadv2/preadv201.c b/testcases/kernel/syscalls/preadv2/preadv201.c
index 50f5a2e01..8e5d1b9c7 100644
--- a/testcases/kernel/syscalls/preadv2/preadv201.c
+++ b/testcases/kernel/syscalls/preadv2/preadv201.c
@@ -4,15 +4,17 @@
* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
*/
-/*
- * Description:
- * Testcase to check the basic functionality of the preadv2(2).
- * 1) If the file offset argument is not -1, preadv2() should succeed
- * in reading the expected content of data and the file offset is
- * not changed after reading.
- * 2) If the file offset argument is -1, preadv2() should succeed in
- * reading the expected content of data and the current file offset
- * is used and changed after reading.
+/*\
+ * [Description]
+ *
+ * Verify the basic functionality of the preadv2(2).
+ *
+ * 1. If the file offset argument is not -1, preadv2() should succeed
+ * in reading the expected content of data and the file offset is not
+ * changed after reading.
+ * 2. If the file offset argument is -1, preadv2() should succeed in
+ * reading the expected content of data and the current file offset
+ * is used and changed after reading.
*/
#define _GNU_SOURCE
--
2.47.0
More information about the ltp
mailing list