[ruby-cvs:68555] usa:r61374 (trunk): fix test errors on Windows

usa at ruby-lang.org usa at ruby-lang.org
Thu Dec 21 01:04:41 JST 2017


usa	2017-12-21 01:04:41 +0900 (Thu, 21 Dec 2017)

  New Revision: 61374

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61374

  Log:
    fix test errors on Windows
    
    * test/resolv/test_addr.rb (test_hosts_by_command): on Windows, `|` is
      invalid charactor for path and raises `Errno::EINVAL` if trying to
      open.
    
    * test/resolv/test_dns.rb (test_resolv_conf_by_command): ditto.
    
    cf. [Bug #14205]

  Modified files:
    trunk/test/resolv/test_addr.rb
    trunk/test/resolv/test_dns.rb


More information about the ruby-cvs mailing list