[DRE-commits] [ruby-sidekiq-cron] 01/02: fix autopkgtest failure

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Sep 1 18:54:48 UTC 2016


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

praveen pushed a commit to branch master
in repository ruby-sidekiq-cron.

commit 50906ebb5a3599b9d44d7b2282d2356fac6230e5
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Sep 2 00:05:41 2016 +0530

    fix autopkgtest failure
---
 debian/changelog             | 8 ++++++++
 debian/start-redis-server.sh | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 40154c0..46b8c59 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-sidekiq-cron (0.4.2-5) UNRELEASED; urgency=medium
+
+  * Don't exit even if killing redis-server after tests fails.
+    This fixes autopkgtest as it allows starting redis-server service
+    during dependency installation itself.
+
+ -- Pirate Praveen <praveen at debian.org>  Fri, 02 Sep 2016 00:03:34 +0530
+
 ruby-sidekiq-cron (0.4.2-4) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/start-redis-server.sh b/debian/start-redis-server.sh
index 6af128d..cc25b22 100755
--- a/debian/start-redis-server.sh
+++ b/debian/start-redis-server.sh
@@ -7,7 +7,7 @@ PID=$!
 
 # Stop redis-server
 cleanup(){
-    kill -9 $PID
+    kill -9 $PID || true
 }
 
 trap cleanup INT EXIT TERM ALRM

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



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