From 7839c4c89d6c9bfa8b4d1671b7918bde2d5f9bca Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Mon, 25 Oct 2010 03:34:33 +0200 Subject: Consider fetching failed if there is an error condition. Without --fail, the failure page returned by either the proxy or the upstream site will be saved as the file causing digest failure rather than fetch failure. --- tinderbox.make.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tinderbox.make.conf b/tinderbox.make.conf index ab8d6c3..561e93d 100644 --- a/tinderbox.make.conf +++ b/tinderbox.make.conf @@ -16,8 +16,8 @@ source /etc/make.tinderbox.private.conf -FETCHCOMMAND="/usr/bin/curl --location --proxy ${TINDERBOX_PROXY} --output \${DISTDIR}/\${FILE} \${URI}" -RESUMECOMMAND="/usr/bin/curl --location --proxy ${TINDERBOX_PROXY} --continue-at - --output \${DISTDIR}/\${FILE} \${URI}" +FETCHCOMMAND="/usr/bin/curl --fail --location --proxy ${TINDERBOX_PROXY} --output \${DISTDIR}/\${FILE} \${URI}" +RESUMECOMMAND="/usr/bin/curl --fail --location --proxy ${TINDERBOX_PROXY} --continue-at - --output \${DISTDIR}/\${FILE} \${URI}" FEATURES="test test-fail-continue -unmerge-logs split-log userpriv usersandbox -preserve-libs" -- cgit v1.2.3-65-gdbad