mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user