diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2006-02-23 23:50:33 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2006-02-23 23:50:33 +0000 |
commit | 927e193d3ab52fc7ce874e3aac310c2a1736b9ad (patch) | |
tree | 68c4dea70a4498b7695e18f718d9bd6857b8c7b1 /tests/server-regression.sh | |
parent | 2af799468ae5ea2099253d4da26324ea373fec53 (diff) | |
download | ffmpeg-927e193d3ab52fc7ce874e3aac310c2a1736b9ad.tar.gz |
get ride of perl and sort in ffserver regtest (and avoid problem with behavior of sort changing with locales)
Originally committed as revision 5058 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/server-regression.sh')
-rwxr-xr-x | tests/server-regression.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server-regression.sh b/tests/server-regression.sh index b70a39ae7a..b5edf6f545 100755 --- a/tests/server-regression.sh +++ b/tests/server-regression.sh @@ -14,7 +14,7 @@ cp "$2" data/test.conf #perl -e 'chomp($wd = `pwd`); print map { s!data/!!; "<Stream $_>\nFile $wd/data/$_\n</Stream>\n\n" } @ARGV' data/a* >> data/test.conf #perl -e 'chomp($wd = `pwd`); print map { s!data/!!; "<Stream $_.asf>\nFile $wd/data/$_\n</Stream>\n\n" } @ARGV' data/a* >> data/test.conf -FILES=`perl -n -e 'print \$1, "\n" if /<stream\\s+(\\S+)>/i' data/test.conf | sort` +FILES=`sed -n 's/.*<Stream \(.*\)>.*/\1/p' data/test.conf | grep -v html` rm -f /tmp/feed.ffm ../ffserver -d -f data/test.conf 2> /dev/null & @@ -35,7 +35,7 @@ sleep 2 done wait # the status page is always different - md5sum $MDFILES | grep -v html > ffserver.regression + md5sum $MDFILES > ffserver.regression ) kill $FFSERVER_PID wait > /dev/null 2>&1 |