about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-07-07 15:40:34 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-07-07 15:40:34 +0000
commitf63b677f53d19553e7f63755fe4575638d64ae86 (patch)
treefbda1949858eafb581c7b3533aac79b00588e94c
parent4c8796b11deef3b75ea487ccf74a8f76674e5a9c (diff)
downloadzsh-f63b677f53d19553e7f63755fe4575638d64ae86.tar.gz
zsh-f63b677f53d19553e7f63755fe4575638d64ae86.tar.xz
zsh-f63b677f53d19553e7f63755fe4575638d64ae86.zip
21042: add test for bug fixed in 21041
-rw-r--r--ChangeLog3
-rw-r--r--Test/A06assign.ztst13
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3aff2e939..911ece7e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-07-07  Peter Stephenson  <pws@csr.com>
 
+	* 20142: Test/A06assign.ztst: add test for bug fixed in
+	20141.
+
 	* 20141: Src/builtin.c, Src/exec.c, Src/params.c:  Crash
 	after restoring exported special parameters.  The
 	answer was `pm = tpm' at exec.c:2590.
diff --git a/Test/A06assign.ztst b/Test/A06assign.ztst
index fa3714f22..3093c35ca 100644
--- a/Test/A06assign.ztst
+++ b/Test/A06assign.ztst
@@ -251,3 +251,16 @@
  echo $u
 0:add array to indexed unset variable
 >a z
+
+ repeat 10 PATH=. echo hello
+0:saving and restoring of exported special parameters
+>hello
+>hello
+>hello
+>hello
+>hello
+>hello
+>hello
+>hello
+>hello
+>hello