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

Ma Xinjian maxj.fnst@fujitsu.com
Wed Nov 13 10:07:45 CET 2024


Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
---
 testcases/kernel/syscalls/ftruncate/ftruncate01.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/testcases/kernel/syscalls/ftruncate/ftruncate01.c b/testcases/kernel/syscalls/ftruncate/ftruncate01.c
index 5ffdd0513..ea97edb1d 100644
--- a/testcases/kernel/syscalls/ftruncate/ftruncate01.c
+++ b/testcases/kernel/syscalls/ftruncate/ftruncate01.c
@@ -4,11 +4,13 @@
  * Copyright (c) 2019 FUJITSU LIMITED. All rights reserved.
  * Author: Wayne Boyer
  */
-/*
- * Test Description:
- *  Verify that, ftruncate() succeeds to truncate a file to a certain length,
- *  if the file previously is smaller than the truncated size, ftruncate()
- *  shall increase the size of the file.
+
+/*\
+ * [Description]
+ *
+ * Verify that, ftruncate() succeeds to truncate a file to a certain length,
+ * if the file previously is smaller than the truncated size, ftruncate()
+ * shall increase the size of the file.
  */
 
 #include <sys/types.h>
-- 
2.47.0



More information about the ltp mailing list