summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2015-05-05 08:48:01 +0530
committerVijay Bellur <vbellur@redhat.com>2015-05-05 10:32:08 -0700
commit12069ef095d16668bd3a24daf370d7cdc1386369 (patch)
treefc1687320c03d36a31b1d99e57d5b6e2f63bd1a0
parent8965ac78bfd26e7f45c9579894191817afafa15e (diff)
cleanup: Unmount all fuse mounts
Change-Id: I851b4bd74b595d739f7bf9eea920d07e31fa5fbc BUG: 1202244 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/10540 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--tests/include.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/include.rc b/tests/include.rc
index 92c8c8a2763..65fe0cc9c81 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -388,6 +388,9 @@ function cleanup()
done
killall -15 glusterfs glusterfsd glusterd 2>/dev/null || true;
+ for m in `mount | grep fuse.glusterfs | awk '{print $3}'`; do
+ umount $m
+ done
test x"$OSTYPE" = x"NetBSD" && pkill -15 perfused rpc.statd || true
# allow completion of signal handlers for SIGTERM before issue SIGKILL
sleep 1