From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: D01 test failure for prompts in dumb terminal
Date: Thu, 2 Feb 2023 11:38:57 +0000 [thread overview]
Message-ID: <20230202113857.GA22397@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <CAH+w=7YknETzYiRJJtyWRnSRTXFCzZZHsLUJq-hwQGOfPd36eA@mail.gmail.com>
Bart Schaefer wrote on Wed, Feb 01, 2023 at 17:02:00 -0800:
> 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
Any chance that $A1 or $A2 are the empty string?
> With ZTST_continue=1, that is the only test that fails. Perhaps it
> also needs to be skipped?
Skipped upon what condition? Skipping when $A1 is empty seems
reasonable, for example.
Cheers,
Daniel
prev parent reply other threads:[~2023-02-02 11:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-02 1:02 Bart Schaefer
2023-02-02 11:38 ` Daniel Shahaf [this message]
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=20230202113857.GA22397@tarpaulin.shahaf.local2 \
--to=d.s@daniel.shahaf.name \
--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).