fuse: Skip guestmount test if setfacl is not installed.

This dependency is optional, don't fail the test if it's not
installed.
(cherry picked from commit 7b44f7b3df)
This commit is contained in:
Richard W.M. Jones
2011-10-27 13:44:02 +01:00
parent 7df166759a
commit 8cb49efef3

View File

@@ -25,6 +25,11 @@ if [ ! -w /dev/fuse ]; then
exit 0
fi
if ! setfacl --help >/dev/null 2>&1; then
echo "SKIPPING guestmount test, because setfacl is not installed."
exit 0
fi
if [ -z "$top_builddir" ]; then
echo "$0: error: environment variable \$top_builddir must be set"
exit 1