diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2007-02-22 02:42:51 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2007-02-22 02:42:51 +0000 |
commit | 58324e8bb6dd01a9cb34dd10dbe54089d6d07560 (patch) | |
tree | 8f5fb8ed3dfcc207a3d4c7e6254f80785a8a511b | |
parent | b3df706149992501b4ead2b3d412ed77f2c37518 (diff) |
Fix regression tests. False positives happened whenever the date/time
contained 1.3, 1.4, or 1.5.
``hahahahahaha'' joris@.
-rw-r--r-- | regress/usr.bin/rcs/Makefile | 8 |
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 |