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 13NETBSD_ATF_TESTS_C= fileactions_test 14NETBSD_ATF_TESTS_C+= spawn_test 15NETBSD_ATF_TESTS_C+= spawnattr_test 16 17PROGS= h_fileactions 18PROGS+= h_spawn 19PROGS+= h_spawnattr 20 21SCRIPTS= h_nonexec 22SCRIPTS+= h_zero 23 24CLEANFILES+= h_nonexec 25 26.include "../../Makefile.netbsd-tests" 27 28h_zero: 29 dd if=/dev/zero of=h_zero bs=1k count=2 30 chmod a+x h_zero 31 32CLEANFILES+= h_zero 33 34WARNS?=3 35 36.include <bsd.test.mk> 37