fate: fail with a sensible error message if reference file is missing

Originally committed as revision 24152 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-07-09 23:55:16 +00:00
parent 34ae2d90e0
commit 150ef830f5

View File

@ -24,6 +24,11 @@ oneoff(){
fi
}
if ! test -e "$ref"; then
echo "reference file '$ref' not found"
exit 1
fi
mkdir -p "$outdir"
eval $target_exec $command > "$outfile" 2>/dev/null || exit