summaryrefslogtreecommitdiffstats
path: root/debian/tests/help.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:45:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:45:40 +0000
commitb9a2bf7b2ccc8190d38e44db120a92ca46c9fd1e (patch)
tree3cbe7aab712cf5a385e4aa0446b3766b7a17617f /debian/tests/help.sh
parentAdding upstream version 1:115.7.0. (diff)
downloadthunderbird-b9a2bf7b2ccc8190d38e44db120a92ca46c9fd1e.tar.xz
thunderbird-b9a2bf7b2ccc8190d38e44db120a92ca46c9fd1e.zip
Adding debian version 1:115.7.0-1.debian/1%115.7.0-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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."