public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/2] new test for nice()
@ 2022-10-20 12:57 Zhao Gongyi via ltp
  2022-10-20 12:57 ` [LTP] [PATCH v2 1/2] syscalls/nice06: " Zhao Gongyi via ltp
  2022-10-20 12:57 ` [LTP] [PATCH v2 2/2] syscalls/nice07: " Zhao Gongyi via ltp
  0 siblings, 2 replies; 4+ messages in thread
From: Zhao Gongyi via ltp @ 2022-10-20 12:57 UTC (permalink / raw)
  To: ltp

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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-24 11:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-20 12:57 [LTP] [PATCH v2 0/2] new test for nice() Zhao Gongyi via ltp
2022-10-20 12:57 ` [LTP] [PATCH v2 1/2] syscalls/nice06: " Zhao Gongyi via ltp
2022-10-24 11:27   ` Richard Palethorpe
2022-10-20 12:57 ` [LTP] [PATCH v2 2/2] syscalls/nice07: " Zhao Gongyi via ltp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox