Revision fc8cb398 tests/regression-funcs.sh

View differences:

tests/regression-funcs.sh
39 39
[ "${V-0}" -gt 0 ] && echov=echo || echov=:
40 40
[ "${V-0}" -gt 1 ] || exec 2>$errfile
41 41

  
42
if [ X"$(echo | md5sum 2> /dev/null)" != X ]; then
43
    do_md5sum() { md5sum -b $1; }
44
elif [ X"$(echo | md5 2> /dev/null)" != X ]; then
45
    do_md5sum() { md5 $1 | sed 's#MD5 (\(.*\)) = \(.*\)#\2 *\1#'; }
46
elif [ -x /sbin/md5 ]; then
47
    do_md5sum() { /sbin/md5 -r $1 | sed 's# \**\./# *./#'; }
48
else
49
    do_md5sum() { echo No md5sum program found; }
50
fi
42
. $(dirname $0)/md5.sh
51 43

  
52 44
FFMPEG_OPTS="-v 0 -y -flags +bitexact -dct fastint -idct simple -sws_flags +accurate_rnd+bitexact"
53 45

  

Also available in: Unified diff