about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2000-06-15 09:10:23 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2000-06-15 09:10:23 +0000
commit6d8ec99c3519dce73c86705841254c6b68011055 (patch)
treed42e17a1fcc70151796942461c4b2e73f4f26b54
parent48101910bb8404439d056b82b89a6f8c34cfbb32 (diff)
downloadzsh-6d8ec99c3519dce73c86705841254c6b68011055.tar.gz
zsh-6d8ec99c3519dce73c86705841254c6b68011055.tar.xz
zsh-6d8ec99c3519dce73c86705841254c6b68011055.zip
11908: compmatch tests
-rw-r--r--ChangeLog3
-rw-r--r--Test/54compmatch.ztst16
2 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 79d369846..40b7bc380 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-06-15  Peter Stephenson  <pws@cambridgesiliconradio.com>
 
+	* Felix: 11908: Test/54compmatch.ztst: tests for problematic
+	cases.
+
 	* as 11916: moved bottom of ChangeLog to ChangeLog-Release to
 	avoid unnecessary network activity when committing.  To be
 	merged into ChangeLog.4.0 for next release.
diff --git a/Test/54compmatch.ztst b/Test/54compmatch.ztst
index 07e988f6b..eb7bdddd4 100644
--- a/Test/54compmatch.ztst
+++ b/Test/54compmatch.ztst
@@ -481,5 +481,21 @@
 >line: {tst }{.:}
 >COMPADD:{}
 
+ workers_11586_matcher='r:|.=** r:[^0-9]||[0-9]=**'
+ workers_11586_list=(c00.abc c01.abc.def.00.0)
+ test_code $workers_11586_matcher workers_11586_list
+ comptest $'tst c00\t.\ta\t'
+0:Bug from workers 11586
+>line: {tst c00}{}
+>COMPADD:{}
+>NO:{c00.abc}
+>NO:{c01.abc.def.00.0}
+>line: {tst c00.}{}
+>COMPADD:{}
+>NO:{c00.abc}
+>NO:{c01.abc.def.00.0}
+>line: {tst c00.abc }{}
+>COMPADD:{}
+
 %clean
 exit 0