rbenv-ruby-build/test
Mislav Marohnić 262eb1658c Clearer error message when HTTP download fails
Previously, if `http get` failed, the `download_tarball` function would
still continue since the ERR trap had no effect at that point.

Given a script in the form of `{ ... } || return 1`, the expressions
that are the part of the first group are not subject to ERR trap since
they are non-last in a chain of expressions.

However, since we still can't count on the ERR trap taking effect in
this phase, better just rewrite the function to manually abort.

Fixes #394
2013-10-26 06:32:03 +02:00
..
fixtures Add test for FreeBSD gmake 2013-10-26 05:47:39 +02:00
stubs Prevent glob expansion in stub patterns 2013-10-25 04:14:13 +02:00
tmp Ensure test/tmp directory exists 2012-11-19 19:25:52 -06:00
build.bats Add test for FreeBSD gmake 2013-10-26 05:47:39 +02:00
cache.bats Fix broken test suite 2013-10-24 00:32:55 +02:00
checksum.bats Fix broken test suite 2013-10-24 00:32:55 +02:00
fetch.bats Clearer error message when HTTP download fails 2013-10-26 06:32:03 +02:00
installer.bats Improve installer script 2013-10-26 02:21:46 +02:00
mirror.bats Fix broken test suite 2013-10-24 00:32:55 +02:00
test_helper.bash Clearer error message when HTTP download fails 2013-10-26 06:32:03 +02:00