about summary refs log tree commit diff
path: root/Test/ztst.zsh
diff options
context:
space:
mode:
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
 }