Revision 0e829974 tests/codec-regression.sh

View differences:

tests/codec-regression.sh
38 38
if [ X"`echo | md5sum 2> /dev/null`" != X ]; then
39 39
    do_md5sum() { md5sum -b $1; }
40 40
elif [ X"`echo | md5 2> /dev/null`" != X ]; then
41
    do_md5sum() { md5 -r $1 | sed 's# \**\./# *./#'; }
41
    do_md5sum() { md5 $1 | sed 's#MD5 (\(.*\)) = \(.*\)#\2 *\1#'; }
42 42
elif [ -x /sbin/md5 ]; then
43 43
    do_md5sum() { /sbin/md5 -r $1 | sed 's# \**\./# *./#'; }
44 44
else

Also available in: Unified diff