summaryrefslogtreecommitdiffstats
path: root/debian/tests/help.sh
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/help.sh')
-rwxr-xr-xdebian/tests/help.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/tests/help.sh b/debian/tests/help.sh
new file mode 100755
index 0000000000..79bf075020
--- /dev/null
+++ b/debian/tests/help.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+# At least check we can execute the main binary
+# to catch missing dependencies
+echo -n "Test1: checking help output..."
+xvfb-run -a /usr/lib/thunderbird/thunderbird -help >/dev/null
+echo "done."
+
+echo -n "Test2: checking version output..."
+xvfb-run -a /usr/lib/thunderbird/thunderbird --version | grep -qs Thunderbird
+echo "done."