From 107f33b2205829c0ef07216255b4ec0e9b8f6730 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 9 Jun 2010 23:50:00 +0000 Subject: tests: set NO_PROXY when running tests It's a good idea to use a caching http_proxy to save bandwidth when isolating gems for different Ruby versions. --- t/test-lib.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 't') 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')} -- cgit v1.2.3-24-ge0c7