mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
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 $?
|
||||
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
|
||||
if [ $(expr $file : "a-*") != 0 ]; then
|
||||
wget $WGET_OPTIONS -O - http://localhost:9999/$file > ff-$file
|
||||
|
Loading…
Reference in New Issue
Block a user