[LTP] [PATCH 2/2] gettimeofday02: Convert docs to docparse

Yang Xu xuyang2018.jy@fujitsu.com
Mon Dec 18 07:21:29 CET 2023


Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
---
 testcases/kernel/syscalls/gettimeofday/gettimeofday02.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/testcases/kernel/syscalls/gettimeofday/gettimeofday02.c b/testcases/kernel/syscalls/gettimeofday/gettimeofday02.c
index 7c462cc29..fcd027df5 100644
--- a/testcases/kernel/syscalls/gettimeofday/gettimeofday02.c
+++ b/testcases/kernel/syscalls/gettimeofday/gettimeofday02.c
@@ -4,13 +4,12 @@
  * Copyright (C) 2017 Cyril Hrubis <chrubis@suse.cz>
  */
 
-/*
+/*\
  * DESCRIPTION
- *	Check if gettimeofday is monotonous
+ * Check if gettimeofday is monotonous during 10s
  *
- * ALGORITHM
- *	Call gettimeofday() to get a t1 (fist value)
- *	call it again to get t2, see if t2 < t1, set t2 = t1, repeat for 10 sec
+ * - Call gettimeofday() to get a t1 (fist value)
+ * - Call it again to get t2, see if t2 < t1, set t2 = t1, repeat for 10 sec
  */
 
 #include <stdint.h>
-- 
2.39.3



More information about the ltp mailing list