summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-03-10 21:46:00 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-03-10 21:46:00 +0000
commit2cd67ad843409a49747748a1278e5ef788dd97bd (patch)
treeab8849aa8e03a6ec9523573015a822094b58ab4d /test
parent02f91fcd55aefe63a11a29c5608c0738867b8130 (diff)
There was a critical design flaw in the link recursion work I did previously, and fixing it required a decently large reorganization. Everything is much, much cleaner now.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1001 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
-rw-r--r--test/types/file.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/types/file.rb b/test/types/file.rb
index 7951a623c..28a12ab2f 100644
--- a/test/types/file.rb
+++ b/test/types/file.rb
@@ -950,6 +950,9 @@ class TestFile < Test::Unit::TestCase
assert(FileTest.symlink?(link), "Link was not created")
assert_equal(path, File.readlink(link), "Link was created incorrectly")
+
+ # Make sure running it again works
+ assert_events([], file)
end
def test_simplerecursivelinking
@@ -978,6 +981,8 @@ class TestFile < Test::Unit::TestCase
assert(File.directory?(subdest), "subdest is not a dir")
assert(File.symlink?(linkpath), "path is not a link")
assert_equal(file, File.readlink(linkpath))
+
+ assert_events([], link)
end
def test_recursivelinking