diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | test/ruby/test_dir.rb | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Jul 7 19:45:22 2008 NARUSE, Yui <naruse@ruby-lang.org> + + * test/ruby/test_dir.rb (test_chroot_nodir): add Errno::EPERM. + Mon Jul 7 17:12:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/ipaddr.rb (IPAddr#initialize): get rid of ArgumentError in diff --git a/test/ruby/test_dir.rb b/test/ruby/test_dir.rb index 39b47720a7..4301a61dc0 100644 --- a/test/ruby/test_dir.rb +++ b/test/ruby/test_dir.rb @@ -131,7 +131,8 @@ class TestDir < Test::Unit::TestCase end def test_chroot_nodir - assert_raise(NotImplementedError, Errno::ENOENT) { Dir.chroot(File.join(@nodir, "")) } + assert_raise(NotImplementedError, Errno::ENOENT, Errno::EPERM + ) { Dir.chroot(File.join(@nodir, "")) } end def test_close |