summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-04-14 04:52:08 +0000
committerLuke Kanies <luke@madstop.com>2005-04-14 04:52:08 +0000
commitb4bb6807843187f35dd2313fa3dd5e7220dcaa01 (patch)
tree0f865811efe01eadfcb050630ec4d2705dd6b46b /test
parentc6755f5f30be79ddb42c0afc4d89be42a2df47f9 (diff)
downloadpuppet-b4bb6807843187f35dd2313fa3dd5e7220dcaa01.tar.gz
puppet-b4bb6807843187f35dd2313fa3dd5e7220dcaa01.tar.xz
puppet-b4bb6807843187f35dd2313fa3dd5e7220dcaa01.zip
removing link when done
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@150 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
-rw-r--r--test/objects/tc_symlink.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/objects/tc_symlink.rb b/test/objects/tc_symlink.rb
index a75812ff3..045052f59 100644
--- a/test/objects/tc_symlink.rb
+++ b/test/objects/tc_symlink.rb
@@ -60,4 +60,8 @@ class TestSymlink < Test::Unit::TestCase
}
assert(@symlink.insync?())
end
+
+ def teardown
+ Kernel.system("rm -f %s" % @path)
+ end
end