diff --git a/libs.mk b/libs.mk index c98d785cc..e0a2cc097 100644 --- a/libs.mk +++ b/libs.mk @@ -405,7 +405,7 @@ CLEAN-OBJS += libvpx_test_srcs.txt $(LIBVPX_TEST_DATA): $(SRC_PATH_BARE)/test/test-data.sha1 @echo " [DOWNLOAD] $@" $(qexec)trap 'rm -f $@' INT TERM &&\ - curl -L -o $@ $(call libvpx_test_data_url,$(@F)) + curl --retry 1 -L -o $@ $(call libvpx_test_data_url,$(@F)) testdata:: $(LIBVPX_TEST_DATA) $(qexec)[ -x "$$(which sha1sum)" ] && sha1sum=sha1sum;\ diff --git a/test/stress.sh b/test/stress.sh index 1426194a5..952382476 100755 --- a/test/stress.sh +++ b/test/stress.sh @@ -32,7 +32,7 @@ download_and_check_file() { # Download the file using curl. Trap to insure non partial file. (trap "rm -f $1" INT TERM \ - && eval "curl -L -o $1 ${DATA_URL}${root} ${devnull}") + && eval "curl --retry 1 -L -o $1 ${DATA_URL}${root} ${devnull}") # Check the sha1 sum of the file. if [ -n "${sha1sum}" ]; then