[FFmpeg-cvslog] r24651 - trunk/tests/fate-run.sh
mru
subversion
Sun Aug 1 17:28:42 CEST 2010
Author: mru
Date: Sun Aug 1 17:28:42 2010
New Revision: 24651
Log:
fate: fix non-standard use of bc
Modified:
trunk/tests/fate-run.sh
Modified: trunk/tests/fate-run.sh
==============================================================================
--- trunk/tests/fate-run.sh Sun Aug 1 14:29:03 2010 (r24650)
+++ trunk/tests/fate-run.sh Sun Aug 1 17:28:42 2010 (r24651)
@@ -25,7 +25,7 @@ do_tiny_psnr(){
val=$(expr "$psnr" : ".*$3: *\([0-9.]*\)")
size1=$(expr "$psnr" : '.*bytes: *\([0-9]*\)')
size2=$(expr "$psnr" : '.*bytes:[ 0-9]*/ *\([0-9]*\)')
- res=$(echo "$val $4 $5" | bc)
+ res=$(echo "if ($val $4 $5) 1" | bc)
if [ "$res" != 1 ] || [ $size1 != $size2 ]; then
echo "$psnr"
return 1
More information about the ffmpeg-cvslog
mailing list