about summary refs log tree commit diff
path: root/Test/ztst.zsh
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-09 09:02:13 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-09 09:02:13 +0000
commitd0c66ab2f0c57e74b03dae6a441aa18948b76c71 (patch)
treeb028844d06129ee56139a013933e0005f4be4bcc /Test/ztst.zsh
parente842c1d911c88aaa031f9e5bfc7666cc15e8e64a (diff)
downloadzsh-d0c66ab2f0c57e74b03dae6a441aa18948b76c71.tar.gz
zsh-d0c66ab2f0c57e74b03dae6a441aa18948b76c71.tar.xz
zsh-d0c66ab2f0c57e74b03dae6a441aa18948b76c71.zip
zsh-workers/8962
Diffstat (limited to 'Test/ztst.zsh')
-rwxr-xr-xTest/ztst.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Test/ztst.zsh b/Test/ztst.zsh
index d3d03e883..5b00ff62f 100755
--- a/Test/ztst.zsh
+++ b/Test/ztst.zsh
@@ -52,6 +52,7 @@ ZTST_tout=${TMPPREFIX-:/tmp/zsh}.ztst.tout.$$
 ZTST_terr=${TMPPREFIX-:/tmp/zsh}.ztst.terr.$$
 
 ZTST_cleanup() {
+  cd $ZTST_testdir
   rm -rf $ZTST_testdir/dummy.tmp $ZTST_testdir/*.tmp \
          $ZTST_in $ZTST_out $ZTST_err $ZTST_tout $ZTST_terr
 }