[Pkg-libvirt-commits] [virt-manager] 01/01: autopkgtest: Run virt-manager as well

Guido Guenther agx at moszumanska.debian.org
Sun Apr 17 14:58:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

agx pushed a commit to branch debian/sid
in repository virt-manager.

commit 7f0c8b30d5c1d36193afb43192644dc6d9c7087b
Author: Guido Günther <agx at sigxcpu.org>
Date:   Sun Apr 17 15:58:00 2016 +0200

    autopkgtest: Run virt-manager as well
---
 debian/tests/control                      |  7 ++++++-
 debian/tests/help.sh                      | 12 +++++++-----
 debian/tests/{help.sh => virt-manager.sh} |  9 +++++----
 3 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index b1d3d03..0dd48b2 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,7 @@
 Tests: help.sh
-Depends: virtinst
+Depends: virtinst,
+
+Tests: virt-manager.sh
+Depends: virt-manager,
+ xvfb,
+ xauth,
diff --git a/debian/tests/help.sh b/debian/tests/help.sh
index ef44404..8079efd 100644
--- a/debian/tests/help.sh
+++ b/debian/tests/help.sh
@@ -1,7 +1,9 @@
+#!/bin/sh
+
+set -e
+
 # At least check we can execute the main binary
 # to catch missing python dependenies
-
-virt-install --help
-virt-xml --help
-virt-convert --help
-virt-clone --help
+for p in install xml convert clone; do
+    virt-$p --help
+done
diff --git a/debian/tests/help.sh b/debian/tests/virt-manager.sh
similarity index 54%
copy from debian/tests/help.sh
copy to debian/tests/virt-manager.sh
index ef44404..3c07ece 100644
--- a/debian/tests/help.sh
+++ b/debian/tests/virt-manager.sh
@@ -1,7 +1,8 @@
+#!/bin/sh
+
 # At least check we can execute the main binary
 # to catch missing python dependenies
 
-virt-install --help
-virt-xml --help
-virt-convert --help
-virt-clone --help
+set -e
+
+xvfb-run virt-manager --help

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/virt-manager.git



More information about the Pkg-libvirt-commits mailing list