[前][次][番号順一覧][スレッド一覧]

ruby-changes:21759

From: akr <ko1@a...>
Date: Tue, 22 Nov 2011 00:46:29 +0900 (JST)
Subject: [ruby-changes:21759] akr:r33808 (trunk): * test/ruby/test_io.rb (test_fcntl_dupfd): the argument of F_DUPFD is

akr	2011-11-22 00:46:14 +0900 (Tue, 22 Nov 2011)

  New Revision: 33808

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33808

  Log:
    * test/ruby/test_io.rb (test_fcntl_dupfd): the argument of F_DUPFD is
      minimum file descriptor.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_io.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33807)
+++ ChangeLog	(revision 33808)
@@ -1,3 +1,8 @@
+Tue Nov 22 00:44:59 2011  Tanaka Akira  <akr@f...>
+
+	* 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@f...>
 
 	* io.c (linux_get_maxfd): get rid of a warning.
Index: test/ruby/test_io.rb
===================================================================
--- test/ruby/test_io.rb	(revision 33807)
+++ test/ruby/test_io.rb	(revision 33808)
@@ -1922,7 +1922,7 @@
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]