summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gmail.com>2010-10-25 03:34:33 +0200
committerDiego Elio Pettenò <flameeyes@gmail.com>2010-10-25 03:34:33 +0200
commit7839c4c89d6c9bfa8b4d1671b7918bde2d5f9bca (patch)
tree4500d53013c90cde06fb4f25155bcaab5765d6c1
parentStop the continuous run if the list completed. (diff)
downloadflameeyes-tinderbox-7839c4c89d6c9bfa8b4d1671b7918bde2d5f9bca.tar.gz
flameeyes-tinderbox-7839c4c89d6c9bfa8b4d1671b7918bde2d5f9bca.tar.bz2
flameeyes-tinderbox-7839c4c89d6c9bfa8b4d1671b7918bde2d5f9bca.zip
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.
-rw-r--r--tinderbox.make.conf4
1 files 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"