Add superficial autopkgtest.
authorgregor herrmann <gregoa@debian.org>
Sat, 2 May 2020 15:23:51 +0000 (17:23 +0200)
committergregor herrmann <gregoa@debian.org>
Sat, 2 May 2020 15:23:51 +0000 (17:23 +0200)
debian/tests/control [new file with mode: 0644]
debian/tests/help-version [new file with mode: 0755]

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644 (file)
index 0000000..70cc912
--- /dev/null
@@ -0,0 +1,3 @@
+Tests: help-version
+Depends: @, grep
+Restrictions: superficial
diff --git a/debian/tests/help-version b/debian/tests/help-version
new file mode 100755 (executable)
index 0000000..94010c9
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+echo "* Call \`fullquottel --help'."
+fullquottel --help
+
+echo "* Call \`fullquottel --version' and check output."
+fullquottel --version | grep -F 'fullquottel 0.1.4'