summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclone/test-virt-sysprep.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/clone/test-virt-sysprep.sh b/clone/test-virt-sysprep.sh
index 097f416b..81e01f89 100755
--- a/clone/test-virt-sysprep.sh
+++ b/clone/test-virt-sysprep.sh
@@ -24,6 +24,11 @@ if [ ! -w /dev/fuse ]; then
exit 0
fi
+if ! xmlstarlet --help >/dev/null 2>&1; then
+ echo "SKIPPING virt-sysprep test, because xmlstarlet is not installed."
+ exit 0
+fi
+
rm -f test.img guestfish
qemu-img create -f qcow2 -o backing_file=../images/fedora.img test.img