diff options
| author | Peter Stephenson <pws@zsh.org> | 2014-10-02 17:17:47 +0100 |
|---|---|---|
| committer | Peter Stephenson <pws@zsh.org> | 2014-10-02 17:17:47 +0100 |
| commit | fb707c0acbea8b3e06eb6ff9781481929c67d926 (patch) | |
| tree | 47ca48aa3c74f84cee9f692ab1e9f7c5154bfd15 | |
| parent | 33320 (cf. PWS 33311): revert 33069, fix lexing of bangchar during completion (diff) | |
| download | zsh-fb707c0acbea8b3e06eb6ff9781481929c67d926.tar zsh-fb707c0acbea8b3e06eb6ff9781481929c67d926.tar.gz zsh-fb707c0acbea8b3e06eb6ff9781481929c67d926.tar.bz2 zsh-fb707c0acbea8b3e06eb6ff9781481929c67d926.tar.lz zsh-fb707c0acbea8b3e06eb6ff9781481929c67d926.tar.xz zsh-fb707c0acbea8b3e06eb6ff9781481929c67d926.tar.zst zsh-fb707c0acbea8b3e06eb6ff9781481929c67d926.zip | |
33332: test safer numeric import from environment
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | Test/C01arith.ztst | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2014-10-02 Peter Stephenson <p.stephenson@samsung.com> + + * 33332: Test/C01arith.ztst: test numeric import fix in 33276. + 2014-10-02 Barton E. Schaefer <schaefer@zsh.org> * 33320 (cf. PWS 33311): Completion/Base/Completer/_expand_alias, diff --git a/Test/C01arith.ztst b/Test/C01arith.ztst index 25cd8b83a..4c55b961e 100644 --- a/Test/C01arith.ztst +++ b/Test/C01arith.ztst @@ -282,3 +282,7 @@ print $(( [#_] (5. ** 10) / 16. )) 0:Grouping output with underscores: floating point >610_351.562_5 + + env SHLVL=1+RANDOM $ZTST_testdir/../Src/zsh -f -c 'print $SHLVL' +0:Imported integer functions are not evaluated +>2 |
