Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / regress / sys / fs / lfs / 9994 / Makefile
blob1da763e6e55090b65c9acccfbcc3a76a92dff82e
1 # $NetBSD: Makefile,v 1.1 2002/08/02 19:10:50 perseant Exp $
3 NOMAN= # defined
5 PROG= 9994_f
6 TMP?= /tmp
7 TESTFS?=.
9 regress: ${PROG}
10 @cp ${PROG} ${TESTFS}
11 @cd ${TESTFS} && ./${PROG} -c ${TMP} -n 1000 -q || (echo 'test failed' && exit 1)
12 @diff -q ${TESTFS}/test ${TMP}/control || (echo 'incorrect results' && exit 1)
13 @rm -f ${TESTFS}/test ${TMP}/control ${TESTFS}/${PROG}
15 clean:
16 rm -f test control
18 .include <bsd.prog.mk>