summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorLuke Kanies <luke@puppetlabs.com>2010-04-12 11:05:21 -0700
committerLuke Kanies <luke@puppetlabs.com>2010-04-12 11:05:21 -0700
commit456447cab21ef6cfa66a6fbb949146e0d1df462c (patch)
treee61193f803a6efa1e48099c6565145568253bdf6 /spec
parentfa64774e60940e1118b5ca496387d2eb0545acb2 (diff)
downloadpuppet-456447cab21ef6cfa66a6fbb949146e0d1df462c.tar.gz
puppet-456447cab21ef6cfa66a6fbb949146e0d1df462c.tar.xz
puppet-456447cab21ef6cfa66a6fbb949146e0d1df462c.zip
Protecting spec_helper chmod from failure
Signed-off-by: Luke Kanies <luke@puppetlabs.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 16081f957..777a06721 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -47,8 +47,8 @@ Spec::Runner.configure do |config|
next
end
if FileTest.exist?(file)
- system("chmod -R 755 #{file}")
- system("rm -rf #{file}")
+ system("chmod -R 755 '#{file}'")
+ system("rm -rf '#{file}'")
end
end
$tmpfiles.clear