summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/puppettest.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/puppettest.rb b/test/puppettest.rb
index a2c3d186c..70775e0e3 100644
--- a/test/puppettest.rb
+++ b/test/puppettest.rb
@@ -1,7 +1,7 @@
-libdir = File.join(File.dirname(__FILE__), '../lib')
-unless $:.include?(libdir)
- $:.unshift libdir
-end
+#libdir = File.join(File.dirname(__FILE__), '../lib')
+#unless $:.include?(libdir)
+# $:.unshift libdir
+#end
require 'puppet'
require 'test/unit'
@@ -1260,7 +1260,8 @@ class PuppetTestSuite
Dir.entries(self.basedir).find_all { |file|
path = File.join(@basedir, file)
# Data is for storing test data
- FileTest.directory?(path) and file !~ /^\./ and file != "data"
+ FileTest.directory?(path) and file !~ /^\./ and file != "data" and
+ file != "lib"
}
end