Use (u)int16_t instead of (unsigned) short
[FFMpeg-mirror/DVCPRO-HD.git] / tests / seek_test.sh
blob996acb3566b81a62bc185a289225ccf0ec95851a
1 #!/bin/sh
3 LC_ALL=C
4 export LC_ALL
6 datadir="tests/data"
8 logfile="$datadir/seek.regression"
9 reffile="$1"
11 list=`grep '^tests/data/[ab]-' "$reffile"`
12 rm -f $logfile
13 for i in $list ; do
14 echo ---------------- >> $logfile
15 echo $i >> $logfile
16 tests/seek_test $i >> $logfile
17 done
19 if diff -u -w "$reffile" "$logfile" ; then
20 echo
21 echo seek regression test: success
22 exit 0
23 else
24 echo
25 echo seek regression test: error
26 exit 1