summaryrefslogtreecommitdiffstats
path: root/test/language
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-15 15:17:26 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-15 15:17:26 +0000
commit6ef3d88110fd44b51733d03ff01f5f84aa327fb7 (patch)
treec410cb383871f3bcaef4c5c665c937d4524903cb /test/language
parent662fcafdb8020b34b060d70d54fca996ece36ab8 (diff)
fixing interpreter to initialize ldap in the nodesearch_ldap method, which really only matters for testing (since it is already being inited in the nodesearch method
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1287 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/language')
-rwxr-xr-xtest/language/snippets.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/language/snippets.rb b/test/language/snippets.rb
index c34d1b192..1e7b86968 100755
--- a/test/language/snippets.rb
+++ b/test/language/snippets.rb
@@ -466,6 +466,11 @@ class TestSnippets < Test::Unit::TestCase
# There's nothing to check other than that it works
end
+ def snippet_emptyexec(trans)
+ assert(FileTest.exists?("/tmp/emptyexectest"),
+ "Empty exec was ignored")
+ end
+
def disabled_snippet_dirchmod(trans)
dirs = %w{a b}.collect { |letter|
"/tmp/dirchmodtest%s" % letter