summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-10-02 08:37:04 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2018-10-02 08:37:04 +0200
commit091fc8b006bd3a4a800072c184e795526bb6a5fe (patch)
tree92695198b45fa520d9c98f6079792174144a47f1
parenta363dde20546402efcba316ee842084bcfa7e6cf (diff)
autopkgtest
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/tests/can-show-help6
-rw-r--r--debian/tests/control4
3 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 08c465d..2edbb2f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ osmo-pcu (0.5.1-1~exp1) UNRELEASED; urgency=medium
- Generate .tarball-version in override_dh_autoreconf and delete it in
override_dh_clean
- Do not enable or start the systemd service by default on install
+ * debian/tests: Added autopkgtest to verify 'osmo-pcu -h'
-- Ruben Undheim <ruben.undheim@gmail.com> Tue, 02 Oct 2018 08:26:22 +0200
diff --git a/debian/tests/can-show-help b/debian/tests/can-show-help
new file mode 100755
index 0000000..0260a3c
--- /dev/null
+++ b/debian/tests/can-show-help
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -e
+
+osmo-pcu -h
+echo "run: OK"
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..6b4f333
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,4 @@
+Tests: can-show-help
+Depends: osmo-pcu
+
+