[Debian-ha-commits] [pcs] 01/01: Set -e in tests

Christoph Berg myon at debian.org
Mon Jun 20 14:12:47 UTC 2016


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

myon pushed a commit to branch master
in repository pcs.

commit 5a7c282efc25c3990e4ad6ff7c767bd828bd0971
Author: Christoph Berg <christoph.berg at credativ.de>
Date:   Mon Jun 20 16:09:32 2016 +0200

    Set -e in tests
---
 debian/tests/setup  | 2 ++
 debian/tests/status | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/debian/tests/setup b/debian/tests/setup
index 366a3a6..fdca977 100755
--- a/debian/tests/setup
+++ b/debian/tests/setup
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 cleanup () {
   service pcsd stop
   service pacemaker stop
diff --git a/debian/tests/status b/debian/tests/status
index ea30e0b..6e54037 100755
--- a/debian/tests/status
+++ b/debian/tests/status
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 cleanup () {
   service pacemaker stop
   service corosync stop

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/pcs.git



More information about the Debian-HA-Commits mailing list