dvb_gen_si.test.sh 392 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh
# Script to test PSI generation and parsing
# Copyright (C) 2011 Unix Solutions Ltd.
#
# License: MIT
# Authors: Georgi Chorbadzhiyski <georgi@unixsol.org>
#

rm dvb_gen_si dvb_print_si
make local

./dvb_gen_si | ./dvb_print_si        > dvb_print_si.output.txt
./dvb_gen_si | ./dvb_print_si -x xml > dvb_print_si.output.xml

git diff dvb_print_si.output.txt dvb_print_si.output.xml