summaryrefslogtreecommitdiffstats
path: root/tests/include.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/include.rc')
-rw-r--r--tests/include.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/include.rc b/tests/include.rc
index 12f70e991c8..de3b90ee86b 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -426,6 +426,7 @@ stat -c %s /dev/null > /dev/null 2>&1 || {
function cleanup()
{
+ cd # Things go pear-shaped if we're inside a Gluster mount.
# Prepare flags for umount
case `uname -s` in