ruby-changes:29028
From: naruse <ko1@a...>
Date: Wed, 5 Jun 2013 09:50:06 +0900 (JST)
Subject: [ruby-changes:29028] naruse:r41080 (trunk): * test/fileutils/test_fileutils.rb (TestFileUtils#test_mkdir): add
naruse 2013-06-05 09:48:24 +0900 (Wed, 05 Jun 2013) New Revision: 41080 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41080 Log: * test/fileutils/test_fileutils.rb (TestFileUtils#test_mkdir): add EACCES for Windows. Modified files: trunk/ChangeLog trunk/test/fileutils/test_fileutils.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 41079) +++ ChangeLog (revision 41080) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Jun 5 09:46:46 2013 NARUSE, Yui <naruse@r...> + + * test/fileutils/test_fileutils.rb (TestFileUtils#test_mkdir): add + EACCES for Windows. + Wed Jun 5 08:13:37 2013 Tanaka Akira <akr@f...> * bignum.c (rb_big_pow): Don't need to multiply SIZEOF_BDIGITS. Index: test/fileutils/test_fileutils.rb =================================================================== --- test/fileutils/test_fileutils.rb (revision 41079) +++ test/fileutils/test_fileutils.rb (revision 41080) @@ -759,8 +759,8 @@ class TestFileUtils https://github.com/ruby/ruby/blob/trunk/test/fileutils/test_fileutils.rb#L759 assert_equal 0700, (File.stat('tmp/tmp').mode & 0777) if have_file_perm? Dir.rmdir 'tmp/tmp' - # EISDIR on OS X, FreeBSD; EEXIST on Linux - assert_raise(Errno::EISDIR, Errno::EEXIST) { + # EISDIR on OS X, FreeBSD; EEXIST on Linux; Errno::EACCES on Windows + assert_raise(Errno::EISDIR, Errno::EEXIST, Errno::EACCES) { mkdir '/' } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/