Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / regress / sys / fs / getdents / Makefile
blobdfd40cab14067fb0537f18846ad6bea651358d7b
1 # $NetBSD$
3 NOMAN= # defined
4 WARNS= 3
6 PROG= getdents
8 TESTDIR= test
10 clean:
11 rm -rf ${TESTDIR}
13 regress: ${PROG}
14 @set -e; \
15 test -d ${TESTDIR} || mkdir ${TESTDIR}; \
16 for x in $$(jot 1000); do \
17 touch ${TESTDIR}/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX$$x; \
18 done; \
19 if ./${PROG} ${TESTDIR} > /dev/null; then \
20 echo PASSED; exit 0; \
21 else \
22 echo FAILED; exit 1; \
25 .include <bsd.prog.mk>