summaryrefslogtreecommitdiffstats
path: root/tests/md5.sh
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-16 14:04:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-16 14:04:14 +0200
commit83962004f7275a4ea98ca02398ae5dfff59e5fb7 (patch)
tree38ba41a2750d220f95a58b7b3ca6cb540e7fddf5 /tests/md5.sh
parent5717562c789f9be9c8e4bab7caec4df83f77cebe (diff)
parent3dc06b6972cf389269e9c36ff0a4373f80f7149b (diff)
downloadffmpeg-streaming-83962004f7275a4ea98ca02398ae5dfff59e5fb7.zip
ffmpeg-streaming-83962004f7275a4ea98ca02398ae5dfff59e5fb7.tar.gz
Merge commit '3dc06b6972cf389269e9c36ff0a4373f80f7149b'
* commit '3dc06b6972cf389269e9c36ff0a4373f80f7149b': tiny_psnr: check for specified sample size less than 1 fate: improve md5sum utility selection rangecoder-test: Drop timer output that clutters stderr Conflicts: tests/tiny_psnr.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/md5.sh')
-rw-r--r--tests/md5.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/md5.sh b/tests/md5.sh
index e21e5c3..5e2528c 100644
--- a/tests/md5.sh
+++ b/tests/md5.sh
@@ -1,6 +1,6 @@
# try to find an md5 program
-if [ X"$(echo | md5sum 2> /dev/null)" != X ]; then
+if [ X"$(echo | md5sum -b 2> /dev/null)" != X ]; then
do_md5sum() { md5sum -b $1; }
elif [ X"$(echo | command md5 2> /dev/null)" != X ]; then
do_md5sum() { command md5 $1 | sed 's#MD5 (\(.*\)) = \(.*\)#\2 *\1#'; }
OpenPOWER on IntegriCloud