summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--debian/control1
-rw-r--r--debian/tests/basics4
-rw-r--r--debian/tests/control4
4 files changed, 15 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 4e498a0a1..174b75156 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+git-annex (4.20130816) UNRELEASED; urgency=low
+
+ * Debian: Run the builtin test suite as an autopkgtest.
+
+ -- Joey Hess <joeyh@debian.org> Thu, 15 Aug 2013 15:47:52 +0200
+
git-annex (4.20130815) unstable; urgency=low
* assistant, watcher: .gitignore files and other git ignores are now
diff --git a/debian/control b/debian/control
index 49c0bde93..a7f36b55f 100644
--- a/debian/control
+++ b/debian/control
@@ -60,6 +60,7 @@ Maintainer: Joey Hess <joeyh@debian.org>
Standards-Version: 3.9.4
Vcs-Git: git://git.kitenet.net/git-annex
Homepage: http://git-annex.branchable.com/
+XS-Testsuite: autopkgtest
Package: git-annex
Architecture: any
diff --git a/debian/tests/basics b/debian/tests/basics
new file mode 100644
index 000000000..2e4ea43fc
--- /dev/null
+++ b/debian/tests/basics
@@ -0,0 +1,4 @@
+#!/bin/sh
+testdir="$(mktemp -d)"
+cd "$testdir"
+exec git-annex test
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 000000000..928caf8e3
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,4 @@
+Tests: basics
+Depends: @, git, rsync, gnupg
+Restrictions: allow-stderr
+