diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2008-10-13 13:27:34 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2008-10-13 13:27:34 +0000 |
commit | 972bf31c4f2a958cc7890fc0dae380192cfdb2ba (patch) | |
tree | 206eed4517edbd5ef9c1f348d21bbf0108e0523c /regress | |
parent | 920700aa10d5eac8ff38f4c04963cb9c6db2125c (diff) |
cleanup
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/sed/Makefile | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/regress/usr.bin/sed/Makefile b/regress/usr.bin/sed/Makefile index cab6dabe73a..2b73e5e06ad 100644 --- a/regress/usr.bin/sed/Makefile +++ b/regress/usr.bin/sed/Makefile @@ -1,17 +1,25 @@ -# $OpenBSD: Makefile,v 1.1 2008/10/10 14:33:34 millert Exp $ +# $OpenBSD: Makefile,v 1.2 2008/10/13 13:27:33 millert Exp $ # $NetBSD: Makefile,v 1.1 2005/04/04 16:48:45 peter Exp $ SED= /usr/bin/sed -regress: - sh ${.CURDIR}/sedtest.sh ${SED} sedtest.out - diff ${.CURDIR}/sedtest.expected sedtest.out - printf ":abcd: : :\n\n" | ${SED} -f ${.CURDIR}/hanoi.sed > hanoi.out - diff ${.CURDIR}/hanoi.expected hanoi.out - ${SED} -f ${.CURDIR}/math.sed ${.CURDIR}/math.in > math.out - diff ${.CURDIR}/math.expected math.out - echo ________________________X___ | ${SED} -nf ${.CURDIR}/sierpinski.sed > sierpinski.out - diff ${.CURDIR}/sierpinski.expected sierpinski.out +REGRESS_TARGETS= sedtest hanoi math sierpinski + +sedtest: + sh ${.CURDIR}/$@.sh ${SED} $@.out + diff ${.CURDIR}/$@.expected $@.out + +hanoi: + ${SED} -f ${.CURDIR}/$@.sed ${.CURDIR}/$@.in > $@.out + diff ${.CURDIR}/$@.expected $@.out + +math: + ${SED} -f ${.CURDIR}/$@.sed ${.CURDIR}/$@.in > $@.out + diff ${.CURDIR}/$@.expected $@.out + +sierpinski: + ${SED} -nf ${.CURDIR}/$@.sed ${.CURDIR}/$@.in > $@.out + diff ${.CURDIR}/$@.expected $@.out CLEANFILES+=*.out lines* script* |