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 /Test | |
parent | 57252dc1e0b9f3b67189ac4957e51c31ee156ff6 (diff) | |
download | zsh-fb707c0acbea8b3e06eb6ff9781481929c67d926.tar.gz zsh-fb707c0acbea8b3e06eb6ff9781481929c67d926.tar.xz zsh-fb707c0acbea8b3e06eb6ff9781481929c67d926.zip |
33332: test safer numeric import from environment
Diffstat (limited to 'Test')
-rw-r--r-- | Test/C01arith.ztst | 4 |
1 files changed, 4 insertions, 0 deletions
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 |