diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 03:34:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 03:34:38 +0000 |
commit | df7e23e93574873618aee45820803ee4c38d9698 (patch) | |
tree | e4772d1825878a561dec4bf04262aff22cc8cef1 /debian/tests/smoketest | |
parent | Adding upstream version 3.3a. (diff) | |
download | tmux-df7e23e93574873618aee45820803ee4c38d9698.tar.xz tmux-df7e23e93574873618aee45820803ee4c38d9698.zip |
Adding debian version 3.3a-5.debian/3.3a-5
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/smoketest')
-rwxr-xr-x | debian/tests/smoketest | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/tests/smoketest b/debian/tests/smoketest new file mode 100755 index 0000000..414ac35 --- /dev/null +++ b/debian/tests/smoketest @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +SESSION="test_session" + +if tmux list-sessions 2>/dev/null; then + echo >&2 "Found unexpected tmux session" + exit 1 +fi +tmux new-session -d -s $SESSION +tmux list-sessions | grep -q $SESSION >/dev/null +tmux kill-session -t $SESSION +if tmux list-sessions 2>/dev/null; then + echo >&2 "Found unexpected tmux session" + exit 1 +fi |