[FFmpeg-devel] [PATCH 1/2] tests/ffserver-regression.sh: give wget a timeout and prevent retries

Michael Niedermayer michael at niedermayer.cc
Tue Nov 29 01:06:13 EET 2016


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 tests/ffserver-regression.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ffserver-regression.sh b/tests/ffserver-regression.sh
index 5c8ddb1..7ce5952 100755
--- a/tests/ffserver-regression.sh
+++ b/tests/ffserver-regression.sh
@@ -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
-- 
2.10.2



More information about the ffmpeg-devel mailing list