svn commit: r313500 - stable/10/contrib/netbsd-tests/lib/libc/rpc
Ngie Cooper
ngie at FreeBSD.org
Fri Feb 10 01:26:51 UTC 2017
Author: ngie
Date: Fri Feb 10 01:26:49 2017
New Revision: 313500
URL: https://svnweb.freebsd.org/changeset/base/313500
Log:
Expect :raw to fail with a SIGSEGV on ^/stable/10
I haven't fully dug into why this happens, but it happens
deterministically on ^/stable/10, but not on ^/stable/11 or
^/head
PR: 216954
Sponsored by: Dell EMC Isilon
Modified:
stable/10/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c
Modified: stable/10/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c
==============================================================================
--- stable/10/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c Fri Feb 10 01:18:15 2017 (r313499)
+++ stable/10/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c Fri Feb 10 01:26:49 2017 (r313500)
@@ -45,6 +45,12 @@ __RCSID("$NetBSD: t_rpc.c,v 1.9 2015/11/
#define RPCBPROC_NULL 0
+/* XXX (ngie): for clarity on what needs to be reverted later. */
+#define __FreeBSD_bug_216954__
+#ifdef __FreeBSD_bug_216954__
+#include <signal.h>
+#endif
+
static int
reply(caddr_t replyp, struct netbuf * raddrp, struct netconfig * nconf)
{
@@ -337,9 +343,14 @@ ATF_TC_HEAD(raw, tc)
ATF_TC_BODY(raw, tc)
{
#ifdef __FreeBSD__
+#ifdef __FreeBSD_bug_216954__
+ atf_tc_expect_signal(SIGSEGV,
+ "fails with SIGSEGV only on ^/stable/10 -- bug # 216954");
+#else
atf_tc_expect_fail("fails with: clnt_call: "
"RPC: Can't decode result -- PR # 211804");
#endif
+#endif
rawtest(NULL);
}
More information about the svn-src-all
mailing list