zsh-workers
 help / color / mirror / code / Atom feed
* Test X03zlebindkey fails on my machine
@ 2015-12-31  0:17 Daniel Shahaf
  2015-12-31  1:12 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Shahaf @ 2015-12-31  0:17 UTC (permalink / raw)
  To: zsh-workers

Test output:

    % make -s test TESTNUM=X03
    ./X03zlebindkey.ztst: starting.
    *** /tmp/zsh.ztst.out.14728	2015-12-30 12:26:38.409736425 +0000
    --- /tmp/zsh.ztst.tout.14728	2015-12-30 12:26:38.409736425 +0000
    ***************
    *** 1,5 ****
    ! "^Xy" "foo"
      "^Xy" "bar"
      "^Xy" "foo"
      "^Xy" "bar"
    ! "^Xy" "foo"
    --- 1,5 ----
    ! "^Xy" undefined-key
      "^Xy" "bar"
      "^Xy" "foo"
      "^Xy" "bar"
    ! "^Xy" undefined-key
    Test ./X03zlebindkey.ztst failed: output differs from expected as shown above for:
      bindkey -s '\C-xy' foo
      bindkey -N testmap emacs
      bindkey -M testmap '\C-xy'
      bindkey -s -M testmap '\C-xy' bar
      bindkey -M testmap '\C-xy'
      bindkey '\C-xy'
      bindkey -A testmap main
      bindkey '\C-xy'
      bindkey -A emacs main
      bindkey '\C-xy'
    Was testing: creating keymaps from existing keymaps
    ./X03zlebindkey.ztst: test failed.
    **************************************
    0 successful test scripts, 1 failure, 0 skipped
    **************************************
    Makefile:189: recipe for target 'check' failed
    make[1]: *** [check] Error 1
    Makefile:265: recipe for target 'test' failed
    make: *** [test] Error 2
    zsh: exit 2     make -s test TESTNUM=X03

Bisects to:

    fd13e8044cd2f5cc27dc613d2d46dad55773b1d6 is the first bad commit
    commit fd13e8044cd2f5cc27dc613d2d46dad55773b1d6
    Author: Peter Stephenson <pws@zsh.org>
    Date:   Wed Dec 16 12:10:01 2015 +0000
    
        37411: more bindkey tests
    
    :100644 100644 1d497797737fcacd7e4032aa90733c3790226a59 520c4600d0bc704ee95f00db1e6921403ad81ef4 M	ChangeLog
    :040000 040000 27226e9dd10c19f442f8c1dec15bcaedb2cb8b9b 342f695b3bb6695ee353defcfcfdc66c7a0e1202 M	Test

Reproduced by Frank.

Haven't investigated.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Test X03zlebindkey fails on my machine
  2015-12-31  0:17 Test X03zlebindkey fails on my machine Daniel Shahaf
@ 2015-12-31  1:12 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2015-12-31  1:12 UTC (permalink / raw)
  To: zsh-workers

On Dec 31, 12:17am, Daniel Shahaf wrote:
} 
} Reproduced by Frank.
} 
} Haven't investigated.

This test fails when VISUAL=vi is in the environment.

diff --git a/Test/X03zlebindkey.ztst b/Test/X03zlebindkey.ztst
index 38afc2d..013d3df 100644
--- a/Test/X03zlebindkey.ztst
+++ b/Test/X03zlebindkey.ztst
@@ -49,6 +49,7 @@
 
 # As we're only looking at definitions here, we don't
 # bother using the pseudo-terminal; just test in the normal fashion.
+  bindkey -e
   bindkey -s '\C-xy' foo
   bindkey -N testmap emacs
   bindkey -M testmap '\C-xy'


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-31  1:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-31  0:17 Test X03zlebindkey fails on my machine Daniel Shahaf
2015-12-31  1:12 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).