[FFmpeg-cvslog] fate: fix concat demuxer extended tests on windows

Marton Balint git at videolan.org
Mon Nov 16 11:20:29 CET 2015


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Mon Nov 16 01:25:19 2015 +0100| [c9944f75961038e0631efa6d3637b9438c6d6238] | committer: Hendrik Leppkes

fate: fix concat demuxer extended tests on windows

Line endings do matter to md5sum...

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c9944f75961038e0631efa6d3637b9438c6d6238
---

 tests/fate-run.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 6d46158..966cbe2 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -262,7 +262,7 @@ concat(){
     awk "{gsub(/%SRCFILE%/, \"$sample\"); print}" $template > $concatfile
 
     if [ "$mode" = "md5" ]; then
-      run ffprobe${PROGSUF} -show_streams -show_packets -v 0 -fflags keepside -safe 0 $extra_args $concatfile > $packetfile
+      run ffprobe${PROGSUF} -show_streams -show_packets -v 0 -fflags keepside -safe 0 $extra_args $concatfile | sed 's/\r//g' > $packetfile
       do_md5sum $packetfile
     else
       run ffprobe${PROGSUF} -show_streams -show_packets -v 0 -of compact=p=0:nk=1 -fflags keepside -safe 0 $extra_args $concatfile



More information about the ffmpeg-cvslog mailing list