Improved rlimit logic:
authorYang Tse <yangsita@gmail.com>
Thu, 26 Oct 2006 13:55:24 +0000 (13:55 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 26 Oct 2006 13:55:24 +0000 (13:55 +0000)
commit5b75b423e65f36cb48930f7c43fd872bb67f0df4
tree1c32db520ff6514b171a12c7d2360c64acf66223
parent012d7e28789cf6299c16beb1a95710a95ea97258
Improved rlimit logic:
- Take in account RLIM_INFINITY.
- Verify that soft limit is actually changed when doing so.
- Show errno in case getrlimit or setrlimit fails.
- Keep file descriptors open only while runing this test.
tests/libtest/lib518.c