nice01/02/03/04: docparse comment
PATCH 1/1 nice01/02/03/04: docparse comment
Signed-off-by Avinesh Kumar <[email protected]>
--- 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
@@ -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
@@ -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
@@ -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
@@ -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
Hi Avinesh,
merged (with slightly changed commit message).
Thanks!
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp