[ruby-cvs:66884] sorah:r59706 (trunk): Skip test_open_tempfile_path on EINVAL

sorah at ruby-lang.org sorah at ruby-lang.org
Fri Sep 1 00:41:54 JST 2017


sorah	2017-09-01 00:41:54 +0900 (Fri, 01 Sep 2017)

  New Revision: 59706

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

  Log:
    Skip test_open_tempfile_path on EINVAL
    
    Looks like File::Constants::TMPFILE could be defined even when not
    supported on system.  Just skip the test when we get EINVAL on open(2).
    
    * test/ruby/test_file.rb(test_open_tempfile_path):
      Skip when EINVAL occured on File.open.

  Modified files:
    trunk/test/ruby/test_file.rb


More information about the ruby-cvs mailing list