zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk
Subject: Re: (zsh-4.3.2) Y03 test failure under Slackware Linux 9.0.0
Date: Tue, 28 Nov 2006 10:49:07 +0000	[thread overview]
Message-ID: <200611281049.kASAn7lN014323@news01.csr.com> (raw)
In-Reply-To: <1164616792.5558@bear.he.net>

Eric De Mund wrote:
> I'm experiencing a "make check" failure in test Y03 when building
> zsh-4.3.2 under Slackware Linux 9.0.0 on a i686-pc-linux-gnu host, as I
> experienced back in March of this year (Message-ID:
> <17433.46602.590991.508063@bear.he.net>).

The failure is this:

*** /tmp/zsh.ztst.out.9272	Mon Nov 27 00:13:12 2006
--- /tmp/zsh.ztst.tout.9272	Mon Nov 27 00:13:12 2006
***************
*** 2,8 ****
  line: {tst -o +o }{}
  line: {tst -o +o }{}
  MESSAGE:{no arguments}
! line: {tst +o }{}
! line: {tst +o -o }{}
! line: {tst +o -o }{}
  MESSAGE:{no arguments}
--- 2,10 ----
  line: {tst -o +o }{}
  line: {tst -o +o }{}
  MESSAGE:{no arguments}
! line: {tst -+}{}
! MESSAGE:{no arguments}
! line: {tst -+}{}
! MESSAGE:{no arguments}
! line: {tst -+}{}
  MESSAGE:{no arguments}
Test ./Y03arguments.ztst failed: output differs from expected as shown above for:
 tst_arguments -+o
 comptest $'tst -\t\t\t\C-w\C-w+\t\t\t'
Was testing: option beginning with + and -.
./Y03arguments.ztst: test failed.

I can't this to happen with 4.3.2 on my Fedora machine, or with the
latest shell there or on Solaris.  It would be interesting to know if
it's still present in the version in the archive at the moment.

My best guess is that the two \C-w's in the test aren't wiping the -
from the previous line, "tst -o +o ".  That suggests $WORDCHARS doesn't
include "-" or it isn't having an effect for some reason.  That would
mean the test actually started the second set of completions with "tst
-+" on the line, which then behaved the way you'd expect, so the failure
isn't in the completion part at all.  This seems more likely than the
"-+" popping out of a failed completion.

What happens if you start from "zsh -f" (and "bindkey -e" if necessary)
and type:

% tst -o +o\C-w\C-w

does the - disappear (as it should)?  If not, what does "print -r
$WORDCHARS" show?

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php


  reply	other threads:[~2006-11-28 10:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-27  8:39 Eric De Mund
2006-11-28 10:49 ` Peter Stephenson [this message]
     [not found] <ead@ixian.com>
2006-11-28 21:01 ` Eric De Mund
2006-11-28 22:06   ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611281049.kASAn7lN014323@news01.csr.com \
    --to=pws@csr.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).