[Groonga-commit] groonga/grntest [master] Check a basename of specified groonga path is matched with "groonga-httpd"

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 11日 (月) 17:17:40 JST


Haruka Yoshihara	2012-06-11 17:17:40 +0900 (Mon, 11 Jun 2012)

  New Revision: cd0a6fc89d877107d616a173941cb71482675bff

  Log:
    Check a basename of specified groonga path is matched with "groonga-httpd"

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+1 -2)
===================================================================
--- lib/groonga/tester.rb    2012-06-11 17:07:32 +0900 (eeb1823)
+++ lib/groonga/tester.rb    2012-06-11 17:17:40 +0900 (d26cbc9)
@@ -347,8 +347,7 @@ module Groonga
       end
 
       def build_groonga_options(host, port, pid_file, context)
-        groonga_httpd_path = File.join(@tester.base_directory, "groonga-httpd")
-        if****@teste***** == groonga_httpd_path
+        if File.basename(@tester.groonga) == "groonga-httpd"
           db_path = context.db_path
           config_file = create_config_file(host, port, db_path, pid_file)
           groonga_options = [




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