[Pkg-libvirt-commits] [libguestfs] 35/63: v2v: skip test-v2v-i-ova.sh if rhsrvany.exe is not installed
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:43:29 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.39-1
in repository libguestfs.
commit 0fc7cbe99b59484ac285da8825e4f351ca019d6d
Author: Pino Toscano <ptoscano at redhat.com>
Date: Thu Sep 4 16:52:36 2014 +0200
v2v: skip test-v2v-i-ova.sh if rhsrvany.exe is not installed
---
v2v/test-v2v-i-ova.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/v2v/test-v2v-i-ova.sh b/v2v/test-v2v-i-ova.sh
index 018d03b..59fd77b 100755
--- a/v2v/test-v2v-i-ova.sh
+++ b/v2v/test-v2v-i-ova.sh
@@ -38,6 +38,12 @@ if ! test -f $f || ! test -s $f; then
exit 77
fi
+virt_tools_data_dir=${VIRT_TOOLS_DATA_DIR:-/usr/share/virt-tools}
+if ! test -r $virt_tools_data_dir/rhsrvany.exe; then
+ echo "$0: test skipped because rhsrvany.exe is not installed"
+ exit 77
+fi
+
d=test-v2v-i-ova.d
rm -rf $d
mkdir $d
--
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