[Groonga-commit] groonga/grntest [master] Check exactly whether specified groonga path is matched with groonga-httpd path

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 11日 (月) 16:56:28 JST


Haruka Yoshihara	2012-06-11 16:56:28 +0900 (Mon, 11 Jun 2012)

  New Revision: 2f8d9fa188ec5d441a1fc56e666831f080b5edca

  Log:
    Check exactly whether specified groonga path is matched with groonga-httpd path

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+2 -1)
===================================================================
--- lib/groonga/tester.rb    2012-06-11 16:09:43 +0900 (47cd7aa)
+++ lib/groonga/tester.rb    2012-06-11 16:56:28 +0900 (fb623bf)
@@ -320,7 +320,8 @@ module Groonga
         port = 50041
         pid_file = Tempfile.new("groonga.pid")
 
-        if /groonga-httpd$/ =~ @tester.groonga
+        groonga_httpd_path = File.join(@tester.base_directory, "groonga-httpd")
+        if****@teste***** == groonga_httpd_path
           db_path = context.db_path
           config_file = create_config_file(host, port, db_path, pid_file)
           groonga_options = [




Groonga-commit メーリングリストの案内
Back to archive index