mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/fileutils/test_fileutils.rb (TestFileUtils#test_rmdir):
FileUtils.rmdir ignores Errno::ENOTEMPTY, so, in such cases, this assertion is nonsence. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1c9df374f3
commit
9972c18c12
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Thu Aug 15 16:30:23 2013 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/fileutils/test_fileutils.rb (TestFileUtils#test_rmdir):
|
||||
FileUtils.rmdir ignores Errno::ENOTEMPTY, so, in such cases, this
|
||||
assertion is nonsence.
|
||||
|
||||
Thu Aug 15 15:49:35 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* process.c (rb_clock_gettime): [DOC] FreeBSD 7.1 supports
|
||||
|
|
|
@ -1243,6 +1243,7 @@ class TestFileUtils
|
|||
|
||||
begin
|
||||
Dir.rmdir '/'
|
||||
rescue Errno::ENOTEMPTY
|
||||
rescue => e
|
||||
assert_raise(e.class) {
|
||||
# Dir.rmdir('') raises Errno::ENOENT.
|
||||
|
|
Loading…
Reference in a new issue