Permalink
Browse files

(#14694) use mkdir_p for log output directory

  • Loading branch information...
1 parent b346b3b commit 270bdf1d64e0b578576e62ae264aa7221917c900 @branan branan committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/puppet_acceptance/test_suite.rb
@@ -259,7 +259,7 @@ def print_test_failure(test_case)
def log_path(name)
@@log_dir ||= File.join("log", @start_time.strftime("%F_%T"))
unless File.directory?(@@log_dir) then
- FileUtils.mkdir(@@log_dir)
+ FileUtils.mkdir_p(@@log_dir)
FileUtils.cp(options[:config],(File.join(@@log_dir,"config.yml")))
latest = File.join("log", "latest")

0 comments on commit 270bdf1

Please sign in to comment.