Date: Sat, 24 Jan 2015 15:49:41 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r277648 - in head: contrib/netbsd-tests/lib/libc/c063 lib/libc/tests/c063 Message-ID: <201501241549.t0OFnfHK037939@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jilles Date: Sat Jan 24 15:49:40 2015 New Revision: 277648 URL: https://svnweb.freebsd.org/changeset/base/277648 Log: Enable utimensat tests from NetBSD. As with other tests from c063, a required #include <sys/stat.h> was missing. Modified: head/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c head/lib/libc/tests/c063/Makefile Modified: head/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c ============================================================================== --- head/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c Sat Jan 24 15:40:52 2015 (r277647) +++ head/contrib/netbsd-tests/lib/libc/c063/t_utimensat.c Sat Jan 24 15:49:40 2015 (r277648) @@ -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: head/lib/libc/tests/c063/Makefile ============================================================================== --- head/lib/libc/tests/c063/Makefile Sat Jan 24 15:40:52 2015 (r277647) +++ head/lib/libc/tests/c063/Makefile Sat Jan 24 15:49:40 2015 (r277648) @@ -2,7 +2,7 @@ TESTSDIR= ${TESTSBASE}/lib/libc/c063 -#TODO: t_o_search, t_utimensat +#TODO: t_o_search NETBSD_ATF_TESTS_C= faccessat NETBSD_ATF_TESTS_C+= fchmodat @@ -18,6 +18,7 @@ NETBSD_ATF_TESTS_C+= readlinkat NETBSD_ATF_TESTS_C+= renameat NETBSD_ATF_TESTS_C+= symlinkat NETBSD_ATF_TESTS_C+= unlinkat +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?201501241549.t0OFnfHK037939>