Only skip problematic test in CI env.

PR:		237450
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
lwhsu 2019-09-11 18:40:05 +00:00
parent 33487ec9e8
commit e8cc8e798b

View File

@ -187,7 +187,8 @@ ATF_TC_BODY(regcomp_too_big, tc)
struct rlimit limit;
#if defined(__i386__)
atf_tc_skip("https://bugs.freebsd.org/237450");
if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
atf_tc_skip("https://bugs.freebsd.org/237450");
#endif
limit.rlim_cur = limit.rlim_max = 256 * 1024 * 1024;