[Debian-ha-commits] [sbd] 13/16: debian/tests: add simple test that works in lxc

Valentin Vidic vvidic-guest at moszumanska.debian.org
Fri Jun 23 16:49:27 UTC 2017


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

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

commit d1697fefc77f09a107fe24498bb607218677c0a0
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Fri Jun 23 16:11:25 2017 +0200

    debian/tests: add simple test that works in lxc
---
 debian/tests/control | 8 ++++++--
 debian/tests/help    | 5 +++++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index 1393e08..68829b8 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,7 @@
-Depends: @
+Tests: help
+
+Restrictions: needs-root, isolation-machine
+Tests: watch
+
 Restrictions: needs-root, allow-stderr, isolation-machine
-Tests: watch, regression
+Tests: regression
diff --git a/debian/tests/help b/debian/tests/help
new file mode 100755
index 0000000..e60ce1c
--- /dev/null
+++ b/debian/tests/help
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+/usr/sbin/sbd -h 2>&1 | grep ^Options: -C 10

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



More information about the Debian-HA-Commits mailing list