X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;ds=sidebyside;f=run_tests.sh;h=1f2fbf14f4f3e3f6e0e4db7ae2e04c07fd43bd27;hb=da45e404b42ba943141067d86215890bc7c05775;hp=a3dcb365972f9e1ea686dae32d21ce07e5bc0716;hpb=5c2c6d3286e691f8a5b61bc2d83b9cc07bb18e9d;p=rrq%2Ffuse_xattrs.git diff --git a/run_tests.sh b/run_tests.sh index a3dcb36..1f2fbf1 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -4,6 +4,12 @@ mkdir -p test/mount mkdir -p test/source ./fuse_xattrs -o nonempty test/source/ test/mount/ +if [ $? -ne 0 ]; then + echo "Error mounting the filesystem." + echo "Do you have permissions?" + exit 1 +fi + pushd test set +e