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