summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-07-11 21:06:56 +0200
committerGuido Günther <agx@sigxcpu.org>2014-07-11 21:12:04 +0200
commitd6dba76a8ba31b1a216979439f05cdb7fe25c5c2 (patch)
tree052d7abfc5ba48176e610fe5b67fb0eec5a90cb8
parentaaa59d8716cc4f569f5c7be260b04be049c3b691 (diff)
Add simple autopkgtest
-rw-r--r--debian/control1
-rw-r--r--debian/tests/control3
-rwxr-xr-xdebian/tests/smoke3
3 files changed, 7 insertions, 0 deletions
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