mirror of https://git.ffmpeg.org/ffmpeg.git
tests/ffserver-regression.sh: give wget a timeout and prevent retries
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
744a0b5206
commit
6216127d0c
|
@ -19,7 +19,7 @@ sleep 2
|
||||||
(
|
(
|
||||||
cd tests/data || exit $?
|
cd tests/data || exit $?
|
||||||
rm -f ff-* ffserver.regression
|
rm -f ff-* ffserver.regression
|
||||||
WGET_OPTIONS="--user-agent=NSPlayer -q --proxy=off -e verbose=off -e server_response=off"
|
WGET_OPTIONS="--user-agent=NSPlayer -q --proxy=off -e verbose=off -e server_response=off -T3 --tries=1"
|
||||||
for file in $FILES; do
|
for file in $FILES; do
|
||||||
if [ $(expr $file : "a-*") != 0 ]; then
|
if [ $(expr $file : "a-*") != 0 ]; then
|
||||||
wget $WGET_OPTIONS -O - http://localhost:9999/$file > ff-$file
|
wget $WGET_OPTIONS -O - http://localhost:9999/$file > ff-$file
|
||||||
|
|
Loading…
Reference in New Issue