Expect :snprintf_float to segfault

This issue started occurring within the past month or so.

PR:	220502
Reported by:	Jenkins (amd64-head job)
This commit is contained in:
Enji Cooper 2017-07-06 07:45:20 +00:00
parent c5ad99fc69
commit 1f73e6d888

View File

@ -140,6 +140,10 @@ ATF_TC_BODY(snprintf_float, tc)
char buf[1000];
struct rlimit rl;
#ifdef __FreeBSD__
atf_tc_expect_signal(SIGSEGV, "test segfaults; PR # 220502");
#endif
rl.rlim_cur = rl.rlim_max = 1 * 1024 * 1024;
ATF_CHECK(setrlimit(RLIMIT_AS, &rl) != -1);
rl.rlim_cur = rl.rlim_max = 1 * 1024 * 1024;