From 7b44f7b3df0b20b2b5e889d89e82a35eed20d43e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 27 Oct 2011 13:44:02 +0100 Subject: [PATCH] fuse: Skip guestmount test if setfacl is not installed. This dependency is optional, don't fail the test if it's not installed. --- fuse/test-fuse.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fuse/test-fuse.sh b/fuse/test-fuse.sh index 7de5211..27e6296 100755 --- a/fuse/test-fuse.sh +++ b/fuse/test-fuse.sh @@ -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 -- 1.8.3.1