about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-04-13 10:01:52 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-04-13 10:01:52 +0000
commitad95e2e27981a2beb1a032d8487b3b54fe0af4b8 (patch)
tree81ce09f12212a2161d6bd7d9402b238586d6b443
parent3e3ecda01bddb92a4103cd5910dbe25ba27bf46e (diff)
downloadzsh-ad95e2e27981a2beb1a032d8487b3b54fe0af4b8.tar.gz
zsh-ad95e2e27981a2beb1a032d8487b3b54fe0af4b8.tar.xz
zsh-ad95e2e27981a2beb1a032d8487b3b54fe0af4b8.zip
21136: don't leave TRAPEXIT lying around in Test directory
-rw-r--r--ChangeLog5
-rw-r--r--Test/C03traps.ztst4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b00802b6..c75c632b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-13  Peter Stephenson  <pws@csr.com>
+
+	* 21136: Test/C03traps.ztst: don't leave TRAPEXIT file lying
+	around in Test directory.
+
 2005-04-12  Clint Adams  <clint@zsh.org>
 
 	* 21135: Completion/Unix/Command/_screen: complete attached
diff --git a/Test/C03traps.ztst b/Test/C03traps.ztst
index f75c47c4d..b9d909761 100644
--- a/Test/C03traps.ztst
+++ b/Test/C03traps.ztst
@@ -59,8 +59,8 @@
 
 # $ZTST_exe is relative to the parent directory.
 # We ought to fix this in ztst.zsh...
-  cd ..
-  $ZTST_exe -fc 'TRAPEXIT() { print Exited.; }'
+  (cd ..
+  $ZTST_exe -fc 'TRAPEXIT() { print Exited.; }')
 0:EXIT traps on a script
 >Exited.