diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-05-05 01:11:38 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-05-05 01:11:38 +0000 |
commit | 279bf209f80fbecedcda6ea0adb0f03d4a65d2bc (patch) | |
tree | e8a18f5edcd732bdb5c3949c82a3806fa7a72c2d /regress | |
parent | 75e7d60566e24fd5de19a3539f463443c38f505c (diff) |
Output to a different filename so the tests work without an obj/
directory. Also change diff -u to ${DIFF}.
OK xsa@
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/rcs/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/rcs/Makefile b/regress/usr.bin/rcs/Makefile index 5d2887b0616..490d36b2553 100644 --- a/regress/usr.bin/rcs/Makefile +++ b/regress/usr.bin/rcs/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.29 2006/05/01 18:43:41 niallo Exp $ +# $OpenBSD: Makefile,v 1.30 2006/05/05 01:11:37 ray Exp $ # Regression tests by Niall O'Higgins <niallo@openbsd.org>. # ksh -> Makefile by Ray Lai <ray@cyth.net>. @@ -548,11 +548,11 @@ test-ci-nofile: test-ci-keywords: clean @mkdir RCS @sed 's/.*/$$&$$/' ${.CURDIR}/keywords.in > file - @sed 's/^[A-Z][A-Z]*[a-z][a-z]*: .*/$$&$$/' ${.CURDIR}/keywords.out > keywords.out + @sed 's/^[A-Z][A-Z]*[a-z][a-z]*: .*/$$&$$/' ${.CURDIR}/keywords.out > newfile @echo . | ${CI} -q -u file @sed -e 's,${USER},USER,' -e "s/\($$[A-Z][a-z]*: \).*file,v/\1file,v/" \ -e 's,[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9],YYYY/MM/DD HH:MI:SS,' \ - file | diff -u keywords.out - + file | ${DIFF} newfile - clean: @rm -rf ${CLEANFILES} |