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

Ma Xinjian maxj.fnst@fujitsu.com
Fri Nov 15 07:08:04 CET 2024


Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
---
 testcases/kernel/syscalls/tee/tee02.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/testcases/kernel/syscalls/tee/tee02.c b/testcases/kernel/syscalls/tee/tee02.c
index 5ebb3c3f6..c3b991189 100644
--- a/testcases/kernel/syscalls/tee/tee02.c
+++ b/testcases/kernel/syscalls/tee/tee02.c
@@ -3,15 +3,15 @@
  * Copyright (c) 2014 Fujitsu Ltd.
  * Author: Xing Gu <gux.fnst@cn.fujitsu.com>
  */
-/*
- * Description:
- *   Verify that,
- *   1) tee() returns -1 and sets errno to EINVAL if fd_in does
- *      not refer to a pipe.
- *   2) tee() returns -1 and sets errno to EINVAL if fd_out does
- *      not refer to a pipe.
- *   3) tee() returns -1 and sets errno to EINVAL if fd_in and
- *      fd_out refer to the same pipe.
+
+/*\
+ * [Description]
+ *
+ * Verify that, tee(2) returns -1 and sets errno to
+ *
+ * 1. EINVAL if fd_in does not refer to a pipe.
+ * 2. EINVAL if fd_out does not refer to a pipe.
+ * 3. EINVAL if fd_in and fd_out refer to the same pipe.
  */
 
 #define _GNU_SOURCE
-- 
2.47.0



More information about the ltp mailing list