[DRE-commits] [redmine] 01/02: debian/tests/install-purge-install: let autopkgtest make the first installation

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Mar 7 15:01:53 UTC 2017


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

terceiro pushed a commit to branch master
in repository redmine.

commit bf5bf841ed25da1dac99bb0bbf272d63a7732e63
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Mar 7 15:56:08 2017 +0100

    debian/tests/install-purge-install: let autopkgtest make the first installation
---
 debian/changelog                   | 8 ++++++++
 debian/tests/control               | 2 +-
 debian/tests/install-purge-install | 1 -
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 18912fd..28277e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+redmine (3.3.1-4) UNRELEASED; urgency=medium
+
+  * debian/tests/install-purge-install: let autopkgtest handle the first
+    installation. This improves the reliability of the test because
+    autopkgtest handles temporary download failures in APT for us
+
+ -- Antonio Terceiro <terceiro at debian.org>  Tue, 07 Mar 2017 15:54:28 +0100
+
 redmine (3.3.1-3) unstable; urgency=medium
 
   [ Beatrice Torracca ]
diff --git a/debian/tests/control b/debian/tests/control
index 2a75f7d..d1acd92 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -19,5 +19,5 @@ Depends: redmine, redmine-plugin-custom-css, apache2, libapache2-mod-passenger,
 Restrictions: needs-root
 
 Tests: install-purge-install
-Depends: base-files
+Depends: redmine
 Restrictions: needs-root
diff --git a/debian/tests/install-purge-install b/debian/tests/install-purge-install
index 3171926..0b32850 100755
--- a/debian/tests/install-purge-install
+++ b/debian/tests/install-purge-install
@@ -5,6 +5,5 @@ set -exu
 
 export DEBIAN_FRONTEND=noninteractive
 
-apt-get install -qy redmine
 apt-get purge -qy redmine
 apt-get install -qy redmine

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/redmine.git



More information about the Pkg-ruby-extras-commits mailing list