diff options
author | Luke Kanies <luke@madstop.com> | 2007-10-26 11:26:57 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-10-26 11:26:57 -0500 |
commit | d03f68eaed6d05483128b495ad1faaf89208d66a (patch) | |
tree | 3883c1dfb9ab8b1d4eed37eda13f7bb64ee851b8 /test/util/metrics.rb | |
parent | c0a07ac724c27fce8d2673e4466e42d46d68f145 (diff) | |
download | puppet-d03f68eaed6d05483128b495ad1faaf89208d66a.tar.gz puppet-d03f68eaed6d05483128b495ad1faaf89208d66a.tar.xz puppet-d03f68eaed6d05483128b495ad1faaf89208d66a.zip |
Changing the test/ classes so that they work from the main
test/ dir or from their own working dir, like the specs do.
This was just a question of changing how their libraries
are loaded.
Diffstat (limited to 'test/util/metrics.rb')
-rwxr-xr-x | test/util/metrics.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/util/metrics.rb b/test/util/metrics.rb index 2775b3ff1..b0ac1e2f5 100755 --- a/test/util/metrics.rb +++ b/test/util/metrics.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -$:.unshift("../lib").unshift("../../lib") if __FILE__ =~ /\.rb$/ +require File.dirname(__FILE__) + '/../lib/puppettest' require 'puppet' require 'puppet/util/metric' |