[LTP] [PATCH 2/2] syscalls/nice06: new test for nice()

zhaogongyi zhaogongyi@huawei.com
Wed Oct 26 10:21:00 CEST 2022


Hi,

> 
> Hello,
> 
> Zhao Gongyi via ltp <ltp@lists.linux.it> writes:
> 
> > 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


More information about the ltp mailing list