git: dad71022bd7a - main - Disable flaky test lib.libc.sys.setrlimit_test.setrlimit_stack
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Nov 2021 07:00:07 UTC
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/src/commit/?id=dad71022bd7a8f95ab2ba656bec61e2424a1c3c5
commit dad71022bd7a8f95ab2ba656bec61e2424a1c3c5
Author: Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2021-11-28 06:58:21 +0000
Commit: Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-11-28 06:58:21 +0000
Disable flaky test lib.libc.sys.setrlimit_test.setrlimit_stack
PR: 259969
Sponsored by: The FreeBSD Foundation
---
contrib/netbsd-tests/lib/libc/sys/t_setrlimit.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/contrib/netbsd-tests/lib/libc/sys/t_setrlimit.c b/contrib/netbsd-tests/lib/libc/sys/t_setrlimit.c
index 6b90deab8f3f..d5c50155e6dd 100644
--- a/contrib/netbsd-tests/lib/libc/sys/t_setrlimit.c
+++ b/contrib/netbsd-tests/lib/libc/sys/t_setrlimit.c
@@ -550,6 +550,9 @@ ATF_TC_BODY(setrlimit_stack, tc)
{
struct rlimit res;
+ if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
+ atf_tc_skip("https://bugs.freebsd.org/259969");
+
/* Ensure soft limit is not bigger than hard limit */
res.rlim_cur = res.rlim_max = 4192256;
ATF_REQUIRE(setrlimit(RLIMIT_STACK, &res) == 0);