summaryrefslogtreecommitdiffstats
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2015-11-16 13:19:40 +0100
committerMarton Balint <cus@passwd.hu>2015-11-16 17:55:48 +0100
commitbcac6416b8f5384b4c143f8f970dd9e23dacd132 (patch)
treec3ce18e4c74ac55f66e9aaf1a73d1afd7f8a212b /tests/fate-run.sh
parent61344c04ca89a3eeea473dd0855a47f770a3c67b (diff)
downloadffmpeg-streaming-bcac6416b8f5384b4c143f8f970dd9e23dacd132.zip
ffmpeg-streaming-bcac6416b8f5384b4c143f8f970dd9e23dacd132.tar.gz
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>
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 966cbe2..bba6f42 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 | 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
OpenPOWER on IntegriCloud