opnsense-src/contrib/netbsd-tests/lib/libc/sys
Dawid Gorecki 408c698b13 t_setrlimit: Adjust resource limit to 20M
With ASLR enabled by default, RLIMIT_STACK test fails due to the fact
that default stack gap can be as big as 15M. Because of that the
resource limit of 4M results in test program receiving SIGSEGV
immediately after exiting the setrlimit syscall. Since the idea of this
test is to check if rlim_cur does not extend past rlim_max, adjusting
the resource limit to 20M should not invalidate the test results.

Obtained from:		Semihalf
Sponsored by:		Alstom Group
Differential revision:	https://reviews.freebsd.org/D33116

(cherry picked from commit 4f741801d8)
2022-01-23 11:09:53 +01:00
..
t_access.c Add missing mode in open(2) calls with O_CREAT. 2019-07-16 22:27:49 +00:00
t_bind.c Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
t_chroot.c Import testcase updates with code contributed back to NetBSD 2017-01-11 09:51:34 +00:00
t_clock_gettime.c Diff reduce with upstream 2017-01-14 08:36:43 +00:00
t_clock_nanosleep.c Add clock_nanosleep() 2017-03-19 00:51:12 +00:00
t_clone.c
t_connect.c Diff reduce with upstream by taking diff hunks that were contributed back 2017-01-14 09:38:40 +00:00
t_dup.c Diff reduce with upstream by taking diff hunks that were contributed back 2017-01-14 09:38:40 +00:00
t_fsync.c
t_getcontext.c Replace __riscv__ with __riscv. 2018-08-03 12:47:54 +00:00
t_getgroups.c t_getgroups: No longer expected to fail 2021-07-07 14:09:44 -06:00
t_getitimer.c [tests] Fix itimer test warning-errors on gcc-6.4 2020-10-15 14:55:07 +00:00
t_getlogin.c
t_getpid.c
t_getrusage.c Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123 2017-01-14 06:49:17 +00:00
t_getsid.c
t_getsockname.c Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
t_gettimeofday.c Disable the NetBSD-specific EFAULT requirements test in gettimeofday_err 2016-04-07 06:21:33 +00:00
t_issetugid.c
t_kevent.c Diff reduce with upstream and consolidate #ifdefs where possible 2017-01-15 22:00:59 +00:00
t_kill.c
t_link.c Diff reduce with upstream by taking diff hunks that were contributed back 2017-01-14 09:38:40 +00:00
t_listen.c Diff reduce with upstream by taking diff hunks that were contributed back 2017-01-14 09:38:40 +00:00
t_lwp_create.c
t_lwp_ctl.c
t_mincore.c Pull in ^/vendor/NetBSD/tests/dist@r312219 2017-01-15 10:04:20 +00:00
t_minherit.c
t_mkdir.c
t_mkfifo.c
t_mknod.c - Ignore EINVAL check with mknod(path, S_IFCHR, -1) as the testcase is always 2014-10-24 03:42:37 +00:00
t_mlock.c t_mlock.c: Remove null_errno, it is write-only 2021-12-06 02:23:45 +02:00
t_mmap.c Adjust tests after page fault changes in r352807 2019-09-29 15:17:58 +00:00
t_mprotect.c Add missing mode in open(2) calls with O_CREAT. 2019-07-16 22:27:49 +00:00
t_msgctl.c Annotate all changes made in r316178-r316180 with __FreeBSD__ 2017-03-30 07:13:47 +00:00
t_msgget.c Stop writing past the end of the buffer in the msgget_limit test. The value 2018-07-19 17:13:46 +00:00
t_msgrcv.c Diff reduce with upstream by taking diff hunks that were contributed back 2017-01-14 09:38:40 +00:00
t_msgsnd.c Annotate all changes made in r316178-r316180 with __FreeBSD__ 2017-03-30 07:13:47 +00:00
t_msync.c Pull in ^/vendor/NetBSD/tests/dist@r312219 2017-01-15 10:04:20 +00:00
t_nanosleep.c nanosleep(2): Fix bogus incrementing of rmtp by tc_tick_sbt on [EINTR]. 2018-02-14 18:43:50 +00:00
t_pipe.c Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123 2017-01-14 06:49:17 +00:00
t_pipe2.c Fix two failing tests after ATF update 2021-03-17 12:22:15 +00:00
t_poll.c Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with 2014-11-17 13:39:00 +00:00
t_posix_fadvise.c Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123 2017-01-14 06:49:17 +00:00
t_posix_fallocate.c Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
t_recvmmsg.c
t_revoke.c Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123 2017-01-14 06:49:17 +00:00
t_select.c Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123 2017-01-14 06:49:17 +00:00
t_setrlimit.c t_setrlimit: Adjust resource limit to 20M 2022-01-23 11:09:53 +01:00
t_setuid.c
t_sigaction.c Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123 2017-01-14 06:49:17 +00:00
t_sigqueue.c Diff reduce with upstream by taking diff hunks that were contributed back 2017-01-14 09:38:40 +00:00
t_sigtimedwait.c
t_socketpair.c Fix two failing tests after ATF update 2021-03-17 12:22:15 +00:00
t_stat.c netbsd-tests: Fix the libc stat_socket test 2022-01-20 19:52:36 -05:00
t_swapcontext.c
t_timer_create.c Merge ^/vendor/NetBSD/tests/dist@r312294 2017-01-16 17:43:43 +00:00
t_truncate.c Diff reduce with upstream by taking diff hunks that were contributed back 2017-01-14 09:38:40 +00:00
t_ucontext.c
t_umask.c Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123 2017-01-14 06:49:17 +00:00
t_unlink.c Pull in ^/vendor/NetBSD/tests/dist@r312219 2017-01-15 10:04:20 +00:00
t_wait.c Skip tests depending on coredumps if coredumps are disabled via kern.coredump. 2017-05-16 18:42:44 +00:00
t_wait_noproc.c Diff reduce with upstream and consolidate #ifdefs where possible 2017-01-15 22:00:59 +00:00
t_wait_noproc_wnohang.c Upgrade NetBSD tests to 01.11.2017_23.20 snapshot 2017-01-13 03:33:57 +00:00
t_write.c Add missing mode in open(2) calls with O_CREAT. 2019-07-16 22:27:49 +00:00