summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-07-20 20:50:11 +0000
committerLuke Kanies <luke@madstop.com>2005-07-20 20:50:11 +0000
commita33d5d44d92894c12c485f7de49d324cd1a2eb23 (patch)
treefcf9afcce5f176bbdb35741d0927c7496daa9e07 /test
parent2d34f8e9ddcfc03d57a71819810eef15fb7f965f (diff)
everything seems to actually be working now, including getting the correct file list back
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@432 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
-rw-r--r--test/types/tc_file.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/types/tc_file.rb b/test/types/tc_file.rb
index e0ae7274d..21ccc8a69 100644
--- a/test/types/tc_file.rb
+++ b/test/types/tc_file.rb
@@ -555,6 +555,14 @@ class TestFile < Test::Unit::TestCase
assert_nothing_raised {
trans.evaluate
}
+
+ # until we have characterized how backups work, just get
+ # rid of them
+ FileUtils.cd(todir) {
+ %x{find . -name '*puppet-bak'}.chomp.split(/\n/).each { |file|
+ File.unlink(file)
+ }
+ }
assert_trees_equal(fromdir,todir)
clearstorage
Puppet::Type.allclear