summaryrefslogtreecommitdiff
path: root/regress/usr.bin/rcs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/rcs/Makefile')
-rw-r--r--regress/usr.bin/rcs/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/usr.bin/rcs/Makefile b/regress/usr.bin/rcs/Makefile
index 89ec7d33972..461215ec76a 100644
--- a/regress/usr.bin/rcs/Makefile
+++ b/regress/usr.bin/rcs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.38 2006/09/19 22:35:13 niallo Exp $
+# $OpenBSD: Makefile,v 1.39 2007/02/22 02:42:50 ray Exp $
# Regression tests by Niall O'Higgins <niallo@openbsd.org>.
# ksh -> Makefile by Ray Lai <ray@cyth.net>.
@@ -388,11 +388,11 @@ test-rcs-oflag: clean
@echo "blah6" | ${CI} -q blah.c
@${CO} -q -l blah.c
@${RCS} -q -o1.3:1.5 blah.c
- @fgrep -q '1.3' blah.c,v || \
+ @tr '\n' ' ' < blah.c,v | grep -q '[[:space:]]1.3[[:space:]]' || \
case "$$?" in 1) exit 0;; esac && exit 1
- @fgrep -q '1.4' blah.c,v || \
+ @tr '\n' ' ' < blah.c,v | grep -q '[[:space:]]1.4[[:space:]]' || \
case "$$?" in 1) exit 0;; esac && exit 1
- @fgrep -q '1.5' blah.c,v || \
+ @tr '\n' ' ' < blah.c,v | grep -q '[[:space:]]1.5[[:space:]]' || \
case "$$?" in 1) exit 0;; esac && exit 1
test-rcs-lock-unlock: clean