null+****@clear*****
null+****@clear*****
2012年 6月 13日 (水) 11:18:46 JST
Haruka Yoshihara 2012-06-13 11:18:46 +0900 (Wed, 13 Jun 2012) New Revision: 11e04c472856a6ca3e2c914307d55305ee40561d Log: Shutdown groonga-httpd after groonga commands are executed with groonga-httpd Modified files: lib/groonga/tester.rb Modified: lib/groonga/tester.rb (+6 -1) =================================================================== --- lib/groonga/tester.rb 2012-06-12 16:37:31 +0900 (8a09d0e) +++ lib/groonga/tester.rb 2012-06-13 11:18:46 +0900 (f5d27e6) @@ -335,7 +335,12 @@ module Groonga yield(executor) ensure begin - executor.send_command("shutdown") + if****@teste*****_httpd.nil? + executor.send_command("shutdown") + else + command_line.concat(["-s", "quit"]) + system(*command_line) + end rescue SystemCallError end