aboutsummaryrefslogtreecommitdiff
path: root/tests/machine/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/machine/testscript')
-rw-r--r--tests/machine/testscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/machine/testscript b/tests/machine/testscript
index 16ab6b8..9265334 100644
--- a/tests/machine/testscript
+++ b/tests/machine/testscript
@@ -32,7 +32,7 @@ target = x86_64-unknown-unknown
# Note: similar logic to what we have in Build OS.
#
+mkdir -p $tftp/toolchains/default/
-+curl -s -S -f -L $toolchain_url/toolchain.sha256 >=toolchain.sha256
++curl -sS --fail --location $toolchain_url/toolchain.sha256 >=toolchain.sha256
+sed -n -e 's%^[0-9a-f]+ \*(.+)$%\1%p' toolchain.sha256 | set -e archives
+sed -n -e 's%^(.+/)?build2-toolchain-([^.]+\.[^.]+\.[^-]+(-[ab]\.[^.+]+)?).*\.tar.*%\2%p' <"$archives" | set version
@@ -42,7 +42,7 @@ target = x86_64-unknown-unknown
b=`basename \$i` ; \
f=$tftp/toolchains/default/\$b; \
echo \$b: 1>&2; \
-curl -# -f -L -z \$f -o \$f $toolchain_url/\$i; \
+curl -# --fail --location --time-cond \$f -o \$f $toolchain_url/\$i; \
ln -sf \$b `sed -n -re 's/^\(.+\)-$version\(\\..+\)?\(\\.zip|\\.tar\\..+\|-.+)/\\1\\3/p' <<<\$f`; \
done" <"$archives" 2>|