svn commit: r296586 - in head: contrib/netbsd-tests/lib/libc/setjmp etc/mtree lib/libc/tests

Bryan Drewery bdrewery at FreeBSD.org
Wed Mar 9 22:45:06 UTC 2016


Author: bdrewery
Date: Wed Mar  9 22:45:04 2016
New Revision: 296586
URL: https://svnweb.freebsd.org/changeset/base/296586

Log:
  Fix and connect setjmp test.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/contrib/netbsd-tests/lib/libc/setjmp/t_setjmp.c
  head/contrib/netbsd-tests/lib/libc/setjmp/t_threadjmp.c
  head/etc/mtree/BSD.tests.dist
  head/lib/libc/tests/Makefile

Modified: head/contrib/netbsd-tests/lib/libc/setjmp/t_setjmp.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/setjmp/t_setjmp.c	Wed Mar  9 22:45:00 2016	(r296585)
+++ head/contrib/netbsd-tests/lib/libc/setjmp/t_setjmp.c	Wed Mar  9 22:45:04 2016	(r296586)
@@ -87,7 +87,7 @@ __RCSID("$NetBSD: t_setjmp.c,v 1.1 2010/
 static int expectsignal;
 
 static void
-aborthandler(int signo)
+aborthandler(int signo __unused)
 {
 	ATF_REQUIRE_MSG(expectsignal, "kill(SIGABRT) succeeded");
 	atf_tc_pass();

Modified: head/contrib/netbsd-tests/lib/libc/setjmp/t_threadjmp.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/setjmp/t_threadjmp.c	Wed Mar  9 22:45:00 2016	(r296585)
+++ head/contrib/netbsd-tests/lib/libc/setjmp/t_threadjmp.c	Wed Mar  9 22:45:04 2016	(r296586)
@@ -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");

Modified: head/etc/mtree/BSD.tests.dist
==============================================================================
--- head/etc/mtree/BSD.tests.dist	Wed Mar  9 22:45:00 2016	(r296585)
+++ head/etc/mtree/BSD.tests.dist	Wed Mar  9 22:45:04 2016	(r296586)
@@ -283,6 +283,8 @@
             ..
             ssp
             ..
+            setjmp
+            ..
             stdio
             ..
             stdlib

Modified: head/lib/libc/tests/Makefile
==============================================================================
--- head/lib/libc/tests/Makefile	Wed Mar  9 22:45:00 2016	(r296585)
+++ head/lib/libc/tests/Makefile	Wed Mar  9 22:45:04 2016	(r296586)
@@ -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


More information about the svn-src-head mailing list