about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2014-10-02 17:17:47 +0100
committerPeter Stephenson <pws@zsh.org>2014-10-02 17:17:47 +0100
commitfb707c0acbea8b3e06eb6ff9781481929c67d926 (patch)
tree47ca48aa3c74f84cee9f692ab1e9f7c5154bfd15
parent57252dc1e0b9f3b67189ac4957e51c31ee156ff6 (diff)
downloadzsh-fb707c0acbea8b3e06eb6ff9781481929c67d926.tar.gz
zsh-fb707c0acbea8b3e06eb6ff9781481929c67d926.tar.xz
zsh-fb707c0acbea8b3e06eb6ff9781481929c67d926.zip
33332: test safer numeric import from environment
-rw-r--r--ChangeLog4
-rw-r--r--Test/C01arith.ztst4
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0ba82a4c5..764ea13e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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