Fix problems with tests for 50126 and 50150.

master
Bart Schaefer 2 years ago
parent 1fd328e84c
commit 23dab58b8e

@ -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

@ -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

@ -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

Loading…
Cancel
Save