From d6dba76a8ba31b1a216979439f05cdb7fe25c5c2 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 11 Jul 2014 21:06:56 +0200 Subject: Add simple autopkgtest --- debian/control | 1 + debian/tests/control | 3 +++ debian/tests/smoke | 3 +++ 3 files changed, 7 insertions(+) create mode 100644 debian/tests/control create mode 100755 debian/tests/smoke diff --git a/debian/control b/debian/control index 516e234..4711391 100644 --- a/debian/control +++ b/debian/control @@ -11,6 +11,7 @@ Standards-Version: 3.9.5 Homepage: https://honk.sigxcpu.org/piki/projects/whatmaps Vcs-Git: git://honk.sigxcpu.org/git/whatmaps.git/ X-Python-Version: >= 2.7 +XS-Testsuite: autopkgtest Package: whatmaps Architecture: all diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..2c75b73 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,3 @@ +Tests: smoke +Restrictions: needs-root +Depends: libvirt-bin, @ diff --git a/debian/tests/smoke b/debian/tests/smoke new file mode 100755 index 0000000..dde8c37 --- /dev/null +++ b/debian/tests/smoke @@ -0,0 +1,3 @@ +#!/bin/sh + +whatmaps libvirt0 | grep -qs ^libvirt-bin -- cgit v1.2.3