From ce2e610428c940c2bd5ca1790e7375117b1f6015 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 15 Feb 2017 23:02:01 +0100 Subject: 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. --- benchmark.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'benchmark.bash') diff --git a/benchmark.bash b/benchmark.bash index d53e718..b1c334e 100755 --- a/benchmark.bash +++ b/benchmark.bash @@ -5,6 +5,7 @@ cd "$(dirname "$0")" MYNAME=$(basename "$0") +source tests/fuse-unmount.bash function usage { echo "Usage: $MYNAME [-encfs] [-openssl=true] [-openssl=false] [DIR]" @@ -70,7 +71,7 @@ else fi # Cleanup trap -trap "cd /; fusermount -u -z $MNT; rm -rf $CRYPT $MNT" EXIT +trap "cd /; fuse-unmount -z $MNT; rm -rf $CRYPT $MNT" EXIT # Benchmarks ./tests/canonical-benchmarks.bash $MNT -- cgit v1.2.3