[LTP] [PATCH v2 0/2] new test for nice()

Zhao Gongyi zhaogongyi@huawei.com
Thu Oct 20 14:57:45 CEST 2022


1. Verify that user of root can decrease the nice value of
   the process successfully by passing a lower increment
   value (< min. applicable limits) to nice() system call.
2. Verify that the errno is zero when callling of nice
   legitimately return -1.

Changes in v2:
  - Adapt the number of testcases
  - Modify the description of patch 2/2

Zhao Gongyi (2):
  syscalls/nice06: new test for nice()
  syscalls/nice07: new test for nice()

 runtest/syscalls                          |  2 +
 testcases/kernel/syscalls/nice/.gitignore |  2 +
 testcases/kernel/syscalls/nice/nice06.c   | 54 +++++++++++++++++++++++
 testcases/kernel/syscalls/nice/nice07.c   | 46 +++++++++++++++++++
 4 files changed, 104 insertions(+)
 create mode 100644 testcases/kernel/syscalls/nice/nice06.c
 create mode 100644 testcases/kernel/syscalls/nice/nice07.c

--
2.17.1



More information about the ltp mailing list