| @@ -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 | |
3 | MKMAN= no | | 3 | MKMAN= 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 | |
9 | TESTSDIR= ${TESTSBASE}/lib/libc/sys | | 9 | TESTSDIR= ${TESTSBASE}/lib/libc/sys |
10 | | | 10 | |
11 | TESTS_C+= t_access | | 11 | TESTS_C+= t_access |
12 | TESTS_C+= t_bind | | 12 | TESTS_C+= t_bind |
13 | TESTS_C+= t_chroot | | 13 | TESTS_C+= t_chroot |
14 | TESTS_C+= t_clock_gettime | | 14 | TESTS_C+= t_clock_gettime |
| @@ -75,25 +75,26 @@ TESTS_C+= t_write | | | @@ -75,25 +75,26 @@ TESTS_C+= t_write |
75 | SRCS.t_mprotect= t_mprotect.c ${SRCS_EXEC_PROT} | | 75 | SRCS.t_mprotect= t_mprotect.c ${SRCS_EXEC_PROT} |
76 | | | 76 | |
77 | LDADD.t_getpid+= -lpthread | | 77 | LDADD.t_getpid+= -lpthread |
78 | | | 78 | |
79 | .if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE) | | 79 | .if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE) |
80 | CPPFLAGS.t_posix_fadvise.c += -D_KERNTYPES | | 80 | CPPFLAGS.t_posix_fadvise.c += -D_KERNTYPES |
81 | TESTS_C+= t_posix_fadvise | | 81 | TESTS_C+= t_posix_fadvise |
82 | LDADD.t_posix_fadvise+= -lrumpvfs -lrump -lrumpuser -lrump -lpthread | | 82 | LDADD.t_posix_fadvise+= -lrumpvfs -lrump -lrumpuser -lrump -lpthread |
83 | .endif | | 83 | .endif |
84 | | | 84 | |
85 | CPPFLAGS.t_lwp_create.c += -D_KERNTYPES | | 85 | CPPFLAGS.t_lwp_create.c += -D_KERNTYPES |
86 | | | 86 | |
87 | FILES= truncate_test.root_owned | | 87 | FILES= truncate_test.root_owned |
| | | 88 | FILESBUILD= yes |
88 | FILESDIR= ${TESTSDIR} | | 89 | FILESDIR= ${TESTSDIR} |
89 | FILESMODE= 0600 | | 90 | FILESMODE= 0600 |
90 | FILESOWNER= root | | 91 | FILESOWNER= root |
91 | FILESGRP= wheel | | 92 | FILESGRP= wheel |
92 | | | 93 | |
93 | CLEANFILES= truncate_test.root_owned | | 94 | CLEANFILES= truncate_test.root_owned |
94 | truncate_test.root_owned: | | 95 | truncate_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 | |
97 | WARNS= 4 | | 98 | WARNS= 4 |
98 | | | 99 | |
99 | .include <bsd.test.mk> | | 100 | .include <bsd.test.mk> |