From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: D01 test failure for prompts in dumb terminal
Date: Wed, 1 Feb 2023 17:02:00 -0800 [thread overview]
Message-ID: <CAH+w=7YknETzYiRJJtyWRnSRTXFCzZZHsLUJq-hwQGOfPd36eA@mail.gmail.com> (raw)
Subsequent to workers/51297 --
In an xterm or gnome terminal, test D01 succeeds.
In a shell running in an emacs buffer, I get (trimmed from ZTST_verbose=1)
Running test: Equivalence of terminal colour settings (foreground colour)
Test case skipped: Missing terminfo module or non-colour terminal
Running test: Equivalence of terminal colour settings (background colour)
Test case skipped: Missing terminfo module or non-colour terminal
Running test: Attribute optimisation - preserve initial disabling of
attribute but drop useless later one
Test ./D01prompt.ztst failed: bad status 1, expected 0 from:
A1=${(%):-%s}
A2=${(%):-%u}
A3=${(%):-%s%u%s}
[[ $A3 = $A1$A2 && -n $A1 && -n $A2 ]]
Was testing: Attribute optimisation - preserve initial disabling of
attribute but drop useless later one
With ZTST_continue=1, that is the only test that fails. Perhaps it
also needs to be skipped?
next reply other threads:[~2023-02-02 1:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-02 1:02 Bart Schaefer [this message]
2023-02-02 11:38 ` Daniel Shahaf
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='CAH+w=7YknETzYiRJJtyWRnSRTXFCzZZHsLUJq-hwQGOfPd36eA@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/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).