Add a superficial autopkgtest.
authorgregor herrmann <gregoa@debian.org>
Sat, 2 May 2020 15:36:52 +0000 (17:36 +0200)
committergregor herrmann <gregoa@debian.org>
Sat, 2 May 2020 15:40:00 +0000 (17:40 +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..6dad67f
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+echo "* Call \`mailtextbody --help'."
+mailtextbody --help
+
+echo "* Call \`mailtextbody --version' and check output."
+mailtextbody --version | grep -F 'mailtextbody 0.1.4'