[Debian-ha-commits] [ocfs2-tools] 02/04: debian/tests: disable o2cb cluster after test

Valentin Vidic vvidic-guest at moszumanska.debian.org
Sun Jul 17 09:08:29 UTC 2016


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

vvidic-guest pushed a commit to branch master
in repository ocfs2-tools.

commit 8fd395cbc3eb4ae7eeae13d1cf37d0c15df46347
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Sun Jul 17 00:25:39 2016 +0200

    debian/tests: disable o2cb cluster after test
---
 debian/tests/o2cb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/tests/o2cb b/debian/tests/o2cb
index 4de6c5b..d979c38 100644
--- a/debian/tests/o2cb
+++ b/debian/tests/o2cb
@@ -7,6 +7,7 @@ cleanup () {
   [ "$LOOP" ] && losetup -d $LOOP
   rm -f disk disk.image || true
   service o2cb stop
+  sed -i -e 's/^O2CB_ENABLED=.*/O2CB_ENABLED=false/' /etc/default/o2cb
 }
 
 trap "cleanup" 0 2 3 15

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



More information about the Debian-HA-Commits mailing list