summaryrefslogtreecommitdiffstats
path: root/fuse
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-10-17 09:59:43 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-10-17 09:59:43 +0100
commitcf4cc1143393d607a7fb4cdbee1434544237d5d4 (patch)
tree4bc4bd31ef67f8c5f1b05655b79783331a210a00 /fuse
parent8cf06ddcddf1fda3a189667dbaaa4560ba49df3c (diff)
downloadlibguestfs-cf4cc1143393d607a7fb4cdbee1434544237d5d4.tar.gz
libguestfs-cf4cc1143393d607a7fb4cdbee1434544237d5d4.tar.xz
libguestfs-cf4cc1143393d607a7fb4cdbee1434544237d5d4.zip
Skip guestmount and virt-sysprep tests if no /dev/fuse.
Diffstat (limited to 'fuse')
-rwxr-xr-xfuse/test-fuse.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/fuse/test-fuse.sh b/fuse/test-fuse.sh
index cfa277aa..7de5211f 100755
--- a/fuse/test-fuse.sh
+++ b/fuse/test-fuse.sh
@@ -20,6 +20,11 @@ unset CDPATH
set -e
#set -v
+if [ ! -w /dev/fuse ]; then
+ echo "SKIPPING guestmount test, because there is no /dev/fuse."
+ exit 0
+fi
+
if [ -z "$top_builddir" ]; then
echo "$0: error: environment variable \$top_builddir must be set"
exit 1