Fix and connect setjmp test.
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
fa20ffcb72
commit
48a437b4b0
@ -87,7 +87,7 @@ __RCSID("$NetBSD: t_setjmp.c,v 1.1 2010/12/27 19:35:31 pgoyette Exp $");
|
||||
static int expectsignal;
|
||||
|
||||
static void
|
||||
aborthandler(int signo)
|
||||
aborthandler(int signo __unused)
|
||||
{
|
||||
ATF_REQUIRE_MSG(expectsignal, "kill(SIGABRT) succeeded");
|
||||
atf_tc_pass();
|
||||
|
@ -91,7 +91,7 @@ static pthread_t myself = NULL;
|
||||
static int expectsignal;
|
||||
|
||||
static void
|
||||
aborthandler(int signo)
|
||||
aborthandler(int signo __unused)
|
||||
{
|
||||
ATF_REQUIRE(myself == pthread_self());
|
||||
ATF_REQUIRE_MSG(expectsignal, "kill(SIGABRT) succeeded");
|
||||
|
@ -283,6 +283,8 @@
|
||||
..
|
||||
ssp
|
||||
..
|
||||
setjmp
|
||||
..
|
||||
stdio
|
||||
..
|
||||
stdlib
|
||||
|
@ -14,6 +14,7 @@ TESTS_SUBDIRS+= nss
|
||||
TESTS_SUBDIRS+= regex
|
||||
TESTS_SUBDIRS+= resolv
|
||||
TESTS_SUBDIRS+= rpc
|
||||
TESTS_SUBDIRS+= setjmp
|
||||
TESTS_SUBDIRS+= stdio
|
||||
TESTS_SUBDIRS+= stdlib
|
||||
TESTS_SUBDIRS+= string
|
||||
|
Loading…
Reference in New Issue
Block a user