From 3891f48119ea01d04d7495cf2f07a9ddb37b2afc Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 19 Sep 2006 18:04:20 +0000 Subject: Converting to using the Rakefile for testing. The old 'test' script is now deprecated, and I'll send an email to the dev list and update the docs to reflect that. This still isn't the final solution, because the module structure is a bit weird, but at least it's a starting point, and everything from here on out is small changes, as opposed to large architectural changes. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1632 980ebf18-57e1-0310-9a29-db15c13687c0 --- test/other/autoload.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'test/other/autoload.rb') diff --git a/test/other/autoload.rb b/test/other/autoload.rb index 95fafbda2..7cbb11c1a 100644 --- a/test/other/autoload.rb +++ b/test/other/autoload.rb @@ -1,18 +1,11 @@ #!/usr/bin/env ruby -if __FILE__ == $0 - $:.unshift '..' - $:.unshift '../../lib' - $puppetbase = "../.." -end - require 'puppet' require 'puppet/autoload' require 'puppettest' -require 'test/unit' class TestAutoload < Test::Unit::TestCase - include TestPuppet + include PuppetTest @things = [] def self.newthing(name) @things << name -- cgit