summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniallo <niallo@openbsd.org>2006-08-02 04:30:31 +0000
committerniallo <niallo@openbsd.org>2006-08-02 04:30:31 +0000
commit33d5cccd43624033c706a7c6edd76ec89cf24856 (patch)
tree0455db7e02a2714a46bb1a4eebcd258ed0446bba
parentrcs_buf_set(), rcs_buf_append, and rcs_buf_fappend should not return (diff)
downloadwireguard-openbsd-33d5cccd43624033c706a7c6edd76ec89cf24856.tar.xz
wireguard-openbsd-33d5cccd43624033c706a7c6edd76ec89cf24856.zip
- 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}