diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-10 01:26:49 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-10 01:26:49 +0000 |
commit | 750f1a34fcae3f593c018c4da03043557f369339 (patch) | |
tree | 0aa824c4201e21eec153f115eed52ca0068e05fe /contrib/netbsd-tests | |
parent | 8864cde3495dbfd6b476c1b77a8bde035e1cf000 (diff) | |
download | FreeBSD-src-750f1a34fcae3f593c018c4da03043557f369339.zip FreeBSD-src-750f1a34fcae3f593c018c4da03043557f369339.tar.gz |
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
Diffstat (limited to 'contrib/netbsd-tests')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/rpc/t_rpc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c b/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c index 28a8763..0254743 100644 --- a/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c +++ b/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c @@ -45,6 +45,12 @@ __RCSID("$NetBSD: t_rpc.c,v 1.9 2015/11/27 13:59:40 christos Exp $"); #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); } |