YUKI Hiroshi
null+****@clear*****
Wed Nov 27 14:51:24 JST 2013
YUKI Hiroshi 2013-11-27 14:51:24 +0900 (Wed, 27 Nov 2013) New Revision: 83432c378537bb52d02543ece4206ffa49d57186 https://github.com/droonga/drntest/commit/83432c378537bb52d02543ece4206ffa49d57186 Message: Resolve relative path based on the current directory Modified files: lib/drntest/tester.rb Modified: lib/drntest/tester.rb (+2 -2) =================================================================== --- lib/drntest/tester.rb 2013-11-27 14:48:28 +0900 (567cda6) +++ lib/drntest/tester.rb 2013-11-27 14:51:24 +0900 (f31c715) @@ -59,7 +59,7 @@ module Drntest parser.on("--base=PATH", "Path to the base directory including test suite, config and fixture", "(#{tester.base_path})") do |base_path| - tester.base_path = Pathname(base_path).expand_path(File.dirname(__FILE__)) + tester.base_path = Pathname(base_path).expand_path(Dir.pwd) end parser.on("--config=NAME", @@ -99,7 +99,7 @@ module Drntest @port = 24224 @host = "localhost" @tag = "droonga" - @base_path = Pathname(File.dirname(__FILE__)) + @base_path = Pathname(Dir.pwd) @config = "default" @fluentd = "fluentd" @fluentd_options = [] -------------- next part -------------- HTML����������������������������... Download