blob: 0ec5e0f8ba7191ec1e4709a102cc5ff67e2dd7f9 [file] [log] [blame]
Philipp Maierec9cdb72023-07-27 14:43:08 +02001#/bin/bash
2
3PYSIM_TRACE=../pySim-trace.py
4GSMTAP_TRACE=pySim-trace_test_gsmtap.pcapng
5
6echo "pySim-trace_test - a test program to test pySim-trace.py"
7echo "========================================================"
8
9$PYSIM_TRACE gsmtap-pyshark-pcap -f $GSMTAP_TRACE
10if [ $? -ne 0 ]; then
11 echo ""
12 echo "========================================================"
13 echo "Testrun with $GSMTAP_TRACE failed."
14 exit 1
15fi
16
17echo ""
18echo "========================================================"
19echo "trace parsed without problems -- everything ok!"
20