diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-04-07 17:45:53 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-04-07 17:45:57 +0000 |
commit | 608e49ac193ed81a4f0648d5630cbdbf18d2eb20 (patch) | |
tree | 004c8c36b45e67d2fbac945969935a1edda4e84b /Test | |
parent | 9562a1ee7bd0d9cb4793f2441c7709e3da6dcefe (diff) | |
download | zsh-608e49ac193ed81a4f0648d5630cbdbf18d2eb20.tar.gz zsh-608e49ac193ed81a4f0648d5630cbdbf18d2eb20.tar.xz zsh-608e49ac193ed81a4f0648d5630cbdbf18d2eb20.zip |
48425: Add an XFail test for a 'zstyle -L' escaping bug (workers/48424).
Diffstat (limited to 'Test')
-rw-r--r-- | Test/V05styles.ztst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/V05styles.ztst b/Test/V05styles.ztst index 048751941..e4bdfece3 100644 --- a/Test/V05styles.ztst +++ b/Test/V05styles.ztst @@ -164,3 +164,12 @@ 0:the example in the documentation remains correct >snow >snow + + ( + zstyle $'con\x00text' $'ke\x00y' $'val\x00u' $'e' + a=( ${(f)"$(zstyle -L)"} ) + a=( ${(M)a:#*con*text*ke*y*val*u*e} ) + print -r -- "$a" + ) +-f:zstyle -L escapes the key (regression: workers/48424) +>zstyle $'con\C-@text' $'ke\C-@y' $'val\C-@u' e |