diff options
Diffstat (limited to 'tests/include.rc')
-rw-r--r-- | tests/include.rc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/include.rc b/tests/include.rc index 2c45873aec0..32d60b43348 100644 --- a/tests/include.rc +++ b/tests/include.rc @@ -35,6 +35,7 @@ H0=${H0:=`hostname`}; # hostname MOUNT_TYPE_FUSE="fuse.glusterfs" GREP_MOUNT_OPT_RO="grep (ro" GREP_MOUNT_OPT_RW="grep (rw" +UMOUNT_F="umount -f" PATH=$PATH:${PWD}/tests/utils @@ -46,6 +47,7 @@ NetBSD) MOUNT_TYPE_FUSE="puffs|perfuse|fuse.glusterfs" GREP_MOUNT_OPT_RO="grep (read-only" GREP_MOUNT_OPT_RW="grep -v (read-only" + UMOUNT_F="umount -f -R" ;; *) ;; @@ -456,7 +458,10 @@ function cleanup() Linux) flag="-l" ;; - NetBSD|FreeBSD|Darwin) + NetBSD) + flag="-f -R" + ;; + FreeBSD|Darwin) flag="-f" ;; *) |