git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python: Correctly check for Python major/minor.
[libguestfs.git]
/
fuse
/
test-fuse.sh
diff --git
a/fuse/test-fuse.sh
b/fuse/test-fuse.sh
index
cfa277a
..
27e6296
100755
(executable)
--- a/
fuse/test-fuse.sh
+++ b/
fuse/test-fuse.sh
@@
-20,6
+20,16
@@
unset CDPATH
set -e
#set -v
set -e
#set -v
+if [ ! -w /dev/fuse ]; then
+ echo "SKIPPING guestmount test, because there is no /dev/fuse."
+ 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
if [ -z "$top_builddir" ]; then
echo "$0: error: environment variable \$top_builddir must be set"
exit 1