mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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:
parent
c5ad99fc69
commit
1f73e6d888
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320726
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue