1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 09:56:51 +03:00
Commit Graph

2 Commits

Author SHA1 Message Date
Evgeny Vereshchagin
d5bc32d103 tests: don't change hard limit in test-rlimit-util
Fixes:
$ make valgrind-tests TESTS=test-rlimit-util
...
Running test-rlimit-util
Assertion 'setrlimit(RLIMIT_NOFILE, &new) >= 0' failed at src/test/test-rlimit-util.c:41, function main(). Aborting.

See http://valgrind.org/docs/manual/dist.news.old.html

The setrlimit system call now simply updates the emulated limits as best
as possible - the hard limit is not allowed to move at all and just
returns EPERM if you try and change it.
2016-01-04 07:56:48 +00:00
Evgeny Vereshchagin
fe39daf2c1 tests: add test-rlimit-util 2015-12-07 09:41:15 +00:00