From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20327 invoked by alias); 13 Feb 2014 16:55:48 -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: 32382 Received: (qmail 16274 invoked from network); 13 Feb 2014 16:55:42 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Biglobe-Sender: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: Commit 137b15a fails X02zlevi test From: "Jun T." In-Reply-To: <140212214922.ZM25943@torch.brasslantern.com> Date: Fri, 14 Feb 2014 01:17:12 +0900 Content-Transfer-Encoding: 7bit Message-Id: References: <140208121311.ZM14905@torch.brasslantern.com> <140208144555.ZM16333@torch.brasslantern.com> <140209105343.ZM24252@torch.brasslantern.com> <17919.1391985011@quattro> <140210233703.ZM11806@torch.brasslantern.com> <140212214922.ZM25943@torch.brasslantern.com> To: zsh-workers@zsh.org X-Mailer: Apple Mail (2.1827) (Sorry I've been too busy for testing recent patches.) Today I did a few test with zsh-5.0.5-40-gba58bfe, and found that X02zlevi.ztst always fails on Mac OS X (10.9.1) and FreeBSD 10.0. All the test which use comptesteval seem to fail. With the Bart's zpty_flush patch in 32377, it succeeds about 50% on Mac but still fails 100% on FreeBSD. On Both systems, the failure is at comptesteval 'bindkey -a "^R" redo' zletest $'123\C-_\e\C-r and all the other tests pass. (if I set ZTST_verbose=3 then the above test also succeeds always). I don't know exactly what is causing this failure, but anyway replacing ^R with ^K (or some other keys) seems to work on both Mac and FreeBSD. # I noticed that 'stty -a' shows 'reprint' is set to '^R', # and if I change the comptesteval to # comptesteval 'stty reprint "^K";bindkey -a "^R" redo' # then the test always succeeds on Mac. But this doesn't work on FreeBSD; # moreover, on Fedora20, X02zlevi.ztst alway succeeds but '^R' is also # used for reprint. So this may not be related with the failure. diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst index fe55d8a..60f878e 100644 --- a/Test/X02zlevi.ztst +++ b/Test/X02zlevi.ztst @@ -49,8 +49,8 @@ >BUFFER: z >CURSOR: 1 - comptesteval 'bindkey -a "^R" redo' - zletest $'123\C-_\e\C-r' + comptesteval 'bindkey -a "^K" redo' + zletest $'123\C-_\e\C-k' 0:undo in insert mode, redo in command >BUFFER: 123 >CURSOR: 2