tests/ffserver-regression.sh: give wget a timeout and prevent retries
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 28 Nov 2016 17:02:37 +0000 (18:02 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 29 Nov 2016 18:26:26 +0000 (19:26 +0100)
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tests/ffserver-regression.sh

index 5c8ddb1..7ce5952 100755 (executable)
@@ -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