projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b60c29
)
fate: fix non-standard use of bc
author
Måns Rullgård
<mans@mansr.com>
Sun, 1 Aug 2010 15:28:42 +0000
(15:28 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Sun, 1 Aug 2010 15:28:42 +0000
(15:28 +0000)
Originally committed as revision 24651 to svn://svn.ffmpeg.org/ffmpeg/trunk
tests/fate-run.sh
patch
|
blob
|
history
diff --git
a/tests/fate-run.sh
b/tests/fate-run.sh
index
045a968
..
3ed4765
100755
(executable)
--- 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