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