mirror of https://github.com/FFmpeg/FFmpeg.git
interest Originally committed as revision 1336 to svn://svn.ffmpeg.org/ffmpeg/trunkpull/126/head
parent
96d9cb220b
commit
e2b2851e5a
4 changed files with 114 additions and 11 deletions
@ -0,0 +1,12 @@ |
||||
7bf9a40a17c5be245be240c9a3c9e4e7 test_h.avi |
||||
574837c3606a866d7a29d4ca06da1050 test_l.avi |
||||
77062b94a9994c839b87ef4900ea272c test_h.mpg |
||||
ee8c31c5708bed84a72256afdc510dd2 test_l.mpg |
||||
9e5dc8a640ada7d66a2b6365713a982a test.swf |
||||
d5f3078d72062b91cf8ce98920bd150b test_h.asf |
||||
623b9e764e07231ecc39ba1a3e090bc2 test_l.asf |
||||
703f00c6c1d4eec27aba51920a10cc25 test_h.rm |
||||
4dd1f53c1e4e43ae8718681c3ade6ff8 test_l.rm |
||||
a73eafd5c2690eb2195dd1aef617a2f8 test.jpg |
||||
4517811e6371cbf0b0d141aaaec47d47 test_small.jpg |
||||
c504cc470edb77a4eff44bcdf10556a5 test.mjpg |
@ -0,0 +1,28 @@ |
||||
#!/bin/bash |
||||
|
||||
FILES=`perl -n -e 'print \$1, " " if /<stream\\s+(\\S+)>/i' test.conf` |
||||
|
||||
rm -f /tmp/feed.ffm |
||||
../ffserver -d -f test.conf 2> /dev/null & |
||||
FFSERVER_PID=$! |
||||
sleep 1 |
||||
( |
||||
cd data |
||||
for file in $FILES; do |
||||
wget --user-agent=NSPlayer -q --output-document=- http://localhost:9999/$file?date=19700101T000000Z | head --bytes=100000 > $file & |
||||
done |
||||
wait |
||||
# the status page is always different |
||||
md5sum $FILES | grep -v html > ffserver.regression |
||||
) |
||||
kill $FFSERVER_PID |
||||
wait > /dev/null 2>&1 |
||||
if diff -u data/ffserver.regression $1 ; then |
||||
echo |
||||
echo Server regression test succeeded. |
||||
exit 0 |
||||
else |
||||
echo |
||||
echo Server regression test: Error. |
||||
exit 1 |
||||
fi |
Loading…
Reference in new issue