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