summaryrefslogtreecommitdiffstats
path: root/test/ral/type/filesources.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ral/type/filesources.rb')
-rwxr-xr-xtest/ral/type/filesources.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/ral/type/filesources.rb b/test/ral/type/filesources.rb
index d3eb537c1..2b43424ac 100755
--- a/test/ral/type/filesources.rb
+++ b/test/ral/type/filesources.rb
@@ -30,11 +30,9 @@ class TestFileSources < Test::Unit::TestCase
end
def use_storage
- begin
initstorage
- rescue
+ rescue
system("rm -rf #{Puppet[:statefile]}")
- end
end
def initstorage