aboutsummaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-02-15 23:02:01 +0100
committerJakob Unterwurzacher2017-02-15 23:02:01 +0100
commitce2e610428c940c2bd5ca1790e7375117b1f6015 (patch)
tree08563c5e36b8d285390f897cd122e7e1aa8f6fc4 /test.bash
parent6be7808992a1d9562b113b13831cd6d6a40114d6 (diff)
OSX compat: replace fusermount calls with fuse-unmount.bash
Mac OS X does not have fusermount and uses umount instead. The fuse-unmount.bash calls the appropriate command.
Diffstat (limited to 'test.bash')
-rwxr-xr-xtest.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/test.bash b/test.bash
index 4ca50ef..305d135 100755
--- a/test.bash
+++ b/test.bash
@@ -18,9 +18,10 @@ if ! flock --nonblock 200 ; then
fi
# Clean up dangling filesystems
+source tests/fuse-unmount.bash
for i in $(cat /proc/mounts | grep $TESTDIR | cut -f2 -d" "); do
echo "Warning: unmounting leftover filesystem: $i"
- fusermount -u $i
+ fuse-unmount $i
done
source build-without-openssl.bash