diff options
author | Måns Rullgård <mans@mansr.com> | 2010-08-01 15:28:42 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-08-01 15:28:42 +0000 |
commit | 61a187b08177e827ee94b35cd43daa4f78101dd9 (patch) | |
tree | 662726d8d8d5464aeb75444a14dd41d892dc9540 /tests/fate-run.sh | |
parent | 5b60c29339537af027ef1df6b2e0386558b43273 (diff) | |
download | ffmpeg-61a187b08177e827ee94b35cd43daa4f78101dd9.tar.gz |
fate: fix non-standard use of bc
Originally committed as revision 24651 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-x | tests/fate-run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 045a96818c..3ed4765819 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -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 |