summaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2009-04-06 11:45:23 +1000
committerJames Turnbull <james@lovedthanlost.net>2009-04-06 11:45:23 +1000
commit3aedfd8bbcefcdb92af57e4661a360be9aee2716 (patch)
treef44e6bd75fca39f2fd6c87e5d0b6e84ee14dd8e0 /test/lib
parent173b5f0a162d8dd7f72e1cab257069bc65382960 (diff)
parenta677e26eb1452c08d7724047a18e50f4a654d2cd (diff)
Merge branch 'master' of git://reductivelabs.com/puppet
Diffstat (limited to 'test/lib')
-rwxr-xr-xtest/lib/puppettest.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lib/puppettest.rb b/test/lib/puppettest.rb
index 3c6083fa6..2f84a6c28 100755
--- a/test/lib/puppettest.rb
+++ b/test/lib/puppettest.rb
@@ -166,6 +166,9 @@ module PuppetTest
end
def setup
+ unless ENV["PATH"].split(File::PATH_SEPARATOR).include?("/usr/sbin")
+ ENV["PATH"] += File::PATH_SEPARATOR + "/usr/sbin"
+ end
@memoryatstart = Puppet::Util.memory
if defined? @@testcount
@@testcount += 1