aboutgitcodebugslistschat
path: root/test/lib/term
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-05 19:58:59 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-05 20:02:03 +0200
commita26722b8755d36acc17e787399ac085a02a2e3bd (patch)
treee79934cc5d26998d28e438f962437ef89d5b5d6c /test/lib/term
parent8ec5adc98900d6877ec97b24d13c49f90b306752 (diff)
downloadpasst-a26722b8755d36acc17e787399ac085a02a2e3bd.tar
passt-a26722b8755d36acc17e787399ac085a02a2e3bd.tar.gz
passt-a26722b8755d36acc17e787399ac085a02a2e3bd.tar.bz2
passt-a26722b8755d36acc17e787399ac085a02a2e3bd.tar.lz
passt-a26722b8755d36acc17e787399ac085a02a2e3bd.tar.xz
passt-a26722b8755d36acc17e787399ac085a02a2e3bd.tar.zst
passt-a26722b8755d36acc17e787399ac085a02a2e3bd.zip
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>
Diffstat (limited to 'test/lib/term')
-rwxr-xr-xtest/lib/term1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/term b/test/lib/term
index dfe173e..78e2bd3 100755
--- a/test/lib/term
+++ b/test/lib/term
@@ -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)"