Fix the tests on platforms without RLIMIT_RTPRIO.
Merge pull request #550 from nomis52/master

Fix the tests on platforms without RLIMIT_RTPRIO.