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