diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-21 15:46:14 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-21 15:46:14 +0000 |
commit | 19bca2e6b203e4b25b5b14a6907177b1267d927d (patch) | |
tree | 04ab46c262423813aa6fc0149f5ebb5cfaf38f36 | |
parent | 15e793bad9ca2da2e6d6ab50b3469fcebf769f2c (diff) | |
download | ruby-19bca2e6b203e4b25b5b14a6907177b1267d927d.tar.gz |
* test/ruby/test_io.rb (test_fcntl_dupfd): the argument of F_DUPFD is
minimum file descriptor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/test_io.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Nov 22 00:44:59 2011 Tanaka Akira <akr@fsij.org> + + * test/ruby/test_io.rb (test_fcntl_dupfd): the argument of F_DUPFD is + minimum file descriptor. + Tue Nov 22 00:25:17 2011 Tanaka Akira <akr@fsij.org> * io.c (linux_get_maxfd): get rid of a warning. diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 35b29068b9..7623053c79 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -1922,7 +1922,7 @@ End Tempfile.open(self.class.name) do |f| fd = f.fcntl(Fcntl::F_DUPFD, 63) begin - assert_equal(fd, 63) + assert_operator(fd, :>=, 63) ensure IO.for_fd(fd).close end |