[Groonga-commit] groonga/grntest at 078e1ff [master] test command: make workable on Ruby 2.0.0

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Fri Jan 24 11:47:45 JST 2014


Kouhei Sutou	2014-01-24 11:47:45 +0900 (Fri, 24 Jan 2014)

  New Revision: 078e1ff2f696b17049e124ed3bbe38c5ff85cc97
  https://github.com/groonga/grntest/commit/078e1ff2f696b17049e124ed3bbe38c5ff85cc97

  Message:
    test command: make workable on Ruby 2.0.0
    
    We need to care non-standard file descriptors (not 0, 1 and 2).

  Modified files:
    lib/grntest/test-runner.rb

  Modified: lib/grntest/test-runner.rb (+4 -1)
===================================================================
--- lib/grntest/test-runner.rb    2013-12-16 15:50:12 +0900 (faf78ea)
+++ lib/grntest/test-runner.rb    2014-01-24 11:47:45 +0900 (dd0fdb4)
@@ -395,7 +395,10 @@ EOF
         "-n", db_path,
         "shutdown"
       ]
-      system(*create_database_command)
+      options = {
+        output_fd.to_i => output_fd.to_i
+      }
+      system(*create_database_command, options)
       output_fd.close(true)
     end
 
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る