Skip to contentSkip to conversation

syscalls/nice06: new test for nice()

PATCH zhaogongyi via ltp 1 participant 1 message Oct 26, 2022

lore
Share & tools
lore
#0 lore raw

Hi,

Quoted 11 lines

Hello,

Quoted 2 lines · Zhao Gongyi via ltp

Verify that the errno is nonzero when callling of nice legitimately return -1.

This does not require a separate test and EPERM is the only errno that is listed in the man page.

This testcase is intentionally designed to test the errno is zero when callling of nice legitimately return -1,

For the other testcases of nice, return -1 will report TBROK, shall we need to add a test to check it ?

Regards,
Gongyi

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