Browse Source

fate: fix concat demuxer extended test portability

Sed \r is not portable, it does not work on freebsd, hopefully tr -d will.

Signed-off-by: Marton Balint <cus@passwd.hu>
tags/n3.0
Marton Balint 10 years ago
parent
commit
bcac6416b8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/fate-run.sh

+ 1
- 1
tests/fate-run.sh View File

@@ -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 | sed 's/\r//g' > $packetfile
run ffprobe${PROGSUF} -show_streams -show_packets -v 0 -fflags keepside -safe 0 $extra_args $concatfile | tr -d '\r' > $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


Loading…
Cancel
Save