<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zsh/Test/W02jobs.ztst, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/zsh/atom/Test/W02jobs.ztst?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/zsh/atom/Test/W02jobs.ztst?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/'/>
<updated>2026-07-11T23:57:56Z</updated>
<entry>
<title>54928: W02: really close all the fds for sleep</title>
<updated>2026-07-11T23:57:56Z</updated>
<author>
<name>Mikael Magnusson</name>
<email>mikachu@gmail.com</email>
</author>
<published>2026-07-09T01:34:36Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=541ce7cac96b49c4e8797fd365deefcbc8079781'/>
<id>urn:sha1:541ce7cac96b49c4e8797fd365deefcbc8079781</id>
<content type='text'>
</content>
</entry>
<entry>
<title>54762: make curjob and prevjob work better</title>
<updated>2026-06-13T23:57:17Z</updated>
<author>
<name>Mikael Magnusson</name>
<email>mikachu@gmail.com</email>
</author>
<published>2026-06-12T21:00:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=8ca612cfe2ace3819656c483dcc3822da6b63f01'/>
<id>urn:sha1:8ca612cfe2ace3819656c483dcc3822da6b63f01</id>
<content type='text'>
In particular, these two sequences were still broken after 54294:

% v() { vim "$@"; }; v
[suspend vim]
% urxvt &amp;
[3] 12707
% bg %-
bg: job already in background
% fg
[1]    continued
[exit vim]
% fg
before:
fg: no current job
after:
[3]  + running    urxvt

% sleep 100
^Z
zsh: suspended  sleep 100
% bg
[1]    continued  sleep 100
% fg
before
fg: no current job
after:
[1]  - running    sleep 100

The changed test expected the sole remaining job to be %- which should
not be possible, and now it is properly %+ instead.
</content>
</entry>
<entry>
<title>54753: zpty: register pty fd as FDT_MODULE so it isn't closed when forking</title>
<updated>2026-06-13T23:57:17Z</updated>
<author>
<name>Mikael Magnusson</name>
<email>mikachu@gmail.com</email>
</author>
<published>2026-06-11T04:34:30Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=807eac8dff2b2281ac7cf52ebd8c7b73fa358e37'/>
<id>urn:sha1:807eac8dff2b2281ac7cf52ebd8c7b73fa358e37</id>
<content type='text'>
This lets us remove these mysterious braces too.
</content>
</entry>
<entry>
<title>54751: make the W02 test not take a full minute on linux</title>
<updated>2026-06-13T23:57:17Z</updated>
<author>
<name>Mikael Magnusson</name>
<email>mikachu@gmail.com</email>
</author>
<published>2026-06-11T03:11:17Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=05d8a57d429a6756d07f767e0ecf34b536a7eda0'/>
<id>urn:sha1:05d8a57d429a6756d07f767e0ecf34b536a7eda0</id>
<content type='text'>
Apparently on OSX (and BSD kernels?) the pty device won't wait for every
last process closing its reference, but on Linux it does. We can just
set up the sleep commands to close their fds since they aren't using
them anyway.
</content>
</entry>
<entry>
<title>54294: Fix %- (prevjob) picking wrong job after resuming</title>
<updated>2026-06-08T22:29:22Z</updated>
<author>
<name>Mikel Ward</name>
<email>mikel@mikelward.com</email>
</author>
<published>2026-06-08T22:29:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=93c286c624d52a9c9bced63d396dc4b2fa80ce99'/>
<id>urn:sha1:93c286c624d52a9c9bced63d396dc4b2fa80ce99</id>
<content type='text'>
Also corrects exit status of "wait %%" (TBD from workers/43945)
</content>
</entry>
<entry>
<title>54585: disown: add -a option</title>
<updated>2026-05-23T05:27:31Z</updated>
<author>
<name>dana</name>
<email>dana@dana.is</email>
</author>
<published>2026-05-20T19:00:29Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=c86e1de954ee4727c7b728e3875ac97e0af3e3bb'/>
<id>urn:sha1:c86e1de954ee4727c7b728e3875ac97e0af3e3bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>54584: jobs: update curjob in sub-shells</title>
<updated>2026-05-23T05:26:42Z</updated>
<author>
<name>dana</name>
<email>dana@dana.is</email>
</author>
<published>2026-05-20T18:48:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=8284a42bd3d0b7333f8d3c59cd6bb860c0edf499'/>
<id>urn:sha1:8284a42bd3d0b7333f8d3c59cd6bb860c0edf499</id>
<content type='text'>
</content>
</entry>
<entry>
<title>49787: test for jobs fix in 49783</title>
<updated>2022-03-03T19:07:53Z</updated>
<author>
<name>Peter Stephenson</name>
<email>p.w.stephenson@ntlworld.com</email>
</author>
<published>2022-03-03T19:07:53Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=2be2efc122b70a84a9debeaf0a11b99e11df3758'/>
<id>urn:sha1:2be2efc122b70a84a9debeaf0a11b99e11df3758</id>
<content type='text'>
</content>
</entry>
<entry>
<title>47849: do not skip tests requiring zpty on Cygwin</title>
<updated>2021-01-20T04:49:42Z</updated>
<author>
<name>Jun-ichi Takimoto</name>
<email>takimoto-j@kba.biglobe.ne.jp</email>
</author>
<published>2021-01-20T04:49:42Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=6e20f0e3d1b9062d6e26df5c565e122888cf22ae'/>
<id>urn:sha1:6e20f0e3d1b9062d6e26df5c565e122888cf22ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>43426: disable job control tests involving suspension.</title>
<updated>2018-09-10T12:48:41Z</updated>
<author>
<name>Peter Stephenson</name>
<email>p.stephenson@samsung.com</email>
</author>
<published>2018-09-10T12:48:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=d6859ce68e01cfa1d3c2e047bf4b25118152fdab'/>
<id>urn:sha1:d6859ce68e01cfa1d3c2e047bf4b25118152fdab</id>
<content type='text'>
These are provoking races on OpenSUSE.
</content>
</entry>
<entry>
<title>c.f. 42726: Back off fg and bg tests.</title>
<updated>2018-04-26T08:42:25Z</updated>
<author>
<name>Peter Stephenson</name>
<email>p.stephenson@samsung.com</email>
</author>
<published>2018-04-26T08:42:25Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=2d3b3510a80046cd4222bf9c515afc90bdf76418'/>
<id>urn:sha1:2d3b3510a80046cd4222bf9c515afc90bdf76418</id>
<content type='text'>
This is too hard to make robust.  Problems include
- Reading input in different places causes lines to appear and disappear
- There is no easy way to sequence the asynchronous operations
  following bg.
