[LTP] [PATCH v2 4/5] syscalls/kill11: Fix test description metadata

Ricardo B. Marlière rbm@suse.com
Thu May 15 11:11:38 CEST 2025


From: Ricardo B. Marlière <rbm@suse.com>

Reviewed-by: Li Wang <liwang@redhat.com>
Signed-off-by: Ricardo B. Marlière <rbm@suse.com>
---
 testcases/kernel/syscalls/kill/kill11.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/testcases/kernel/syscalls/kill/kill11.c b/testcases/kernel/syscalls/kill/kill11.c
index 918f17f22101ee2683f9d90d5a530e2a50403c1b..3cf62feaed777c76d9fd39a48b255bf2da927716 100644
--- a/testcases/kernel/syscalls/kill/kill11.c
+++ b/testcases/kernel/syscalls/kill/kill11.c
@@ -6,15 +6,16 @@
  *   Copyright (c) International Business Machines  Corp., 2002
  *   Copyright (c) Cyril Hrubis <chrubis@suse.cz> 2014
  *
- * Test checks that when a child is killed by its parent with sig, it
- * returns the correct values(sig and core dump bit) to the waiting parent.
- *
  * RESTRICTIONS
  * The ulimit for core file size must be greater than 0.
  */
 
+/*\
+ * Test checks that when a child is killed by its parent with sig, it
+ * returns the correct values(sig and core dump bit) to the waiting parent.
+ */
+
 #define _GNU_SOURCE
-#include <errno.h>
 #include <sys/types.h>
 #include <signal.h>
 #include <stdlib.h>

-- 
2.49.0



More information about the ltp mailing list