diff options
-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 |