1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-18 14:06:03 +02:00

Fix problems with tests for 50126 and 50150.

This commit is contained in:
Bart Schaefer 2022-05-02 20:31:47 -07:00
parent 1fd328e84c
commit 23dab58b8e
3 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2022-05-02 Bart Schaefer <schaefer@zsh.org>
* unposted (cf. Jun-ichi 50164): Test/E01options.ztst: add sleep
after nullexec test to allow background process to flush writes
(observed only on MacOS Monterey 12).
* 50162: Test/D07multibyte.ztst: Tweak 50150 test to check proper
metafication of array elements and to ignore collation variances
2022-05-01 Bart Schaefer <schaefer@zsh.org>
* 50160: Test/D03procsubst.ztst, Test/E01options.ztst: Regression

View File

@ -631,9 +631,12 @@ F:support character sets outside the portable 7-bit range.
# Subshell for zmodload isolation
(
zmodload zsh/stat
typeset -A sizes
touch 50150-é 50150-Ą
# Using +size solely in order to make it easier to write the expectations
zstat +size -nor -- 50150-*
zstat +size -A sizes -nor -- 50150-*
print -r -- 50150-Ą $sizes[50150-Ą]
print -r -- 50150-é $sizes[50150-é]
)
0:(workers/50150) zsh/stat with Unicode and metafication
>50150-Ą 0

View File

@ -754,6 +754,7 @@
# Subshell to shield nullexec redirections
( exec 3>&1 3>&2; print -u 3 some words )
sleep 1 # let background multi thread catch up
0:regression test: multios with nullexec
>some words
?some words