From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28504 invoked by alias); 29 Jan 2012 18:50:09 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30149 Received: (qmail 28900 invoked from network); 29 Jan 2012 18:50:08 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: neutral (ns1.primenet.com.au: 74.125.82.43 is neither permitted nor denied by SPF record at ntlworld.com) X-ProxyUser-IP: 86.6.29.42 Date: Sun, 29 Jan 2012 18:49:57 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: Adding tests for zle? The missing X series tests Message-ID: <20120129184957.75f0ab12@pws-pc.ntlworld.com> In-Reply-To: References: <20111221113947.75942dd8@pwslap01u.europe.root.pri> <20120104173844.34681459@pws-pc.ntlworld.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 8 Jan 2012 16:20:20 -0800 Felix Rosencrantz wrote: > I've attached draft versions of the incremental search tests, based on > the suggestions of Bart and Peter. Finally got around to looking at this; it's certainly a great start. I imagine we're going to be looking for oddities for a while yet. For me it's failing on the test below -- which means it's run five successfully, which is already better than I might have hoped. I made a start on further changes to protect against termcap variability (by intercepting tests for capabilities); the complication is the need to intercept tclen, the length of the sequence, too, and I haven't worked around that yet. If VT100 turns out to be standard enough --- or we have enough ways of forcing a termcap/terminfo definition, though I have severe doubts about that given the multiplicity of terminal libraries --- maybe we don't need any more. ./X01isearch.ztst: starting. *** /tmp/zsh.ztst.out.8659 Sun Jan 29 18:38:10 2012 --- /tmp/zsh.ztst.tout.8659 Sun Jan 29 18:38:10 2012 *************** *** 1,2 **** ! echo 123 abc ! failing bck-i-search: abc_ --- 1,2 ---- ! echo abc ! bck-i-search: abc_ Test ./X01isearch.ztst failed: output differs from expected as shown above for: zletesteval 'fc -R historyX01' zletest $'\C-Rabc\C-R\C-R\C-R\C-R' Was testing: Verify incremental search failed fifth match ./X01isearch.ztst: test failed. ************************************** 0 successful test scripts, 1 failure, 0 skipped ************************************** make: *** [check] Error 1 -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/