diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-06-09 23:50:00 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-06-10 02:54:25 +0000 |
commit | 107f33b2205829c0ef07216255b4ec0e9b8f6730 (patch) | |
tree | 65725f218810afb33627e13abff9e23494e647f3 /t | |
parent | 56519d744eea72ace7c325d37b493ab9217ef44f (diff) | |
download | unicorn-107f33b2205829c0ef07216255b4ec0e9b8f6730.tar.gz |
It's a good idea to use a caching http_proxy to save bandwidth when isolating gems for different Ruby versions.
Diffstat (limited to 't')
-rw-r--r-- | t/test-lib.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 22497f3..314e0c3 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -4,6 +4,12 @@ . ./my-tap-lib.sh set +u + +# sometimes we rely on http_proxy to avoid wasting bandwidth with Isolate +# and multiple Ruby versions +NO_PROXY=${UNICORN_TEST_ADDR-127.0.0.1} +export NO_PROXY + set -e RUBY="${RUBY-ruby}" RUBY_VERSION=${RUBY_VERSION-$($RUBY -e 'puts RUBY_VERSION')} |