summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2006-08-02 04:30:32 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2006-08-02 04:30:32 +0000
commit0f997e41fdbb5611dd46191017bee4713402e93c (patch)
tree939c63af013d8dda5257ac14aa02546f4ca7fd16
parente557c339cdc3678c69db3ff3bba215d5ba737ce1 (diff)
- add regression tests for two problems with keyword parsing.
ok ray@
-rw-r--r--regress/usr.bin/rcs/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/regress/usr.bin/rcs/Makefile b/regress/usr.bin/rcs/Makefile
index d8c22ae1626..e018fa1ee4b 100644
--- a/regress/usr.bin/rcs/Makefile
+++ b/regress/usr.bin/rcs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.33 2006/07/29 05:57:02 ray Exp $
+# $OpenBSD: Makefile,v 1.34 2006/08/02 04:30:31 niallo Exp $
# Regression tests by Niall O'Higgins <niallo@openbsd.org>.
# ksh -> Makefile by Ray Lai <ray@cyth.net>.
@@ -67,6 +67,8 @@ LTESTS= ci-initial \
ci-revert \
ci-keywords \
ci-keywords2 \
+ ci-parse-keywords \
+ ci-parse-keywords2 \
.for t in ${LTESTS}
REGRESS_TARGETS+=test-${t}
@@ -569,6 +571,14 @@ test-ci-keywords2: clean
@perl -e 'print "\$$Id\$$\n" x 10000;' > file
@echo . | ${CI} -l -q file
+test-ci-parse-keywords: clean
+ @echo '$Id' > test
+ @echo . | ${CI} -q -k test
+
+test-ci-parse-keywords2: clean
+ @echo '$Id: blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah' > test
+ @echo . | ${CI} -q -k test
+
clean:
@rm -rf ${CLEANFILES}