Jun's fix is necessary for me.

  - Vin

On Fri, Mar 4, 2022 at 8:05 AM Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
Jun T wrote on Fri, Mar 04, 2022 at 11:14:07 +0900:
>
> > 2022/03/04 8:07, Bart Schaefer <schaefer@brasslantern.com> wrote:
> >
> > On Thu, Mar 3, 2022 at 2:05 PM Vin Shelton <acs@alumni.princeton.edu> wrote:
> >>
> >> I don't see how you could have provoked this, Peter, but in the latest sources, I'm seeing a test failure under i3 in Arch:
> >
> > Try this:
> >
> > diff --git a/Test/W03jobparameters.ztst b/Test/W03jobparameters.ztst
> (snip)
> > +  zpty_input 'zmodload zsh/parameter'
>
> This doesn't work for me.
>
> I think the problem is that MODULE_PATH is not imported by the zsh started
> by zpty (for security).
>
>
> diff --git a/Test/W03jobparameters.ztst b/Test/W03jobparameters.ztst
> index 474adfaec..de3420038 100644
> --- a/Test/W03jobparameters.ztst
> +++ b/Test/W03jobparameters.ztst
> @@ -37,6 +37,7 @@
>  %test

>    zpty_start
> +  zpty_input "MODULE_PATH=$MODULE_PATH"

Add ${(q)}?

Cheers,

Daniel


>    zpty_input 'sleep 3 &'
>    zpty_input 'print $jobstates'
>    zpty_input '(print $jobstates)'
>
>