1
0
mirror of https://passt.top/passt synced 2024-12-22 21:55:22 +00:00

test/lib/term: Export PCAP and DEBUG variables for tmux sessions globally

Otherwise, this would depend on the local tmux configuration.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-10-05 19:58:59 +02:00
parent 8ec5adc989
commit a26722b875

View File

@ -530,6 +530,7 @@ pause_continue() {
run_term() {
export SHELL="/bin/sh"
tmux set-option -g default-shell "/bin/sh"
tmux set-option -g update-environment "PCAP DEBUG"
if [ ${CI} -eq 1 ]; then
__xterm_done="$(mktemp)"