Disable flaky test lib.libc.sys.setrlimit_test.setrlimit_stack

PR:		259969
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Li-Wen Hsu 2021-11-28 14:58:21 +08:00
parent c3134a6af0
commit dad71022bd
No known key found for this signature in database
GPG key ID: 82B261B14D3BC7AF

View file

@ -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);