* test/ruby/test_io.rb (TestIO#test_fcntl_dupfd): fix OpenBSD test
failure. [ruby-dev:44872] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
16b663db57
commit
d020fb1525
@ -1,3 +1,8 @@
|
|||||||
|
Tue Nov 15 09:58:25 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* test/ruby/test_io.rb (TestIO#test_fcntl_dupfd): fix OpenBSD test
|
||||||
|
failure. [ruby-dev:44872]
|
||||||
|
|
||||||
Tue Nov 15 09:50:21 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
Tue Nov 15 09:50:21 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* regcomp.c (print_indent_tree): fix double printing of ENCLOSE_OPTION
|
* regcomp.c (print_indent_tree): fix double printing of ENCLOSE_OPTION
|
||||||
|
@ -1920,9 +1920,9 @@ End
|
|||||||
|
|
||||||
def test_fcntl_dupfd
|
def test_fcntl_dupfd
|
||||||
Tempfile.open(self.class.name) do |f|
|
Tempfile.open(self.class.name) do |f|
|
||||||
fd = f.fcntl(Fcntl::F_DUPFD, 255)
|
fd = f.fcntl(Fcntl::F_DUPFD, 63)
|
||||||
begin
|
begin
|
||||||
assert_equal(fd, 255)
|
assert_equal(fd, 63)
|
||||||
ensure
|
ensure
|
||||||
IO.for_fd(fd).close
|
IO.for_fd(fd).close
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user