Skip to contentSkip to conversation

nice01/02/03/04: docparse comment

PATCH In review Avinesh Kumar 2 participants 2 messages Jul 14, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nice01/02/03/04: docparse comment

---
 testcases/kernel/syscalls/nice/nice01.c | 10 ++++++----
 testcases/kernel/syscalls/nice/nice02.c | 11 +++++++----
 testcases/kernel/syscalls/nice/nice03.c | 11 +++++++----
 testcases/kernel/syscalls/nice/nice04.c |  9 ++++++---
 4 files changed, 26 insertions(+), 15 deletions(-)
testcases/kernel/syscalls/nice/nice01.c +6 -4
index aee5ea043..ee360bfbf 100644
@@ -5,10 +5,12 @@
  * Copyright (c) 2016 Cyril Hrubis <[email protected]>
  */
 
-/*
- *  Verify that root can provide a negative value to nice()
- *  and hence root can decrease the nice value of the process
- *  using nice() system call
+/*\
+ * [Description]
+ *
+ * Verify that root can provide a negative value to nice()
+ * and hence root can decrease the nice value of the process
+ * using nice() system call
  */
 #include <unistd.h>
 #include <errno.h>
testcases/kernel/syscalls/nice/nice02.c +7 -4
index 036301000..1c7103758 100644
@@ -4,10 +4,13 @@
  * Ported to LTP: Wayne Boyer
  * Copyright (c) 2016 Cyril Hrubis <[email protected]>
  */
-/*
- *  Verify that any user can successfully increase the nice value of
- *  the process by passing a higher increment value (> max. applicable limits)
- *  to nice() system call.
+
+/*\
+ * [Description]
+ *
+ * Verify that any user can successfully increase the nice value of
+ * the process by passing a higher increment value (> max. applicable limits)
+ * to nice() system call.
  */
 #include <unistd.h>
 #include <errno.h>
testcases/kernel/syscalls/nice/nice03.c +7 -4
index 6047dd4cc..8198f2cf0 100644
@@ -4,10 +4,13 @@
  * Ported to LTP: Wayne Boyer
  * Copyright (c) 2016 Cyril Hrubis <[email protected]>
  */
-/*
- *  Verify that any user can successfully increase the nice value of
- *  the process by passing an increment value (< max. applicable limits) to
- *  nice() system call.
+
+/*\
+ * [Description]
+ *
+ * Verify that any user can successfully increase the nice value of
+ * the process by passing an increment value (< max. applicable limits) to
+ * nice() system call.
  */
 #include <unistd.h>
 #include <stdlib.h>
testcases/kernel/syscalls/nice/nice04.c +6 -3
index 1d64311b3..ac156008e 100644
@@ -4,9 +4,12 @@
  * Ported to LTP: Wayne Boyer
  * Copyright (c) 2016 Cyril Hrubis <[email protected]>
  */
-/*
- *  Verify that, nice(2) fails when, a non-root user attempts to increase
- *  the priority of a process by specifying a negative increment value.
+
+/*\
+ * [Description]
+ *
+ * Verify that, nice(2) fails when, a non-root user attempts to increase
+ * the priority of a process by specifying a negative increment value.
  */
 #include <pwd.h>
 #include <unistd.h>
Signature · 5 lines
2.36.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#1 lore raw

Hi Avinesh,

merged (with slightly changed commit message).

Thanks!

Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp