aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2023-12-23 10:26:51 +0100
committerHarald Welte <laforge@osmocom.org>2023-12-23 10:38:21 +0100
commita4b9bdf23851cc9213b556113fc1727c869467bf (patch)
tree2532f9284230d505494b81f48b8b1f5905ebe558 /tests
parentcaef0df6638277e1b8ff01b314146944e2b5a61e (diff)
pySim-trace_test.sh: Force termcolor to suppress color generation
on some systems, the output would otherwise contain colored status words, which in turn mean the test otuput no longer matches the expected output. Change-Id: Icb700f6e85a285748e00367a398975aa5e75dec5
Diffstat (limited to 'tests')
-rwxr-xr-xtests/pySim-trace_test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pySim-trace_test.sh b/tests/pySim-trace_test.sh
index f7b97e8..3e200c3 100755
--- a/tests/pySim-trace_test.sh
+++ b/tests/pySim-trace_test.sh
@@ -25,6 +25,8 @@ GSMTAP_TRACE=pySim-trace_test_gsmtap.pcapng
TEMPFILE=temp.tmp
export PYSIM_INTEGRATION_TEST=1
+# to avoid termcolor.colored generating colors; https://github.com/termcolor/termcolor
+export ANSI_COLORS_DISABLED=1
echo "pySim-trace_test - a test program to test pySim-trace.py"
echo "========================================================"