[Groonga-commit] groonga/grntest [master] Use groonga command specified by the option instead of the environment variable

アーカイブの一覧に戻る

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


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

  New Revision: bfef970c5d01b837df103aa3cfd5ecdc7c493d40

  Log:
    Use groonga command specified by the option instead of the environment variable

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+1 -2)
===================================================================
--- lib/groonga/tester.rb    2012-06-12 12:11:37 +0900 (20c79c0)
+++ lib/groonga/tester.rb    2012-06-12 12:15:46 +0900 (f3e9103)
@@ -401,10 +401,9 @@ EOF
       end
 
       def create_empty_database(db_path)
-        groonga_command = ENV["GROONGA"] || "groonga"
         output_fd = Tempfile.new("create-empty-database")
         create_database_command = [
-          groonga_command,
+          @tester.groonga,
           "--output-fd", output_fd.to_i.to_s,
           "-n", db_path,
           "shutdown"




Groonga-commit メーリングリストの案内
アーカイブの一覧に戻る