1.include <bsd.own.mk> 2 3BINDIR= ${TESTSDIR} 4 5NETBSD_ATF_TESTS_C= fileactions_test 6NETBSD_ATF_TESTS_C+= spawn_test 7NETBSD_ATF_TESTS_C+= spawnattr_test 8 9PROGS= h_fileactions 10PROGS+= h_spawn 11PROGS+= h_spawnattr 12 13SCRIPTS= h_nonexec 14SCRIPTS+= h_zero 15 16CLEANFILES+= h_nonexec 17 18.include "../../Makefile.netbsd-tests" 19 20# The dd status=none option is non-standard. Only use it when this test succeeds 21# rather than require dd to be a bootstrap tool. 22DD_NOSTATUS!=(dd status=none count=0 2> /dev/null && echo status=none) || true 23DD=dd ${DD_NOSTATUS} 24h_zero: 25 ${DD} if=/dev/zero of=h_zero bs=1k count=2 26 chmod a+x h_zero 27 28CLEANFILES+= h_zero 29 30WARNS?=3 31 32.include <bsd.test.mk> 33