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 | |
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).
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Test/V05styles.ztst | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 4bcf659e3..318516bb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-04-07 Daniel Shahaf <d.s@daniel.shahaf.name> + + * 48425: Test/V05styles.ztst: Add an XFail test for a 'zstyle + -L' escaping bug (workers/48424). + 2021-04-06 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> * 48391: Src/Zle/compresult.c: correctly calculate display string 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 |