about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2024-11-05 13:50:51 -0800
committerBart Schaefer <schaefer@zsh.org>2024-11-05 13:50:51 -0800
commitf282ff579284c7dd918438bc8e30fba4f6776c8c (patch)
treef0ef93322274279f263434bb6a951da12ec6c710 /Test
parentac1fd06d7ce073c86f00d50fd74464bcb5194e97 (diff)
downloadzsh-f282ff579284c7dd918438bc8e30fba4f6776c8c.tar.gz
zsh-f282ff579284c7dd918438bc8e30fba4f6776c8c.tar.xz
zsh-f282ff579284c7dd918438bc8e30fba4f6776c8c.zip
53209 + tests: do not unmetafy via string pointers into global parameter table
Diffstat (limited to 'Test')
-rw-r--r--Test/D04parameter.ztst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index 0e2a04eb5..7953827d6 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -2834,3 +2834,11 @@ F:behavior, see http://austingroupbugs.net/view.php?id=888
   fi
 1:${(#X)...}: array of out-of-range characters
 ?(eval):4: character not in range
+
+  (
+   export ZDOTDIR=${ echo $PWD/'\0360\0237\0224\0256' }
+   $ZTST_testdir/../Src/zsh -c 'echo $ZDOTDIR'
+  )
+0:regression for workers/53179 unicode ZDOTDIR
+F:output ignorable as long as not an error
+*>*