- Response to job control of user commands on some OSes (MacOS,
  for example) is unpredicatble.
</content>
</entry>
<entry>
<title>42722: Replace ed with dc in fg/bg tests.</title>
<updated>2018-04-25T17:16:02Z</updated>
<author>
<name>Peter Stephenson</name>
<email>p.stephenson@samsung.com</email>
</author>
<published>2018-04-25T17:15:21Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=bdd595321fc3e95e8e60319d130b287bedc33d26'/>
<id>urn:sha1:bdd595321fc3e95e8e60319d130b287bedc33d26</id>
<content type='text'>
This should be even simpler.

Also more fix ups for failed pattern diffs.
</content>
</entry>
<entry>
<title>42714: Add fg and bg tests.</title>
<updated>2018-04-25T09:16:51Z</updated>
<author>
<name>Peter Stephenson</name>
<email>p.stephenson@samsung.com</email>
</author>
<published>2018-04-25T09:16:51Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=c6dbd862d0c5d1d539ad3d58dc1c754a9f166308'/>
<id>urn:sha1:c6dbd862d0c5d1d539ad3d58dc1c754a9f166308</id>
<content type='text'>
Use ed to get minimal user interaction without needing
advanced terminal handling.

Improve test output of failures of pattern differences.
</content>
</entry>
<entry>
<title>42156: new CHECK_RUNNING_JOBS option demanded by bash groupies</title>
<updated>2017-12-22T20:21:23Z</updated>
<author>
<name>Peter Stephenson</name>
<email>p.w.stephenson@ntlworld.com</email>
</author>
<published>2017-12-22T20:00:54Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=5f6a52c06ca956cf61eacd7f45f270899337d45e'/>
<id>urn:sha1:5f6a52c06ca956cf61eacd7f45f270899337d45e</id>
<content type='text'>
Also new job options.

Also suppress debug error if rows or columns are reported as zero as
this is normal without a physical terminal.
</content>
</entry>
</feed>
