git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2749d6e
)
fuse: Skip guestmount test if setfacl is not installed.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 27 Oct 2011 12:44:02 +0000
(13:44 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 27 Oct 2011 12:44:02 +0000
(13:44 +0100)
This dependency is optional, don't fail the test if it's not
installed.
fuse/test-fuse.sh
patch
|
blob
|
history
diff --git
a/fuse/test-fuse.sh
b/fuse/test-fuse.sh
index
7de5211
..
27e6296
100755
(executable)
--- 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