From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23728 invoked from network); 17 Oct 2000 12:46:09 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Oct 2000 12:46:09 -0000 Received: (qmail 5006 invoked by alias); 17 Oct 2000 12:39:18 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13003 Received: (qmail 4169 invoked from network); 17 Oct 2000 12:30:29 -0000 Date: Mon, 16 Oct 2000 12:33:06 +0200 (MET DST) Message-Id: <200010161033.MAA08180@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Fri, 13 Oct 2000 16:47:18 +0000 Subject: Re: PATCH: completion matching Bart Schaefer wrote: > On Oct 13, 10:41am, Sven Wischnowsky wrote: > } > } Playing with what Jay described in his last message showed two bugs in > } the completion matching code: > > Are there tests for these we should be adding to Test/54compmatch.ztst? Why not. Bye Sven Index: Test/54compmatch.ztst =================================================================== RCS file: /cvsroot/zsh/zsh/Test/54compmatch.ztst,v retrieving revision 1.5 diff -u -r1.5 54compmatch.ztst --- Test/54compmatch.ztst 2000/08/14 15:45:43 1.5 +++ Test/54compmatch.ztst 2000/10/16 10:32:35 @@ -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 -- Sven Wischnowsky wischnow@informatik.hu-berlin.de