ruby-changes:6425
From: naruse <ko1@a...>
Date: Mon, 7 Jul 2008 19:46:28 +0900 (JST)
Subject: [ruby-changes:6425] Ruby:r17941 (trunk): * test/ruby/test_dir.rb (test_chroot_nodir): add Errno::EPERM.
naruse 2008-07-07 19:46:13 +0900 (Mon, 07 Jul 2008) New Revision: 17941 Modified files: trunk/ChangeLog trunk/test/ruby/test_dir.rb Log: * test/ruby/test_dir.rb (test_chroot_nodir): add Errno::EPERM. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17941 Index: ChangeLog =================================================================== --- ChangeLog (revision 17940) +++ ChangeLog (revision 17941) @@ -1,3 +1,7 @@ +Mon Jul 7 19:45:22 2008 NARUSE, Yui <naruse@r...> + + * test/ruby/test_dir.rb (test_chroot_nodir): add Errno::EPERM. + Mon Jul 7 17:12:20 2008 Nobuyoshi Nakada <nobu@r...> * lib/ipaddr.rb (IPAddr#initialize): get rid of ArgumentError in Index: test/ruby/test_dir.rb =================================================================== --- test/ruby/test_dir.rb (revision 17940) +++ test/ruby/test_dir.rb (revision 17941) @@ -131,7 +131,8 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/