summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/include.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/include.rc b/tests/include.rc
index 64a9d34dc99..98c449387e5 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -409,6 +409,9 @@ function cleanup()
rm -rf $GLUSTERD_WORKDIR/* $B0/* /etc/glusterd/*;
fi
+ # unmount all stale mounts from /tmp, This is a temporary work around
+ # till the stale mount in /tmp is found.
+ umount -l /tmp/mnt* 2>/dev/null
umount -l $M0 2>/dev/null || umount -f $M0 2>/dev/null || true;
umount -l $M1 2>/dev/null || umount -f $M1 2>/dev/null || true;
umount -l $N0 2>/dev/null || umount -f $N0 2>/dev/null || true;