summaryrefslogtreecommitdiffstats
path: root/test/language
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-01-18 17:24:15 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-01-18 17:24:15 +0000
commit6bab167dcbb274fd302a65d567d6af0ef6621b79 (patch)
tree92093e971bab20400ac8218a5cf1b159e64b5cbb /test/language
parented39be9dd2ecdbe9a8624ed2f6c03334e123e81d (diff)
downloadpuppet-6bab167dcbb274fd302a65d567d6af0ef6621b79.tar.gz
puppet-6bab167dcbb274fd302a65d567d6af0ef6621b79.tar.xz
puppet-6bab167dcbb274fd302a65d567d6af0ef6621b79.zip
Made lots of small changes, mostly to help usability but also fixed a couple of key bugs
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@841 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/language')
-rwxr-xr-xtest/language/snippets.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/language/snippets.rb b/test/language/snippets.rb
index 7ca896ef4..413fd1035 100755
--- a/test/language/snippets.rb
+++ b/test/language/snippets.rb
@@ -370,6 +370,14 @@ class TestSnippets < Test::Unit::TestCase
}
end
+ def snippet_singleary(trans)
+ [1,2,3,4].each { |num|
+ file = "/tmp/singleary%s" % num
+ @@tmpfiles << file
+ assert(FileTest.file?(file), "File %s does not exist" % file)
+ }
+ end
+
def snippet_classincludes(trans)
[1,2,3].each { |num|
file = "/tmp/classincludes%s" % num
@@ -380,6 +388,10 @@ class TestSnippets < Test::Unit::TestCase
}
end
+ def snippet_emptyclass(trans)
+ # There's nothing to check other than that it works
+ end
+
def disabled_snippet_dirchmod(trans)
dirs = %w{a b}.collect { |letter|
"/tmp/dirchmodtest%s" % letter