From eb2e86dec0dea0c63c548944246ed1c2df0ffddb Mon Sep 17 00:00:00 2001 From: David Gibson Date: Wed, 6 Jul 2022 17:29:03 +1000 Subject: tests: Remove unused set_mode() function This utility function is never called. Signed-off-by: David Gibson --- test/lib/util | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test/lib/util b/test/lib/util index 906bd9e..dee6c8d 100755 --- a/test/lib/util +++ b/test/lib/util @@ -114,19 +114,6 @@ subs_apply() { IFS="${__ifs}" } -# set_mode() - Set 'passt' or 'pasta' mode for terminal control, renaming panes -# $1: Mode to be set -set_mode() { - MODE="${1}" - if [ "${1}" = "pasta" ]; then - tmux select-pane -t ${PANE_GUEST} -T "namespace" - tmux select-pane -t ${PANE_PASST} -T "pasta" - else - tmux select-pane -t ${PANE_GUEST} -T "guest" - tmux select-pane -t ${PANE_PASST} -T "passt" - fi -} - # get_info_cols() - Get number of columns for info pane get_info_cols() { __log_pane_cols= -- cgit v1.2.3