summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-07-29 05:57:03 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-07-29 05:57:03 +0000
commit37f04882046aaf98ee98c90cfa4681c234b9c0ab (patch)
treeaea470e233a90dba6588063deacfa87920245611 /regress/usr.bin
parentdd0aac721520e9d3b6543e2d976ae827db4306d4 (diff)
Add regression test for files with lots of keywords.
OK xsa@
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/rcs/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/regress/usr.bin/rcs/Makefile b/regress/usr.bin/rcs/Makefile
index b411e424bc3..d8c22ae1626 100644
--- a/regress/usr.bin/rcs/Makefile
+++ b/regress/usr.bin/rcs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.32 2006/07/28 06:29:09 ray Exp $
+# $OpenBSD: Makefile,v 1.33 2006/07/29 05:57:02 ray Exp $
# Regression tests by Niall O'Higgins <niallo@openbsd.org>.
# ksh -> Makefile by Ray Lai <ray@cyth.net>.
@@ -66,6 +66,7 @@ LTESTS= ci-initial \
ci-nofile \
ci-revert \
ci-keywords \
+ ci-keywords2 \
.for t in ${LTESTS}
REGRESS_TARGETS+=test-${t}
@@ -563,6 +564,11 @@ test-ci-keywords: clean
-e 's,[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9],YYYY/MM/DD HH:MI:SS,' \
file | ${DIFF} newfile -
+# Lots of expansion.
+test-ci-keywords2: clean
+ @perl -e 'print "\$$Id\$$\n" x 10000;' > file
+ @echo . | ${CI} -l -q file
+
clean:
@rm -rf ${CLEANFILES}