[FFmpeg-cvslog] r16088 - trunk/tests/regression.sh

reimar subversion
Sat Dec 13 10:10:55 CET 2008


Author: reimar
Date: Sat Dec 13 10:10:55 2008
New Revision: 16088

Log:
Fix regression.sh to work on OpenBSD which has md5 instead of md5sum
but it is in the path (/bin), not /sbin.


Modified:
   trunk/tests/regression.sh

Modified: trunk/tests/regression.sh
==============================================================================
--- trunk/tests/regression.sh	(original)
+++ trunk/tests/regression.sh	Sat Dec 13 10:10:55 2008
@@ -37,6 +37,8 @@ target_crcfile="$target_datadir/$this.cr
 
 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# \**\./# *./#'; }
 elif [ -x /sbin/md5 ]; then
     do_md5sum() { /sbin/md5 -r $1 | sed 's# \**\./# *./#'; }
 else




More information about the ffmpeg-cvslog mailing list