From owner-svn-src-projects@freebsd.org Thu Feb 9 08:25:32 2017 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95E78CD7A2F for ; Thu, 9 Feb 2017 08:25:32 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5F0D8BBE; Thu, 9 Feb 2017 08:25:32 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v198PVqX045891; Thu, 9 Feb 2017 08:25:31 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v198PVS1045887; Thu, 9 Feb 2017 08:25:31 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201702090825.v198PVS1045887@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Thu, 9 Feb 2017 08:25:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r313468 - in projects/stable-10-backport-test-changes: contrib/netbsd-tests/lib/libc/c063 contrib/netbsd-tests/lib/libc/ssp lib/libc/tests/c063 lib/libc/tests/ssp X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2017 08:25:32 -0000 Author: ngie Date: Thu Feb 9 08:25:30 2017 New Revision: 313468 URL: https://svnweb.freebsd.org/changeset/base/313468 Log: MFC r276527,r277648: r276527: Don't install h_raw if dealing with clang 3.5.0+ to unbreak the tests2 Jenkins job The h_raw application doesn't do proper bounds checking without the option being supplied via the build, which means that it doesn't throw signals and fail as expected PR: 196430 r277648 (by jilles): Enable utimensat tests from NetBSD. As with other tests from c063, a required #include was missing. Modified: projects/stable-10-backport-test-changes/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c projects/stable-10-backport-test-changes/contrib/netbsd-tests/lib/libc/ssp/t_ssp.sh projects/stable-10-backport-test-changes/lib/libc/tests/c063/Makefile projects/stable-10-backport-test-changes/lib/libc/tests/ssp/Makefile Directory Properties: projects/stable-10-backport-test-changes/ (props changed) Modified: projects/stable-10-backport-test-changes/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c ============================================================================== --- projects/stable-10-backport-test-changes/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c Thu Feb 9 08:19:30 2017 (r313467) +++ projects/stable-10-backport-test-changes/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c Thu Feb 9 08:25:30 2017 (r313468) @@ -40,6 +40,9 @@ __RCSID("$NetBSD: t_utimensat.c,v 1.5 20 #include #include #include +#ifdef __FreeBSD__ +#include +#endif #include #define DIR "dir" Modified: projects/stable-10-backport-test-changes/contrib/netbsd-tests/lib/libc/ssp/t_ssp.sh ============================================================================== --- projects/stable-10-backport-test-changes/contrib/netbsd-tests/lib/libc/ssp/t_ssp.sh Thu Feb 9 08:19:30 2017 (r313467) +++ projects/stable-10-backport-test-changes/contrib/netbsd-tests/lib/libc/ssp/t_ssp.sh Thu Feb 9 08:25:30 2017 (r313468) @@ -361,6 +361,9 @@ raw_head() raw_body() { prog="$(atf_get_srcdir)/h_raw" + # Begin FreeBSD + [ -x $prog ] || atf_skip "$prog is missing; skipping testcase" + # End FreeBSD h_pass "$prog 9" # Begin FreeBSD Modified: projects/stable-10-backport-test-changes/lib/libc/tests/c063/Makefile ============================================================================== --- projects/stable-10-backport-test-changes/lib/libc/tests/c063/Makefile Thu Feb 9 08:19:30 2017 (r313467) +++ projects/stable-10-backport-test-changes/lib/libc/tests/c063/Makefile Thu Feb 9 08:25:30 2017 (r313468) @@ -2,7 +2,7 @@ TESTSDIR= ${TESTSBASE}/lib/libc/c063 -#TODO: t_o_search, t_utimensat +#TODO: t_o_search NETBSD_ATF_TESTS_C= faccessat_test NETBSD_ATF_TESTS_C+= fchmodat_test @@ -18,6 +18,7 @@ NETBSD_ATF_TESTS_C+= readlinkat_test NETBSD_ATF_TESTS_C+= renameat_test NETBSD_ATF_TESTS_C+= symlinkat_test NETBSD_ATF_TESTS_C+= unlinkat_test +NETBSD_ATF_TESTS_C+= utimensat CFLAGS+= -D_INCOMPLETE_XOPEN_C063 Modified: projects/stable-10-backport-test-changes/lib/libc/tests/ssp/Makefile ============================================================================== --- projects/stable-10-backport-test-changes/lib/libc/tests/ssp/Makefile Thu Feb 9 08:19:30 2017 (r313467) +++ projects/stable-10-backport-test-changes/lib/libc/tests/ssp/Makefile Thu Feb 9 08:25:30 2017 (r313468) @@ -26,7 +26,11 @@ PROGS+= h_getcwd PROGS+= h_memcpy PROGS+= h_memmove PROGS+= h_memset +# This testcase doesn't run properly when not compiled with -fsantize=bounds +# with clang, which is currently contingent on a compiler_rt update +.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 30500 PROGS+= h_raw +.endif PROGS+= h_read PROGS+= h_readlink PROGS+= h_snprintf