transport: print reader device/number on init

When we initialize the reader, we currently tell only which type of
interface we are using, but we do not print the reader number or the
device path.

Let's extend the messages so that the path is printed. To prevent
problems with integration-tests, let's also add an environment variable
that we can use to detect when pySim runs inside a integration-test.

Related: OS#6210
Change-Id: Ibe296d51885b1ef5f9c9ecaf1d28da52014dcc4b
This commit is contained in:
Philipp Maier
2023-10-26 12:17:32 +02:00
committed by laforge
parent cbc0bdfaa9
commit 4af63dc760
6 changed files with 22 additions and 6 deletions

View File

@@ -24,6 +24,8 @@ PYSIM_TRACE=../pySim-trace.py
GSMTAP_TRACE=pySim-trace_test_gsmtap.pcapng
TEMPFILE=temp.tmp
export PYSIM_INTEGRATION_TEST=1
echo "pySim-trace_test - a test program to test pySim-trace.py"
echo "========================================================"