summaryrefslogtreecommitdiffstats
path: root/debian/tests/t/version-help.t
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:46:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:46:01 +0000
commitf99ae3f90a40cab5ac45a299e82a8987b7264eab (patch)
tree46554594be2eb10da0f510e9135526d680637f6f /debian/tests/t/version-help.t
parentAdding upstream version 4.8.0. (diff)
downloadscreen-debian.tar.xz
screen-debian.zip
Adding debian version 4.8.0-6.debian/4.8.0-6debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/t/version-help.t')
-rwxr-xr-xdebian/tests/t/version-help.t11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/tests/t/version-help.t b/debian/tests/t/version-help.t
new file mode 100755
index 0000000..f6496c0
--- /dev/null
+++ b/debian/tests/t/version-help.t
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+echo 1..2
+
+. `dirname $0`/boilerplate.sh
+
+screen -v | fgrep -q 'Screen version '
+check_exit_code_true Outputs version
+
+screen -h | fgrep -q 'Options:'
+check_exit_code_true Outputs help