Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Five New Test Failures
- X-seq: zsh-workers 46203
- From: Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Five New Test Failures
- Date: Tue, 7 Jul 2020 10:14:34 -0400
- Cc: "Zsh Hackers' List" <zsh-workers@xxxxxxx>
- In-reply-to: <CAH+w=7buVYy0OA3bXKqTH0xmtgWLN5qRm=AWHVcx52TgrHEqNQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CACeGjnUn+0CRiJGK2MCfm0xRvhXDB_dYoFcADW4u21s2A+F=uw@mail.gmail.com> <CAH+w=7bv_TF7OdoWqEQi1L8GtMBHyAhNZL-oaysV2X4peUxeJw@mail.gmail.com> <CAH+w=7ZOQj_x65=y8wD8MB1u4uhQ-YV5S4Avz6d326=UsobDxw@mail.gmail.com> <CAH+w=7buVYy0OA3bXKqTH0xmtgWLN5qRm=AWHVcx52TgrHEqNQ@mail.gmail.com>
- Sender: zsh-workers@xxxxxxx
Thanks, Bart. That fixes four of the five failures. All except this one:
../../../src/zsh-2020-07-07/Test/E01options.ztst: starting.
This test hangs the shell when it fails...
Pattern match failed, line 1:
-<zsh: sure you want to delete all 15 files in
/opt/build/zsh-2020-07-07/Test/options.tmp \[yn\]\?
<zsh: sure you want to delete all <-> files in / \[yn\]\?
+>nuc2% zsh: sure you want to delete all 15 files in
/opt/build/zsh-2020-07-07/Test/options.tmp [yn]?
>nuc2% zsh: sure you want to delete all 28 files in / [yn]?
On Sun, Jul 5, 2020 at 1:23 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
wrote:
> On Sun, Jul 5, 2020 at 9:57 AM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
> wrote:
> >
> > On Sun, Jul 5, 2020 at 9:28 AM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
> wrote:
> > >
> > > It's the change to supposedly subvert symlink attacks.
> >
> > Hmm, no, I'm getting random failures even after I revert. Sorry for
> > the red herring.
>
> Ahem. Those failures were something else in my environment.
>
> It does have to do with the "always" block. All the tests pass if I
> just put a "return 0" after the "always".
>
> A bit of further digging indicates that
> zpty_flush After comptesteval
> does not always succeed, but it doesn't need to. The "always" is now
> preserving that failure status.
>
> So perhaps this?
>
> diff --git a/Test/comptest b/Test/comptest
> index b14d4c9..a36e301 100644
> --- a/Test/comptest
> +++ b/Test/comptest
> @@ -128,6 +128,7 @@ comptesteval () {
> return 1
> }
> zpty_flush After comptesteval
> + : Suppress error from zpty_flush
> } always {
> rm $tmp
> }
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author