Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [Bug] $jobstates does not work in $()



On Thu, Mar 3, 2022 at 2:05 PM Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx> 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
index 474adfaec..c0dd1e10e 100644
--- a/Test/W03jobparameters.ztst
+++ b/Test/W03jobparameters.ztst
@@ -37,6 +37,7 @@
 %test

   zpty_start
+  zpty_input 'zmodload zsh/parameter'
   zpty_input 'sleep 3 &'
   zpty_input 'print $jobstates'
   zpty_input '(print $jobstates)'




Messages sorted by: Reverse Date, Date, Thread, Author