diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-06-04 00:16:51 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-06-04 00:18:05 +0000 |
commit | e93d93d7deb29b09dd68abfddd8a34cec8fed9b3 (patch) | |
tree | 56917a20c7635de08b0f7bc61164e180ddb687b7 | |
parent | 6d62a7de86369e046e6f6b221153d867df11e74c (diff) | |
download | rainbows-e93d93d7deb29b09dd68abfddd8a34cec8fed9b3.tar.gz |
Some testers (like myself) use http_proxy when isolating gems to avoid wasting bandwidth, but we don't proxy requests to localhost.
-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 5cf5201..4218dff 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -3,6 +3,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 + if test -z "$model" then # defaulting to Base would unfortunately fail some concurrency tests |