about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Test/54compmatch.ztst16
2 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a70497375..11b94801f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-10-16  Sven Wischnowsky  <wischnow@zsh.org>
+
+	* ?????: Test/54compmatch.ztst: add tests for the stuff in 12995
+	
 2000-10-13  Bart Schaefer  <schaefer@zsh.org>
 
 	* 13000: Doc/Zsh/jobs.yo: Document tty restoration when a stopped
diff --git a/Test/54compmatch.ztst b/Test/54compmatch.ztst
index 325056f8f..0807a10c1 100644
--- a/Test/54compmatch.ztst
+++ b/Test/54compmatch.ztst
@@ -509,6 +509,22 @@
 >line: {tst c00.abc }{}
 >COMPADD:{}
 
+ workers_12995a_matcher='r:|/=* r:|=*'
+ workers_12995a_list=(u1 u1/q1 u1/q1/e1 u2 u2/q1 u2/q1/e2 u2/q1/e2/a1 u2/q1/e2/a2 u3 u3/q1 u4 u4/q u4/q/a1 u4/q/a2)
+ test_code $workers_12995a_matcher workers_12995a_list
+ comptest $'tst u/q/a\t'
+0:First test from workers 12995
+>line: {tst u4/q/a}{}
+>COMPADD:{}
+
+ workers_12995b_matcher='m:{a-z}={A-Z} r:|/=* r:|=*'
+ workers_12995b_list=(../Completion/Core ../Completion/Commands)
+ test_code $workers_12995b_matcher workers_12995b_list
+ comptest $'tst ../com/cor\002\002\002\002\002\002\002\t'
+0:Second test from workers 12995
+>line: {tst ../Completion/Core }{}
+>COMPADD:{}
+
 %clean
 
   zmodload -ui zsh/zpty