1# $FreeBSD$ 2 3OBJTOP= ${.OBJDIR:H:H:H:H:H} 4SRCTOP= ${.CURDIR:H:H:H:H:H} 5TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libc/gen/${.CURDIR:T} 6 7.include <bsd.own.mk> 8 9TESTSDIR= ${TESTSBASE}/lib/libc/gen/posix_spawn 10 11BINDIR= ${TESTSDIR} 12 13# TODO: t_spawnattr (fix from pho@ needs additional review) 14NETBSD_ATF_TESTS_C= fileactions_test 15NETBSD_ATF_TESTS_C+= spawn_test 16 17PROGS= h_fileactions 18PROGS+= h_spawn 19PROGS+= h_spawnattr 20 21SCRIPTS= h_nonexec 22SCRIPTS+= h_zero 23 24.include "../../Makefile.netbsd-tests" 25 26h_zero: 27 dd if=/dev/zero of=h_zero bs=1k count=2 28 chmod a+x h_zero 29 30CLEANFILES+= h_zero 31 32WARNS?=3 33 34.include <bsd.test.mk> 35