aboutgitcodelistschat:MatrixIRC
path: root/web/common.sh
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-06-14 16:23:12 +0200
committerAlice Frosi <afrosi@redhat.com>2023-06-14 16:23:12 +0200
commitd8fecc6ec2fcd9b5113bca23ba62144390926dcd (patch)
tree291189201ac939ce52a935ad0784c1b6f6c8df8f /web/common.sh
parent008c65c30900608d7e4a46e927d5ea3d22fd6255 (diff)
downloadseitan-d8fecc6ec2fcd9b5113bca23ba62144390926dcd.tar
seitan-d8fecc6ec2fcd9b5113bca23ba62144390926dcd.tar.gz
seitan-d8fecc6ec2fcd9b5113bca23ba62144390926dcd.tar.bz2
seitan-d8fecc6ec2fcd9b5113bca23ba62144390926dcd.tar.lz
seitan-d8fecc6ec2fcd9b5113bca23ba62144390926dcd.tar.xz
seitan-d8fecc6ec2fcd9b5113bca23ba62144390926dcd.tar.zst
seitan-d8fecc6ec2fcd9b5113bca23ba62144390926dcd.zip
demo: simplify and adjust scripts
Diffstat (limited to 'web/common.sh')
-rw-r--r--web/common.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/common.sh b/web/common.sh
index b815dd4..c269fe1 100644
--- a/web/common.sh
+++ b/web/common.sh
@@ -79,6 +79,11 @@ clear_panes() {
sleep 1
}
+get_first_pane() {
+ pane=$(tmux list-panes | awk 'NR==1{ print $1 }' | sed 's/://')
+ echo $pane
+}
+
teardown_common() {
sleep 5
tmux kill-session -t $SESSION