Author: ngie Date: Thu Oct 23 08:29:09 2014 New Revision: 273540 URL: https://svnweb.freebsd.org/changeset/base/273540
Log: Omit the mprotect_exec testcase on FreeBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_mprotect.c Modified: head/contrib/netbsd-tests/lib/libc/sys/t_mprotect.c ============================================================================== --- head/contrib/netbsd-tests/lib/libc/sys/t_mprotect.c Thu Oct 23 08:13:07 2014 (r273539) +++ head/contrib/netbsd-tests/lib/libc/sys/t_mprotect.c Thu Oct 23 08:29:09 2014 (r273540) @@ -44,7 +44,9 @@ __RCSID("$NetBSD: t_mprotect.c,v 1.3 201 #include <atf-c.h> +#ifdef __NetBSD__ #include "../common/exec_prot.h" +#endif static long page = 0; static int pax_global = -1; @@ -160,6 +162,7 @@ ATF_TC_BODY(mprotect_err, tc) ATF_REQUIRE(errno == EINVAL); } +#ifdef __NetBSD__ ATF_TC(mprotect_exec); ATF_TC_HEAD(mprotect_exec, tc) { @@ -242,6 +245,7 @@ ATF_TC_BODY(mprotect_exec, tc) break; } } +#endif ATF_TC(mprotect_pax); ATF_TC_HEAD(mprotect_pax, tc) @@ -351,7 +355,9 @@ ATF_TP_ADD_TCS(tp) ATF_TP_ADD_TC(tp, mprotect_access); ATF_TP_ADD_TC(tp, mprotect_err); +#ifdef __NetBSD__ ATF_TP_ADD_TC(tp, mprotect_exec); +#endif ATF_TP_ADD_TC(tp, mprotect_pax); ATF_TP_ADD_TC(tp, mprotect_write); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"