[Groonga-commit] droonga/drntest at 35273a7 [master] Detect path to fluentd correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Nov 25 19:25:00 JST 2013


YUKI Hiroshi	2013-11-25 19:25:00 +0900 (Mon, 25 Nov 2013)

  New Revision: 35273a7ff9fd7669a62c6a792e4282040c06e6e1
  https://github.com/droonga/drntest/commit/35273a7ff9fd7669a62c6a792e4282040c06e6e1

  Message:
    Detect path to fluentd correctly

  Modified files:
    lib/drntest/test-runner.rb
    lib/drntest/tester.rb

  Modified: lib/drntest/test-runner.rb (+1 -1)
===================================================================
--- lib/drntest/test-runner.rb    2013-11-25 19:16:16 +0900 (0f1e565)
+++ lib/drntest/test-runner.rb    2013-11-25 19:25:00 +0900 (bf87669)
@@ -129,7 +129,7 @@ module Drntest
     end
 
     def temporary_engine?
-      @owner.fluend && config && config.exist?
+      @owner.fluentd && config && config.exist?
     end
 
     def process_requests

  Modified: lib/drntest/tester.rb (+1 -1)
===================================================================
--- lib/drntest/tester.rb    2013-11-25 19:16:16 +0900 (7bfa5da)
+++ lib/drntest/tester.rb    2013-11-25 19:25:00 +0900 (5881c71)
@@ -86,7 +86,7 @@ module Drntest
       @tag  = "droonga"
       @config  = nil
       @catalog = nil
-      path_to_fluentd = `which fluentd`
+      path_to_fluentd = `which fluentd`.strip
       @fluentd = path_to_fluentd unless path_to_fluentd.empty?
       @pattern = nil
     end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index