From fb707c0acbea8b3e06eb6ff9781481929c67d926 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 2 Oct 2014 17:17:47 +0100 Subject: 33332: test safer numeric import from environment --- ChangeLog | 4 ++++ Test/C01arith.ztst | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0ba82a4c5..764ea13e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-10-02 Peter Stephenson + + * 33332: Test/C01arith.ztst: test numeric import fix in 33276. + 2014-10-02 Barton E. Schaefer * 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 -- cgit 1.4.1