Revision ee6184a8

View differences:

tests/md5.sh
6 6
    do_md5sum() { md5 $1 | sed 's#MD5 (\(.*\)) = \(.*\)#\2 *\1#'; }
7 7
elif [ -x /sbin/md5 ]; then
8 8
    do_md5sum() { /sbin/md5 -r $1 | sed 's# \**\./# *./#'; }
9
elif openssl version >/dev/null 2>&1; then
10
    do_md5sum() { openssl md5 $1 | sed 's/MD5(\(.*\))= \(.*\)/\2 *\1/'; }
9 11
else
10 12
    do_md5sum() { echo No md5sum program found; }
11 13
fi

Also available in: Unified diff