[Groonga-commit] groonga/grntest [master] Create a keep_database_path directory before groonga-httpd is executed

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 12日 (火) 15:15:49 JST


Haruka Yoshihara	2012-06-12 15:15:49 +0900 (Tue, 12 Jun 2012)

  New Revision: ce6083be761719c4ddf85924c41dff26a3c719c6

  Log:
    Create a keep_database_path directory before groonga-httpd is executed

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+1 -0)
===================================================================
--- lib/groonga/tester.rb    2012-06-12 12:40:53 +0900 (45f1423)
+++ lib/groonga/tester.rb    2012-06-12 15:15:49 +0900 (a89ce21)
@@ -363,6 +363,7 @@ module Groonga
         else
           db_path = context.db_path
           config_file = create_config_file(host, port, db_path, pid_file)
+          FileUtils.mkdir_p(keep_database_path)
           command_line = [
             @tester.groonga_httpd,
             "-c", config_file.path,




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