diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-05-20 16:35:14 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-05-20 16:35:14 +0000 |
| commit | 4aef0ba7cfda4b2dc53bc8e379694d9735b401a4 (patch) | |
| tree | ad4c95b1c406ee9345210852b700e92b567330f1 /test/lib | |
| parent | 6f83d4daab56385df9a1625cf8ffc64b6a8958f7 (diff) | |
| download | puppet-4aef0ba7cfda4b2dc53bc8e379694d9735b401a4.tar.gz puppet-4aef0ba7cfda4b2dc53bc8e379694d9735b401a4.tar.xz puppet-4aef0ba7cfda4b2dc53bc8e379694d9735b401a4.zip | |
Fixing #323 -- puppetd and puppetmasterd are now in sbin; packages still need to be fixed
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2529 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/lib')
| -rw-r--r-- | test/lib/puppettest/exetest.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lib/puppettest/exetest.rb b/test/lib/puppettest/exetest.rb index d0a85956a..8d91b88cc 100644 --- a/test/lib/puppettest/exetest.rb +++ b/test/lib/puppettest/exetest.rb @@ -13,10 +13,17 @@ module PuppetTest::ExeTest File.join(basedir, "bin") end + def sbindir + File.join(basedir, "sbin") + end + def setbindir unless ENV["PATH"].split(":").include?(bindir) ENV["PATH"] = [bindir, ENV["PATH"]].join(":") end + unless ENV["PATH"].split(":").include?(sbindir) + ENV["PATH"] = [sbindir, ENV["PATH"]].join(":") + end end def setlibdir |
