aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Kostylev <michael.kostylev@gmail.com>2009-09-29 19:49:04 +0000
committerDiego Biurrun <diego@biurrun.de>2009-09-29 19:49:04 +0000
commit0e829974f56c1f528914a58736dc1357eff4af7b (patch)
tree1dab5e18ebf76282ab8e384d91854f943562cd43 /tests
parent8f1e203a56bda6acf437084b4453060bd52200d5 (diff)
downloadffmpeg-0e829974f56c1f528914a58736dc1357eff4af7b.tar.gz
Fix md5 program invocation for BSD.
patch by Michael Kostylev, michael.kostylev gmail com Originally committed as revision 20086 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rwxr-xr-xtests/codec-regression.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index b0a541e207..fe97d3a04d 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -38,7 +38,7 @@ target_crcfile="$target_datadir/$this.crc"
if [ X"`echo | md5sum 2> /dev/null`" != X ]; then
do_md5sum() { md5sum -b $1; }
elif [ X"`echo | md5 2> /dev/null`" != X ]; then
- do_md5sum() { md5 -r $1 | sed 's# \**\./# *./#'; }
+ do_md5sum() { md5 $1 | sed 's#MD5 (\(.*\)) = \(.*\)#\2 *\1#'; }
elif [ -x /sbin/md5 ]; then
do_md5sum() { /sbin/md5 -r $1 | sed 's# \**\./# *./#'; }
else