From de8809d4ebd43b3daf6367be79d4a6de3c7f78af Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 7 Feb 2021 07:41:23 -0500 Subject: [PATCH] Update test scripts --- TestScripts/cryptest-autotools.sh | 6 +++--- TestScripts/cryptest-cmake.sh | 2 +- TestScripts/cryptest-ndk.sh | 2 +- TestScripts/cryptest-pem.sh | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/TestScripts/cryptest-autotools.sh b/TestScripts/cryptest-autotools.sh index d2ca48cc..03b8312a 100755 --- a/TestScripts/cryptest-autotools.sh +++ b/TestScripts/cryptest-autotools.sh @@ -94,7 +94,7 @@ files=(configure.ac Makefile.am libcryptopp.pc.in) for file in "${files[@]}"; do echo "Downloading $file" - if ! curl -L -o "$file" --silent "https://raw.githubusercontent.com/noloader/cryptopp-autotools/master/$file"; then + if ! curl -L -s -o "$file" "https://raw.githubusercontent.com/noloader/cryptopp-autotools/master/$file"; then echo "$file download failed" exit 1 fi @@ -133,7 +133,7 @@ fi # Update config.sub config.guess. GNU recommends using the latest for all projects. echo "Updating config.sub" -curl -o config.sub.new --silent 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub' +curl -L -s -o config.sub.new 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub' # Solaris removes +w, can't overwrite chmod +w build-aux/config.sub @@ -146,7 +146,7 @@ if [[ "$IS_DARWIN" -ne 0 ]] && [[ -n $(command -v xattr 2>/dev/null) ]]; then fi echo "Updating config.guess" -curl -o config.guess.new --silent 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess' +curl -L -s -o config.guess.new 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess' # Solaris removes +w, can't overwrite chmod +w build-aux/config.guess diff --git a/TestScripts/cryptest-cmake.sh b/TestScripts/cryptest-cmake.sh index fcb80ba5..fc796ab6 100755 --- a/TestScripts/cryptest-cmake.sh +++ b/TestScripts/cryptest-cmake.sh @@ -48,7 +48,7 @@ files=(CMakeLists.txt cryptopp-config.cmake) for file in "${files[@]}"; do echo "Downloading $file" - if ! curl -L -o "$file" --silent "https://raw.githubusercontent.com/noloader/cryptopp-cmake/master/$file"; then + if ! curl -L -s -o "$file" "https://raw.githubusercontent.com/noloader/cryptopp-cmake/master/$file"; then echo "$file download failed" exit 1 fi diff --git a/TestScripts/cryptest-ndk.sh b/TestScripts/cryptest-ndk.sh index 54459f95..6eda7461 100755 --- a/TestScripts/cryptest-ndk.sh +++ b/TestScripts/cryptest-ndk.sh @@ -55,7 +55,7 @@ files=(Android.mk Application.mk make_neon.sh test_shared.hxx test_shared.cxx) for file in "${files[@]}"; do echo "Downloading $file" - if ! curl -L -o "${file}" --silent "https://raw.githubusercontent.com/noloader/cryptopp-android/master/${file}"; then + if ! curl -L -s -o "${file}" "https://raw.githubusercontent.com/noloader/cryptopp-android/master/${file}"; then echo "${file} download failed" exit 1 fi diff --git a/TestScripts/cryptest-pem.sh b/TestScripts/cryptest-pem.sh index 4a17624c..3badb3fa 100755 --- a/TestScripts/cryptest-pem.sh +++ b/TestScripts/cryptest-pem.sh @@ -63,7 +63,7 @@ files=(pem_create.sh pem_verify.sh pem_test.cxx pem_eol.cxx for file in "${files[@]}"; do echo "Downloading $file" - if ! curl -L -o "$file" --silent "https://raw.githubusercontent.com/noloader/cryptopp-pem/master/$file"; then + if ! curl -L -s -o "$file" "https://raw.githubusercontent.com/noloader/cryptopp-pem/master/$file"; then echo "$file download failed" exit 1 fi