freebsd-dev/usr.bin/limits/tests
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
..
limits_test.sh limits_test: validate CPU time used, not real time 2023-04-14 16:16:05 -05:00
Makefile
Makefile.depend