opnsense-src/usr.bin/limits
Eric van Gyzen 485f783f88 limits_test: validate CPU time used, not real time
RLIMIT_CPU applies to CPU time, not real (wall-clock) time.
This test failed in AWS, where the real time was 5-7 seconds.

Sum the user and system CPU time used, and validate that.

While I'm here, don't bother specifying -s exit:0 or -e empty,
since those are checked by default.

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
2023-04-14 16:16:05 -05:00
..
tests limits_test: validate CPU time used, not real time 2023-04-14 16:16:05 -05:00
limits.1 limits(1): Add EXAMPLES section 2020-06-25 16:46:27 +00:00
limits.c limits(1): fix always true condition 2018-01-21 08:48:26 +00:00
Makefile pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00