[Pkg-libvirt-commits] [libguestfs] 28/156: fuse: Skip test-fuse-umount-race.sh if backing file does not exist.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Aug 30 08:25:47 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository libguestfs.
commit 8e975f286a0f3482a5f77d58b56e2994721cc948
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Sun May 25 22:34:04 2014 +0100
fuse: Skip test-fuse-umount-race.sh if backing file does not exist.
(cherry picked from commit f32aef2971497872c179cb16dd1a1d922c46587e)
---
fuse/test-fuse-umount-race.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/fuse/test-fuse-umount-race.sh b/fuse/test-fuse-umount-race.sh
index 7624219..cb9e5a0 100755
--- a/fuse/test-fuse-umount-race.sh
+++ b/fuse/test-fuse-umount-race.sh
@@ -33,6 +33,11 @@ if [ ! -w /dev/fuse ]; then
exit 77
fi
+if [ ! -f ../tests/guests/fedora.img ]; then
+ echo "$0: test skipped because fedora.img test guest does not exist."
+ exit 77
+fi
+
if [ "$(../fish/guestfish get-backend)" = "uml" ]; then
echo "$0: skipping test because uml backend does not support qcow2"
exit 77
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list