diff options
| author | Luke Kanies <luke@madstop.com> | 2009-02-28 07:55:56 +0000 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2009-02-28 07:55:56 +0000 |
| commit | 0c16426a772c85b0ab45bfd4c3ba5189ace2d6b2 (patch) | |
| tree | 5dd3f39ea30d456428354fd417600d3f449c9e81 /test/lib | |
| parent | 23066c1b117af4d531efad79ee11ed683ac92e5e (diff) | |
| download | puppet-0c16426a772c85b0ab45bfd4c3ba5189ace2d6b2.tar.gz puppet-0c16426a772c85b0ab45bfd4c3ba5189ace2d6b2.tar.xz puppet-0c16426a772c85b0ab45bfd4c3ba5189ace2d6b2.zip | |
Fixing broken 0.24.x tests in test/.
These tests once again largely were caused
by /usr/sbin not being in the path and by
~ not being writable.
The only tests still failing are Rails tests,
and my guess is that they're all failing because
of the recent work by Brice. They should probably
just be removed.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'test/lib')
| -rwxr-xr-x | test/lib/puppettest.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lib/puppettest.rb b/test/lib/puppettest.rb index 63f8121b5..7fb98ef1d 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 |
