diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-10-17 09:59:43 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-10-17 09:59:43 +0100 |
commit | cf4cc1143393d607a7fb4cdbee1434544237d5d4 (patch) | |
tree | 4bc4bd31ef67f8c5f1b05655b79783331a210a00 /fuse | |
parent | 8cf06ddcddf1fda3a189667dbaaa4560ba49df3c (diff) | |
download | libguestfs-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-x | fuse/test-fuse.sh | 5 |
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 |