X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=run_tests.sh;h=5a0b4a0ffb64c2565b27d04cc88a01c11df281f5;hb=37f43d2aa3f135a7fff1ca03552a4468b07f3390;hp=1f2fbf14f4f3e3f6e0e4db7ae2e04c07fd43bd27;hpb=e03e2124e109bf8a60032ac54238de32ca38e8d3;p=rrq%2Ffuse_xattrs.git diff --git a/run_tests.sh b/run_tests.sh index 1f2fbf1..5a0b4a0 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -2,7 +2,7 @@ mkdir -p test/mount mkdir -p test/source -./fuse_xattrs -o nonempty test/source/ test/mount/ +./fuse_xattrs -o enable_namespaces test/source/ test/mount/ if [ $? -ne 0 ]; then echo "Error mounting the filesystem." @@ -19,7 +19,12 @@ set -e popd -fusermount -zu test/mount +if [[ "$OSTYPE" == "darwin"* ]]; then + umount test/mount +else + fusermount -uz test/mount +fi + rm -d test/source rm -d test/mount