aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2024-10-04 18:50:43 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-10-10 05:25:19 +0200
commit7612cb80fe80c089b25245e12a5e934f772480f8 (patch)
treeead530b424cef3f1c3680220e7d6685b4ec42b98
parentb40880c157ea12ccfc93266cc08252be1aaedaa9 (diff)
downloadpasst-7612cb80fe80c089b25245e12a5e934f772480f8.tar
passt-7612cb80fe80c089b25245e12a5e934f772480f8.tar.gz
passt-7612cb80fe80c089b25245e12a5e934f772480f8.tar.bz2
passt-7612cb80fe80c089b25245e12a5e934f772480f8.tar.lz
passt-7612cb80fe80c089b25245e12a5e934f772480f8.tar.xz
passt-7612cb80fe80c089b25245e12a5e934f772480f8.tar.zst
passt-7612cb80fe80c089b25245e12a5e934f772480f8.zip
test: Pass TRACE from run_term() into ./run from_term
Just like we do for PCAP, DEBUG and KERNEL. Otherwise, running tests with TRACE=1 will not actually enable tracing output. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
-rwxr-xr-xtest/lib/term2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/term b/test/lib/term
index fcbed16..ed690de 100755
--- a/test/lib/term
+++ b/test/lib/term
@@ -664,7 +664,7 @@ pause_continue() {
# run_term() - Start tmux session, running entry point, with recording if needed
run_term() {
- TMUX="tmux new-session -s passt_test -eSTATEBASE=$STATEBASE -ePCAP=$PCAP -eDEBUG=$DEBUG -eKERNEL=$KERNEL"
+ TMUX="tmux new-session -s passt_test -eSTATEBASE=$STATEBASE -ePCAP=$PCAP -eDEBUG=$DEBUG -eTRACE=$TRACE -eKERNEL=$KERNEL"
if [ ${CI} -eq 1 ]; then
printf '\e[8;50;240t'