summaryrefslogtreecommitdiffstats
path: root/Test
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2026-06-11 06:34:30 +0200
committerMikael Magnusson <mikachu@gmail.com>2026-06-14 01:57:17 +0200
commit807eac8dff2b2281ac7cf52ebd8c7b73fa358e37 (patch)
tree858330ac32855f43f046c320b175ab63e691fec8 /Test
parent54751: make the W02 test not take a full minute on linux (diff)
downloadzsh-807eac8dff2b2281ac7cf52ebd8c7b73fa358e37.tar
zsh-807eac8dff2b2281ac7cf52ebd8c7b73fa358e37.tar.gz
zsh-807eac8dff2b2281ac7cf52ebd8c7b73fa358e37.tar.bz2
zsh-807eac8dff2b2281ac7cf52ebd8c7b73fa358e37.tar.lz
zsh-807eac8dff2b2281ac7cf52ebd8c7b73fa358e37.tar.xz
zsh-807eac8dff2b2281ac7cf52ebd8c7b73fa358e37.tar.zst
zsh-807eac8dff2b2281ac7cf52ebd8c7b73fa358e37.zip
54753: zpty: register pty fd as FDT_MODULE so it isn't closed when forking
This lets us remove these mysterious braces too.
Diffstat (limited to 'Test')
-rw-r--r--Test/W02jobs.ztst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Test/W02jobs.ztst b/Test/W02jobs.ztst
index d92885364..bfbb02f7b 100644
--- a/Test/W02jobs.ztst
+++ b/Test/W02jobs.ztst
@@ -23,8 +23,7 @@
zpty_stop() {
# exit twice in case of check_jobs
zpty -w zsh $'exit\nexit\n'
- # zpty gives no output when piped without these braces (?)
- { zpty -r zsh } | sed $'/[^[:space:]]/!d; s/\r$//;'
+ zpty -r zsh | sed $'/[^[:space:]]/!d; s/\r$//;'
zpty -d
:
}