* test/fileutils/test_fileutils.rb (TestFileUtils#test_mkdir): add
EACCES for Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
14ec81b0a2
commit
0094cd8c64
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jun 5 09:46:46 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* test/fileutils/test_fileutils.rb (TestFileUtils#test_mkdir): add
|
||||||
|
EACCES for Windows.
|
||||||
|
|
||||||
Wed Jun 5 08:13:37 2013 Tanaka Akira <akr@fsij.org>
|
Wed Jun 5 08:13:37 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* bignum.c (rb_big_pow): Don't need to multiply SIZEOF_BDIGITS.
|
* bignum.c (rb_big_pow): Don't need to multiply SIZEOF_BDIGITS.
|
||||||
|
@ -759,8 +759,8 @@ class TestFileUtils
|
|||||||
assert_equal 0700, (File.stat('tmp/tmp').mode & 0777) if have_file_perm?
|
assert_equal 0700, (File.stat('tmp/tmp').mode & 0777) if have_file_perm?
|
||||||
Dir.rmdir 'tmp/tmp'
|
Dir.rmdir 'tmp/tmp'
|
||||||
|
|
||||||
# EISDIR on OS X, FreeBSD; EEXIST on Linux
|
# EISDIR on OS X, FreeBSD; EEXIST on Linux; Errno::EACCES on Windows
|
||||||
assert_raise(Errno::EISDIR, Errno::EEXIST) {
|
assert_raise(Errno::EISDIR, Errno::EEXIST, Errno::EACCES) {
|
||||||
mkdir '/'
|
mkdir '/'
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user