Kouhei Sutou
null+****@clear*****
Wed Jul 22 10:24:29 JST 2015
Kouhei Sutou 2015-07-22 10:24:29 +0900 (Wed, 22 Jul 2015) New Revision: 9ef28bf00a36af063423e27ddea481fbc208a6a6 https://github.com/groonga/groonga-query-log/commit/9ef28bf00a36af063423e27ddea481fbc208a6a6 Message: run-regression-test: use "--file" instead of redirect Modified files: lib/groonga/query-log/command/run-regression-test.rb Modified: lib/groonga/query-log/command/run-regression-test.rb (+3 -2) =================================================================== --- lib/groonga/query-log/command/run-regression-test.rb 2015-07-15 14:27:19 +0900 (f0e2a32) +++ lib/groonga/query-log/command/run-regression-test.rb 2015-07-22 10:24:29 +0900 (9bd0fa8) @@ -245,11 +245,12 @@ module Groonga command = [ @groonga, "--log-path", log_path.to_s, + "--file", grn_file.to_s, @database_path.to_s, ] - command_line = "#{command.join(' ')} < #{grn_file}" + command_line = command.join(" ") puts("Running...: #{command_line}") - pid = spawn(*command, :in => grn_file.to_s) + pid = spawn(*command) begin pid, status = Process.waitpid2(pid) rescue Interrupt -------------- next part -------------- HTML����������������������������...Download