Fix and connect setjmp test.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
bdrewery 2016-03-09 22:45:04 +00:00
parent fa20ffcb72
commit 48a437b4b0
4 changed files with 5 additions and 2 deletions

View File

@ -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();

View File

@ -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");

View File

@ -283,6 +283,8 @@
..
ssp
..
setjmp
..
stdio
..
stdlib

View File

@ -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