[patch] tst-nice.c

Roland McGrath roland@redhat.com
Wed Mar 19 01:27:00 GMT 2003


> I don't know if there is any interest in regression tests, but if so,
> here is one for the nice() return value problem fixed on 2002-03-02 by
> Thorsten Kukuk.

We are most certainly interested in adding more regression tests.
Thanks very much for taking the time to use the test-skeleton.c form properly.

Your test will break if the test run itself is nice'd.  It is simple enough
to make it robust by calling nice (0) first to find the original nice value
before you increment it, and then calculate the expected result using that.


Thanks,
Roland



More information about the Libc-alpha mailing list