diff options
author | 2007-02-22 02:42:50 +0000 | |
---|---|---|
committer | 2007-02-22 02:42:50 +0000 | |
commit | ba9bce1e5c9ddfc88c3911234c876a1e187d01c6 (patch) | |
tree | 4f86829704fc01dbda8d5537dd52f742d9c4bf67 | |
parent | Always write the disklabel to disk when asked, even if it appears to (diff) | |
download | wireguard-openbsd-ba9bce1e5c9ddfc88c3911234c876a1e187d01c6.tar.xz wireguard-openbsd-ba9bce1e5c9ddfc88c3911234c876a1e187d01c6.zip |
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 |