aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-15 01:41:58 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-15 01:41:58 +0000
commitd020fb15254c13e458bb9603479edbb7b3fb347f (patch)
treed234813b5bb0af0eaf4fa02e51b7bf3510535f65
parent16b663db574f4793060e0d7276c03ef1b203dee9 (diff)
downloadruby-d020fb15254c13e458bb9603479edbb7b3fb347f.tar.gz
* 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
-rw-r--r--ChangeLog5
-rw-r--r--test/ruby/test_io.rb4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b6b32eaeea..ef9445f712 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* regcomp.c (print_indent_tree): fix double printing of ENCLOSE_OPTION
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index 7256e6fc16..35b29068b9 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -1920,9 +1920,9 @@ End
def test_fcntl_dupfd
Tempfile.open(self.class.name) do |f|
- fd = f.fcntl(Fcntl::F_DUPFD, 255)
+ fd = f.fcntl(Fcntl::F_DUPFD, 63)
begin
- assert_equal(fd, 255)
+ assert_equal(fd, 63)
ensure
IO.for_fd(fd).close
end