Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2017 07:45:20 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320726 - head/contrib/netbsd-tests/lib/libc/stdio
Message-ID:  <201707060745.v667jK3s072369@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Thu Jul  6 07:45:20 2017
New Revision: 320726
URL: https://svnweb.freebsd.org/changeset/base/320726

Log:
  Expect :snprintf_float to segfault
  
  This issue started occurring within the past month or so.
  
  PR:	220502
  Reported by:	Jenkins (amd64-head job)

Modified:
  head/contrib/netbsd-tests/lib/libc/stdio/t_printf.c

Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_printf.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/stdio/t_printf.c	Thu Jul  6 07:37:33 2017	(r320725)
+++ head/contrib/netbsd-tests/lib/libc/stdio/t_printf.c	Thu Jul  6 07:45:20 2017	(r320726)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707060745.v667jK3s072369>