Only skip problematic test in CI env.

PR:		237450
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Li-Wen Hsu 2019-09-11 18:40:05 +00:00
parent 301bc9f959
commit dfcf2d87dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352227

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;