summaryrefslogtreecommitdiff
path: root/tests/glob-test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/glob-test')
-rw-r--r--tests/glob-test7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/glob-test b/tests/glob-test
index f2c4d334..dfb987ec 100644
--- a/tests/glob-test
+++ b/tests/glob-test
@@ -369,11 +369,10 @@ GLOBIGNORE=
expect '<man/man1/bash.1>'
recho */man*/bash.*
-builtin cd /
-rm -rf $TESTDIR
-
# this is for the benefit of pure coverage, so it writes the pcv file
-# in the right place
+# in the right place, and for gprof
builtin cd $MYDIR
+rm -rf $TESTDIR
+
exit 0