Date: Thu, 9 Feb 2017 21:26:14 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r313481 - in stable/10: contrib/netbsd-tests/lib/libc/c063 lib/libc/tests/c063 Message-ID: <201702092126.v19LQEUx072103@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Thu Feb 9 21:26:14 2017 New Revision: 313481 URL: https://svnweb.freebsd.org/changeset/base/313481 Log: MFC r277648: r277648 (by jilles): Enable utimensat tests from NetBSD. As with other tests from c063, a required #include <sys/stat.h> was missing. Modified: stable/10/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c stable/10/lib/libc/tests/c063/Makefile Directory Properties: stable/10/ (props changed) Modified: stable/10/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c ============================================================================== --- stable/10/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c Thu Feb 9 21:23:41 2017 (r313480) +++ stable/10/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c Thu Feb 9 21:26:14 2017 (r313481) @@ -40,6 +40,9 @@ __RCSID("$NetBSD: t_utimensat.c,v 1.5 20 #include <string.h> #include <unistd.h> #include <sys/param.h> +#ifdef __FreeBSD__ +#include <sys/stat.h> +#endif #include <sys/time.h> #define DIR "dir" Modified: stable/10/lib/libc/tests/c063/Makefile ============================================================================== --- stable/10/lib/libc/tests/c063/Makefile Thu Feb 9 21:23:41 2017 (r313480) +++ stable/10/lib/libc/tests/c063/Makefile Thu Feb 9 21:26:14 2017 (r313481) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702092126.v19LQEUx072103>