mirror of
https://github.com/zsh-users/zsh
synced 2024-10-04 15:09:11 +00:00
50160: Regression tests for 50126, 50136, and 50149
This commit is contained in:
parent
f80f880c4b
commit
8fac1b7c62
|
@ -1,8 +1,11 @@
|
||||||
2022-05-01 Bart Schaefer <schaefer@zsh.org>
|
2022-05-01 Bart Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* 50160: Test/D03procsubst.ztst, Test/E01options.ztst: Regression
|
||||||
|
tests for 50126, 50136, and 50149
|
||||||
|
|
||||||
* 50159: Test/V14system.ztst: Tests for sysread
|
* 50159: Test/V14system.ztst: Tests for sysread
|
||||||
|
|
||||||
* 50157(Daniel Shahaf): Test/D07multibyte.ztst: Test for 50150
|
* 50157 (Daniel Shahaf): Test/D07multibyte.ztst: Test for 50150
|
||||||
|
|
||||||
2022-04-30 Bart Schaefer <schaefer@zsh.org>
|
2022-04-30 Bart Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
|
|
@ -167,5 +167,25 @@
|
||||||
print -rC1 -- $TMPPREFIX*(N)
|
print -rC1 -- $TMPPREFIX*(N)
|
||||||
}
|
}
|
||||||
0f:external command with =(...) on LHS of pipeline cleans up its tempfiles
|
0f:external command with =(...) on LHS of pipeline cleans up its tempfiles
|
||||||
|
F:subshells including pipe LHS do not pass through zexit()
|
||||||
# (Expected result: no output.)
|
# (Expected result: no output.)
|
||||||
|
|
||||||
|
# Confirm tempfile exists in the function, but not after exit
|
||||||
|
() {
|
||||||
|
local -x TMPPREFIX=$PWD/exit
|
||||||
|
$ZTST_testdir/../Src/zsh -fc '
|
||||||
|
() {
|
||||||
|
print -rC1 -- $TMPPREFIX*
|
||||||
|
exit
|
||||||
|
} =(sleep 5)
|
||||||
|
'
|
||||||
|
print -rC1 -- $TMPPREFIX*(N)
|
||||||
|
}
|
||||||
|
0:regression test: exit in shell function cleans up tempfiles
|
||||||
|
F:see preceding test
|
||||||
|
*>*.tmp/exit*
|
||||||
|
|
||||||
|
print -u $ZTST_fd 'This test hangs the shell when it fails...'
|
||||||
|
true | false =(nosuchcommand$$)
|
||||||
|
1:regression test: race condition with pipe and procsubst
|
||||||
|
*?\(eval\):2: command not found: nosuchcommand*
|
||||||
|
|
|
@ -752,6 +752,12 @@
|
||||||
>These are the contents of the file
|
>These are the contents of the file
|
||||||
>These are the contents of the file
|
>These are the contents of the file
|
||||||
|
|
||||||
|
# Subshell to shield nullexec redirections
|
||||||
|
( exec 3>&1 3>&2; print -u 3 some words )
|
||||||
|
0:regression test: multios with nullexec
|
||||||
|
>some words
|
||||||
|
?some words
|
||||||
|
|
||||||
# tried this with other things, but not on its own, so much.
|
# tried this with other things, but not on its own, so much.
|
||||||
unsetopt nomatch
|
unsetopt nomatch
|
||||||
print with nonomatch: flooble*
|
print with nonomatch: flooble*
|
||||||
|
|
Loading…
Reference in a new issue