Remove log directory in test postprocessing

The "log" is directory. So it is necessary to use `FileUtils.rm_rf`.
This commit is contained in:
yuuji.yaginuma 2017-07-21 07:35:26 +09:00
parent 05ffe4b328
commit 968499c740
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ namespace :test do
status = $?.to_i
ensure
Process.kill("KILL", pid) if pid
FileUtils.rm_f("log")
FileUtils.rm_rf("log")
end
exit status