8 logfile
="$datadir/copy.regression"
11 list
=$
(grep -oh ' ./tests/data/.*' tests
/ref
/{acodec
,lavf
,vsynth1
}/*|
sort)
14 echo ---------------- >> $logfile
16 .
/ffmpeg_g
-flags +bitexact
-i $i -acodec copy
-vcodec copy
-y first.nut
17 .
/ffmpeg_g
-flags +bitexact
-i first.nut
-acodec copy
-vcodec copy
-y second.nut
18 cmp first.nut second.nut
>> $logfile
19 md5sum first.nut
>> $logfile
22 if diff -u -w "$reffile" "$logfile" ; then
24 echo copy regression
test: success
28 echo copy regression
test: error