Project

General

Profile

Actions

Bug #6774

closed

test failures when *_proxy already set

Added by znz (Kazuhiro NISHIYAMA) over 12 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.0.0dev (2012-07-23 trunk 36494) [x86_64-linux]
Backport:
[ruby-dev:45994]

Description

他の組み合わせでもおきますが、 proxy 関連の環境変数が設定されていると test_find_proxy が失敗します。

% env -u http_proxy -u https_proxy ftp_proxy= ruby -v test/uri/test_generic.rb
ruby 2.0.0dev (2012-07-23 trunk 36494) [x86_64-linux]
Run options:

Running tests:

[ 3/12] URI::TestGeneric#test_find_proxy = 0.00 s

  1. Failure:
    test_find_proxy(URI::TestGeneric) [test/uri/test_generic.rb:740]:
    Expected #<URI::Generic:0x007fbdb6c16e40 URL:> to be nil.

Finished tests in 0.015542s, 772.1030 tests/s, 19624.2844 assertions/s.
12 tests, 305 assertions, 1 failures, 0 errors, 0 skips

Actions

Also available in: Atom PDF

Like0
Like0