Sat Jan 14 03:59:58 2017 UTC ()
Set FILESBUILD=yes to actually run the creation script for the file.

Should fix the build by creating a file which install can then find.


(pgoyette)
diff -r1.46 -r1.47 src/tests/lib/libc/sys/Makefile

cvs diff -r1.46 -r1.47 src/tests/lib/libc/sys/Makefile (expand / switch to unified diff)

--- src/tests/lib/libc/sys/Makefile 2017/01/13 20:03:51 1.46
+++ src/tests/lib/libc/sys/Makefile 2017/01/14 03:59:58 1.47
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.46 2017/01/13 20:03:51 christos Exp $ 1# $NetBSD: Makefile,v 1.47 2017/01/14 03:59:58 pgoyette Exp $
2 2
3MKMAN= no 3MKMAN= no
4 4
5.include <bsd.own.mk> 5.include <bsd.own.mk>
6 6
7.include "../arch/Makefile.exec_prot" 7.include "../arch/Makefile.exec_prot"
8 8
9TESTSDIR= ${TESTSBASE}/lib/libc/sys 9TESTSDIR= ${TESTSBASE}/lib/libc/sys
10 10
11TESTS_C+= t_access 11TESTS_C+= t_access
12TESTS_C+= t_bind 12TESTS_C+= t_bind
13TESTS_C+= t_chroot 13TESTS_C+= t_chroot
14TESTS_C+= t_clock_gettime 14TESTS_C+= t_clock_gettime
@@ -75,25 +75,26 @@ TESTS_C+= t_write @@ -75,25 +75,26 @@ TESTS_C+= t_write
75SRCS.t_mprotect= t_mprotect.c ${SRCS_EXEC_PROT} 75SRCS.t_mprotect= t_mprotect.c ${SRCS_EXEC_PROT}
76 76
77LDADD.t_getpid+= -lpthread 77LDADD.t_getpid+= -lpthread
78 78
79.if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE) 79.if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE)
80CPPFLAGS.t_posix_fadvise.c += -D_KERNTYPES 80CPPFLAGS.t_posix_fadvise.c += -D_KERNTYPES
81TESTS_C+= t_posix_fadvise 81TESTS_C+= t_posix_fadvise
82LDADD.t_posix_fadvise+= -lrumpvfs -lrump -lrumpuser -lrump -lpthread 82LDADD.t_posix_fadvise+= -lrumpvfs -lrump -lrumpuser -lrump -lpthread
83.endif 83.endif
84 84
85CPPFLAGS.t_lwp_create.c += -D_KERNTYPES 85CPPFLAGS.t_lwp_create.c += -D_KERNTYPES
86 86
87FILES= truncate_test.root_owned 87FILES= truncate_test.root_owned
 88FILESBUILD= yes
88FILESDIR= ${TESTSDIR} 89FILESDIR= ${TESTSDIR}
89FILESMODE= 0600 90FILESMODE= 0600
90FILESOWNER= root 91FILESOWNER= root
91FILESGRP= wheel 92FILESGRP= wheel
92 93
93CLEANFILES= truncate_test.root_owned 94CLEANFILES= truncate_test.root_owned
94truncate_test.root_owned: 95truncate_test.root_owned:
95 dd if=/dev/null bs=1 count=1 of=${.TARGET} 96 dd if=/dev/null bs=1 count=1 of=${.TARGET}
96 97
97WARNS= 4 98WARNS= 4
98 99
99.include <bsd.test.mk> 100.include <bsd.test.mk>