summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorPaul de Weerd <weerd@cvs.openbsd.org>2012-12-12 15:11:26 +0000
committerPaul de Weerd <weerd@cvs.openbsd.org>2012-12-12 15:11:26 +0000
commit5f8f4fdab5967f5068f09bfa90c528d8bbc4d618 (patch)
treef2f010f754d8ad6885e9afa2db37c92d6cec35cf /regress
parent782fa479be7906e9c3055e0f8d87174cc29c7b2a (diff)
Add a regression test for the bug millert@ fixed previously.
OK millert@
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/grep/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/regress/usr.bin/grep/Makefile b/regress/usr.bin/grep/Makefile
index c4087fedb40..6fd13d0b9f3 100644
--- a/regress/usr.bin/grep/Makefile
+++ b/regress/usr.bin/grep/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.16 2012/12/11 08:22:59 weerd Exp $
+# $OpenBSD: Makefile,v 1.17 2012/12/12 15:11:25 weerd Exp $
REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 \
- t18 t19 t20 t21 t22 t23 t24 t25
+ t18 t19 t20 t21 t22 t23 t24 t25 t26
t1:
grep t.s ${.CURDIR}/in | diff - ${.CURDIR}/t1.out
@@ -99,8 +99,11 @@ t24:
t25:
grep -o [ab] ${.CURDIR}/t25.in | diff - ${.CURDIR}/t25.out
+t26:
+ echo 'aaab' | grep -o 'a*' | head -n 10 | diff - ${.CURDIR}/t26.out
+
.PHONY: t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 t18 t19 t20
-.PHONY: t21 t22 t23 t24 t25
+.PHONY: t21 t22 t23 t24 t25 t26
.include <bsd.regress.mk>