Package: adduser
Version: 3.113+nmu3
Tags: patch

The patch attached adds support for autopkgtest [1] and enables to run the testsuite automatically [2]. It has been proposed to Ubuntu [3], and you might be interested in doing the same in Debian.

[1] http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD
[2] https://jenkins.qa.ubuntu.com/view/Trusty/view/AutoPkgTest/
[3] https://bugs.launchpad.net/ubuntu/+source/adduser/+bug/1246331

--
Jean-Baptiste
IRC: jibel
=== modified file 'debian/changelog'
--- debian/changelog	2013-06-07 11:24:08 +0000
+++ debian/changelog	2013-10-30 13:54:35 +0000
@@ -1,3 +1,9 @@
+adduser (3.113+nmu3ubuntu3) trusty; urgency=low
+
+  * Enable autopkgtests (LP: #1246331)
+
+ -- Jean-Baptiste Lallement <jean-baptiste.lallem...@canonical.com>  Wed, 30 Oct 2013 14:51:16 +0100
+
 adduser (3.113+nmu3ubuntu2) saucy; urgency=low
 
   * Move ecryptfs-utils from recommends, to suggests. (LP: #1188108)

=== added directory 'debian/tests'
=== added file 'debian/tests/adduser'
--- debian/tests/adduser	1970-01-01 00:00:00 +0000
+++ debian/tests/adduser	2013-10-30 13:54:35 +0000
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -eu
+
+cd testsuite
+./runsuite.sh

=== added file 'debian/tests/control'
--- debian/tests/control	1970-01-01 00:00:00 +0000
+++ debian/tests/control	2013-10-30 13:54:35 +0000
@@ -0,0 +1,3 @@
+Tests: adduser
+Depends: 
+Restrictions: needs-root allow-stderr

Reply via email to