Fix and connect setjmp test.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2016-03-09 22:45:04 +00:00
parent 17e75d1cd2
commit 30924962f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296586
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