Enable utimensat tests from NetBSD.
As with other tests from c063, a required #include <sys/stat.h> was missing.
This commit is contained in:
parent
117f1bc17f
commit
8dd985befe
@ -40,6 +40,9 @@ __RCSID("$NetBSD: t_utimensat.c,v 1.5 2013/03/17 04:46:06 jmmv Exp $");
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/param.h>
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
#include <sys/time.h>
|
||||
|
||||
#define DIR "dir"
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user