From 12069ef095d16668bd3a24daf370d7cdc1386369 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 5 May 2015 08:48:01 +0530 Subject: cleanup: Unmount all fuse mounts Change-Id: I851b4bd74b595d739f7bf9eea920d07e31fa5fbc BUG: 1202244 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/10540 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- tests/include.rc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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 -- cgit