From 279bf209f80fbecedcda6ea0adb0f03d4a65d2bc Mon Sep 17 00:00:00 2001 From: Ray Lai Date: Fri, 5 May 2006 01:11:38 +0000 Subject: Output to a different filename so the tests work without an obj/ directory. Also change diff -u to ${DIFF}. OK xsa@ --- regress/usr.bin/rcs/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'regress/usr.bin/rcs/Makefile') 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 . # ksh -> Makefile by Ray Lai . @@ -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} -- cgit v1.2.3