diff options
author | Bart Schaefer <schaefer@zsh.org> | 2024-01-25 21:58:25 -0800 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2024-01-25 21:58:25 -0800 |
commit | 1a3ebb68d607c8f20077f50af16934b9236d5e41 (patch) | |
tree | e18ae5e5e8e25ca9ee2ab3ad9e720cff32633788 | |
parent | 2a538491ebdaaf41ad07e5b7a4d4d994faafb355 (diff) | |
download | zsh-1a3ebb68d607c8f20077f50af16934b9236d5e41.tar.gz zsh-1a3ebb68d607c8f20077f50af16934b9236d5e41.tar.xz zsh-1a3ebb68d607c8f20077f50af16934b9236d5e41.zip |
52385: avoid "tr" in test output formatting
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Test/B03print.ztst | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index ecb883c75..2caaecbdd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2024-01-25 Bart Schaefer <schaefer@zsh.org> + + * 52385: Test/B03print.ztst: avoid "tr" in test output formatting + 2024-01-24 Bart Schaefer <schaefer@zsh.org> * 52496 + 52377: Doc/Zsh/options.yo, Doc/Zsh/params.yo: clarify diff --git a/Test/B03print.ztst b/Test/B03print.ztst index 4d2cf9764..93a9669b0 100644 --- a/Test/B03print.ztst +++ b/Test/B03print.ztst @@ -305,8 +305,9 @@ foo+=$'\tone\ttwo\tthree\tfour\n' foo+=$'\t\tone\t\ttwo\t\tthree\t\tfour' foo+='\0' # regression test for multibyte tab expand - print -x4 $foo | tr '\0' Z # avoid raw nul byte in expected output below - print -X4 $foo | tr '\0' Z + # avoid raw nul byte in expected output below + print ${"$(print -x4 $foo)"/$'\0'/Z} + print ${"$(print -X4 $foo)"/$'\0'/Z} 0:Tab expansion by print >one two three four > one two three four |