12f121787SEnji Cooper# $FreeBSD$ 22f121787SEnji Cooper 32f121787SEnji Cooper.include <bsd.own.mk> 42f121787SEnji Cooper 5*f443c488SEnji CooperATF_TESTS_C+= queue_test 6*f443c488SEnji Cooper 72f121787SEnji Cooper# TODO: clone, lwp_create, lwp_ctl, posix_fadvise, recvmmsg, 82f121787SEnji Cooper# swapcontext 92f121787SEnji CooperNETBSD_ATF_TESTS_C+= access_test 102f121787SEnji CooperNETBSD_ATF_TESTS_C+= chroot_test 112f121787SEnji CooperNETBSD_ATF_TESTS_C+= clock_gettime_test 122f121787SEnji CooperNETBSD_ATF_TESTS_C+= connect_test 132f121787SEnji CooperNETBSD_ATF_TESTS_C+= dup_test 142f121787SEnji CooperNETBSD_ATF_TESTS_C+= fsync_test 152f121787SEnji CooperNETBSD_ATF_TESTS_C+= getcontext_test 162f121787SEnji CooperNETBSD_ATF_TESTS_C+= getgroups_test 172f121787SEnji CooperNETBSD_ATF_TESTS_C+= getitimer_test 182f121787SEnji CooperNETBSD_ATF_TESTS_C+= getlogin_test 192f121787SEnji CooperNETBSD_ATF_TESTS_C+= getpid_test 202f121787SEnji CooperNETBSD_ATF_TESTS_C+= getrusage_test 212f121787SEnji CooperNETBSD_ATF_TESTS_C+= getsid_test 222f121787SEnji CooperNETBSD_ATF_TESTS_C+= gettimeofday_test 232f121787SEnji CooperNETBSD_ATF_TESTS_C+= issetugid_test 242f121787SEnji CooperNETBSD_ATF_TESTS_C+= kevent_test 252f121787SEnji CooperNETBSD_ATF_TESTS_C+= kill_test 262f121787SEnji CooperNETBSD_ATF_TESTS_C+= link_test 272f121787SEnji CooperNETBSD_ATF_TESTS_C+= listen_test 282f121787SEnji CooperNETBSD_ATF_TESTS_C+= mincore_test 292f121787SEnji CooperNETBSD_ATF_TESTS_C+= mkdir_test 302f121787SEnji CooperNETBSD_ATF_TESTS_C+= mkfifo_test 312f121787SEnji CooperNETBSD_ATF_TESTS_C+= mknod_test 322f121787SEnji CooperNETBSD_ATF_TESTS_C+= mlock_test 332f121787SEnji CooperNETBSD_ATF_TESTS_C+= mmap_test 342f121787SEnji CooperNETBSD_ATF_TESTS_C+= mprotect_test 352f121787SEnji CooperNETBSD_ATF_TESTS_C+= msgctl_test 362f121787SEnji CooperNETBSD_ATF_TESTS_C+= msgget_test 372f121787SEnji CooperNETBSD_ATF_TESTS_C+= msgrcv_test 382f121787SEnji CooperNETBSD_ATF_TESTS_C+= msgsnd_test 392f121787SEnji CooperNETBSD_ATF_TESTS_C+= msync_test 402f121787SEnji CooperNETBSD_ATF_TESTS_C+= nanosleep_test 412f121787SEnji CooperNETBSD_ATF_TESTS_C+= pipe_test 422f121787SEnji CooperNETBSD_ATF_TESTS_C+= pipe2_test 432f121787SEnji CooperNETBSD_ATF_TESTS_C+= poll_test 442f121787SEnji CooperNETBSD_ATF_TESTS_C+= revoke_test 452f121787SEnji CooperNETBSD_ATF_TESTS_C+= select_test 462f121787SEnji CooperNETBSD_ATF_TESTS_C+= setrlimit_test 472f121787SEnji CooperNETBSD_ATF_TESTS_C+= setuid_test 482f121787SEnji CooperNETBSD_ATF_TESTS_C+= sigaction_test 492f121787SEnji CooperNETBSD_ATF_TESTS_C+= sigqueue_test 502f121787SEnji CooperNETBSD_ATF_TESTS_C+= sigtimedwait_test 512f121787SEnji CooperNETBSD_ATF_TESTS_C+= socketpair_test 522f121787SEnji CooperNETBSD_ATF_TESTS_C+= stat_test 532f121787SEnji CooperNETBSD_ATF_TESTS_C+= timer_create_test 542f121787SEnji CooperNETBSD_ATF_TESTS_C+= truncate_test 552f121787SEnji CooperNETBSD_ATF_TESTS_C+= ucontext_test 562f121787SEnji CooperNETBSD_ATF_TESTS_C+= umask_test 572f121787SEnji CooperNETBSD_ATF_TESTS_C+= unlink_test 582f121787SEnji CooperNETBSD_ATF_TESTS_C+= write_test 592f121787SEnji Cooper 602f121787SEnji CooperDPADD.getpid_test+= ${LIBPTHREAD} 612f121787SEnji CooperLDADD.getpid_test+= -lpthread 622f121787SEnji CooperDPADD.timer_create_test+= ${LIBRT} 632f121787SEnji CooperLDADD.timer_create_test+= -lrt 642f121787SEnji Cooper 652f121787SEnji Cooper.include "../Makefile.netbsd-tests" 662f121787SEnji Cooper 672f121787SEnji Cooper.if ${COMPILER_TYPE} == "gcc" 682f121787SEnji CooperWARNS?= 3 692f121787SEnji Cooper.else 702f121787SEnji CooperWARNS?= 4 712f121787SEnji Cooper.endif 722f121787SEnji Cooper 732f121787SEnji CooperFILESGROUPS= FILES truncate_test_FILES 742f121787SEnji Cooper 752f121787SEnji Coopertruncate_test_FILES= truncate_test.root_owned 762f121787SEnji Coopertruncate_test_FILESDIR= ${TESTSDIR} 772f121787SEnji Coopertruncate_test_FILESMODE= 0600 782f121787SEnji Coopertruncate_test_FILESOWNER= root 792f121787SEnji Coopertruncate_test_FILESGRP= wheel 802f121787SEnji Cooper 812f121787SEnji CooperCLEANFILES= truncate_test.root_owned 822f121787SEnji Coopertruncate_test.root_owned: 832f121787SEnji Cooper dd if=/dev/null bs=1 count=1 of=${.TARGET} 842f121787SEnji Cooper 852f121787SEnji Cooper.include <bsd.test.mk> 86