[Pkg-libvirt-commits] [libvirt] 05/09: smoketests: improve output a bit
Guido Guenther
agx at moszumanska.debian.org
Thu Dec 22 14:07:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
agx pushed a commit to annotated tag debian/2.5.0-2
in repository libvirt.
commit 7d1cd8e3b58bd10a7b450deec5d4cc4ac29d9a99
Author: Guido Günther <agx at sigxcpu.org>
Date: Thu Dec 22 13:08:32 2016 +0100
smoketests: improve output a bit
Git-Dch: Ignore
---
debian/tests/smoke-lxc | 3 ++-
debian/tests/smoke-qemu-session | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/tests/smoke-lxc b/debian/tests/smoke-lxc
index 7d07815..649f87c 100755
--- a/debian/tests/smoke-lxc
+++ b/debian/tests/smoke-lxc
@@ -1,7 +1,6 @@
#!/bin/sh
set -e
-set -x
export LIBVIRT_DEFAULT_URI='lxc:///'
@@ -25,6 +24,7 @@ check_domain()
trap cleanup EXIT
+set -x
virt-host-validate lxc || exit 0
virsh capabilities
virsh capabilities | grep -qs 'emulator>/usr/lib/libvirt/libvirt_lxc'
@@ -42,6 +42,7 @@ check_domain
virsh destroy ${DOMAIN}
virsh undefine ${DOMAIN}
CLEANED_UP=1
+set +x
echo 'Smoke test of lxc:/// succesful'
exit 0
diff --git a/debian/tests/smoke-qemu-session b/debian/tests/smoke-qemu-session
index 4aff627..c9b813d 100755
--- a/debian/tests/smoke-qemu-session
+++ b/debian/tests/smoke-qemu-session
@@ -1,7 +1,6 @@
#!/bin/sh
set -e
-set -x
export LIBVIRT_DEFAULT_URI='qemu:///session'
XML=debian/tests/smoke-qemu-session.xml
@@ -29,6 +28,7 @@ if [ $(uname -m) != "x86_64" ]; then
fi
echo echo "Running as $USER"
+set -x
virt-host-validate qemu || true
virsh capabilities
virsh capabilities | grep -qs "arch name='x86_64'"
@@ -40,6 +40,7 @@ virsh list | grep -qs "${DOMAIN}[[:space:]]\+running"
virsh destroy ${DOMAIN}
virsh undefine ${DOMAIN}
CLEANED_UP=1
+set +x
echo 'Smoke test of qemu session:/// succesful'
exit 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt.git
More information about the Pkg-libvirt-commits
mailing list