Files
pysim/tests/pySim-trace_test.sh
Philipp Maier 7124ad1031 pySim-trace_test: fix shebang line
Related: OS#6094
Change-Id: Ib2d3a4659f5db9772ddcd9a4ae73c04fec1070fc
2023-08-01 16:01:47 +02:00

21 lines
546 B
Bash
Executable File

#!/bin/bash
PYSIM_TRACE=../pySim-trace.py
GSMTAP_TRACE=pySim-trace_test_gsmtap.pcapng
echo "pySim-trace_test - a test program to test pySim-trace.py"
echo "========================================================"
$PYSIM_TRACE gsmtap-pyshark-pcap -f $GSMTAP_TRACE
if [ $? -ne 0 ]; then
echo ""
echo "========================================================"
echo "Testrun with $GSMTAP_TRACE failed."
exit 1
fi
echo ""
echo "========================================================"
echo "trace parsed without problems -- everything ok!"