2014-11-04 00:56:25 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2015-11-16 04:15:39 +00:00
|
|
|
ATF_TESTS_C+= queue_test
|
|
|
|
|
2014-11-04 00:56:25 +00:00
|
|
|
# TODO: clone, lwp_create, lwp_ctl, posix_fadvise, recvmmsg,
|
|
|
|
# swapcontext
|
|
|
|
NETBSD_ATF_TESTS_C+= access_test
|
|
|
|
NETBSD_ATF_TESTS_C+= chroot_test
|
|
|
|
NETBSD_ATF_TESTS_C+= clock_gettime_test
|
|
|
|
NETBSD_ATF_TESTS_C+= connect_test
|
|
|
|
NETBSD_ATF_TESTS_C+= dup_test
|
|
|
|
NETBSD_ATF_TESTS_C+= fsync_test
|
|
|
|
NETBSD_ATF_TESTS_C+= getcontext_test
|
|
|
|
NETBSD_ATF_TESTS_C+= getgroups_test
|
|
|
|
NETBSD_ATF_TESTS_C+= getitimer_test
|
|
|
|
NETBSD_ATF_TESTS_C+= getlogin_test
|
|
|
|
NETBSD_ATF_TESTS_C+= getpid_test
|
|
|
|
NETBSD_ATF_TESTS_C+= getrusage_test
|
|
|
|
NETBSD_ATF_TESTS_C+= getsid_test
|
|
|
|
NETBSD_ATF_TESTS_C+= gettimeofday_test
|
|
|
|
NETBSD_ATF_TESTS_C+= issetugid_test
|
|
|
|
NETBSD_ATF_TESTS_C+= kevent_test
|
|
|
|
NETBSD_ATF_TESTS_C+= kill_test
|
|
|
|
NETBSD_ATF_TESTS_C+= link_test
|
|
|
|
NETBSD_ATF_TESTS_C+= listen_test
|
|
|
|
NETBSD_ATF_TESTS_C+= mincore_test
|
|
|
|
NETBSD_ATF_TESTS_C+= mkdir_test
|
|
|
|
NETBSD_ATF_TESTS_C+= mkfifo_test
|
|
|
|
NETBSD_ATF_TESTS_C+= mknod_test
|
|
|
|
NETBSD_ATF_TESTS_C+= mlock_test
|
|
|
|
NETBSD_ATF_TESTS_C+= mmap_test
|
|
|
|
NETBSD_ATF_TESTS_C+= mprotect_test
|
|
|
|
NETBSD_ATF_TESTS_C+= msgctl_test
|
|
|
|
NETBSD_ATF_TESTS_C+= msgget_test
|
|
|
|
NETBSD_ATF_TESTS_C+= msgrcv_test
|
|
|
|
NETBSD_ATF_TESTS_C+= msgsnd_test
|
|
|
|
NETBSD_ATF_TESTS_C+= msync_test
|
|
|
|
NETBSD_ATF_TESTS_C+= nanosleep_test
|
|
|
|
NETBSD_ATF_TESTS_C+= pipe_test
|
|
|
|
NETBSD_ATF_TESTS_C+= pipe2_test
|
|
|
|
NETBSD_ATF_TESTS_C+= poll_test
|
|
|
|
NETBSD_ATF_TESTS_C+= revoke_test
|
|
|
|
NETBSD_ATF_TESTS_C+= select_test
|
|
|
|
NETBSD_ATF_TESTS_C+= setrlimit_test
|
|
|
|
NETBSD_ATF_TESTS_C+= setuid_test
|
|
|
|
NETBSD_ATF_TESTS_C+= sigaction_test
|
|
|
|
NETBSD_ATF_TESTS_C+= sigqueue_test
|
|
|
|
NETBSD_ATF_TESTS_C+= sigtimedwait_test
|
|
|
|
NETBSD_ATF_TESTS_C+= socketpair_test
|
|
|
|
NETBSD_ATF_TESTS_C+= stat_test
|
|
|
|
NETBSD_ATF_TESTS_C+= timer_create_test
|
|
|
|
NETBSD_ATF_TESTS_C+= truncate_test
|
|
|
|
NETBSD_ATF_TESTS_C+= ucontext_test
|
|
|
|
NETBSD_ATF_TESTS_C+= umask_test
|
|
|
|
NETBSD_ATF_TESTS_C+= unlink_test
|
|
|
|
NETBSD_ATF_TESTS_C+= write_test
|
|
|
|
|
2015-12-04 03:17:47 +00:00
|
|
|
LIBADD.getpid_test+= pthread
|
|
|
|
LIBADD.timer_create_test+= rt
|
2014-11-04 00:56:25 +00:00
|
|
|
|
|
|
|
.include "../Makefile.netbsd-tests"
|
|
|
|
|
|
|
|
.if ${COMPILER_TYPE} == "gcc"
|
|
|
|
WARNS?= 3
|
|
|
|
.else
|
|
|
|
WARNS?= 4
|
|
|
|
.endif
|
|
|
|
|
2016-05-04 23:20:53 +00:00
|
|
|
FILESGROUPS+= truncate_test_FILES
|
2014-11-04 00:56:25 +00:00
|
|
|
|
|
|
|
truncate_test_FILES= truncate_test.root_owned
|
|
|
|
truncate_test_FILESDIR= ${TESTSDIR}
|
|
|
|
truncate_test_FILESMODE= 0600
|
|
|
|
truncate_test_FILESOWNER= root
|
|
|
|
truncate_test_FILESGRP= wheel
|
2016-02-03 19:08:45 +00:00
|
|
|
truncate_test_FILESPACKAGE= ${PACKAGE}
|
2014-11-04 00:56:25 +00:00
|
|
|
|
|
|
|
CLEANFILES= truncate_test.root_owned
|
|
|
|
truncate_test.root_owned:
|
2016-02-18 14:17:28 +00:00
|
|
|
dd if=/dev/null bs=1 count=1 of=${.TARGET} status=none
|
2014-11-04 00:56:25 +00:00
|
|
|
|
|
|
|
.include <bsd.test.mk>
|