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

Ma Xinjian maxj.fnst@fujitsu.com
Mon Dec 16 07:45:26 CET 2024


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

diff --git a/testcases/kernel/syscalls/nanosleep/nanosleep01.c b/testcases/kernel/syscalls/nanosleep/nanosleep01.c
index eaacb89fa..bd9ae0caa 100644
--- a/testcases/kernel/syscalls/nanosleep/nanosleep01.c
+++ b/testcases/kernel/syscalls/nanosleep/nanosleep01.c
@@ -5,10 +5,11 @@
  * Copyright (C) 2015-2017 Cyril Hrubis <chrubis@suse.cz>
  */
 
-/*
- * Test Description:
- *  nanosleep() should return with value 0 and the process should be
- *  suspended for time specified by timespec structure.
+/*\
+ * [Description]
+ *
+ * Verify that nanosleep() should return with value 0 and the process should be
+ * suspended for time specified by timespec structure.
  */
 
 #include <errno.h>
-- 
2.47.0



More information about the ltp mailing list