]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - tools/regression/nfsmmap/test2/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / tools / regression / nfsmmap / test2 / Makefile
1 # $FreeBSD$
2
3 PROG= test2
4 NO_MAN=
5 NFSSERVER?= herring.nlsystems.com
6 CLEANFILES= test2.zeros test2.good test2.data test2.scratch
7
8 all: test2 test2.zeros test2.good
9         @cp ${.OBJDIR}/test2.zeros ${.OBJDIR}/test2.data
10         @if [ `hostname` != ${NFSSERVER} ] ; then \
11                 ssh ${NFSSERVER} touch ${.OBJDIR}/test2.data; \
12         fi
13         @cd ${.OBJDIR}; ${.OBJDIR}/test2
14         @if cmp -s ${.OBJDIR}/test2.data ${.OBJDIR}/test2.good && \
15            cmp -s ${.OBJDIR}/test2.scratch ${.OBJDIR}/test2.good ; then \
16                 echo passed; \
17         else \
18                 echo failed; \
19         fi
20
21 test2.zeros: test2.zeros.uu
22         uudecode $?
23
24 test2.good: test2.good.uu
25         uudecode $?
26
27 .include <bsd.prog.mk>