1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

unposted: regression test for 40071

This commit is contained in:
Barton E. Schaefer 2016-12-03 15:02:17 -08:00
parent a409adc33b
commit ffed0695c2
2 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2016-12-03 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Test/D04parameter.ztst: regression test for 40071
* 40071: Src/subst.c: change Dash back to "-" before evaluating
named directory expansions

View file

@ -852,6 +852,7 @@
foo='b* e*'
print ${(e)~foo}
print ${(e)~=foo}
setopt nomatch
0:Rule 10: Re-Evaluation
>b* e*
>boringfile evenmoreboringfile
@ -2049,3 +2050,8 @@
0:Out-of-range multiple array subscripts with quoting, with and without (@)
>1
>0
a='~-/'; echo $~a
0:Regression: "-" became Dash in workers/37689, breaking ~- expansion
*>*
F:We do not care what $OLDPWD is, as long as it doesn't cause an error