diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-05 06:54:13 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-05 06:54:13 +0000 |
| commit | 9697354e81d72027519119753598bd3c5271bbcf (patch) | |
| tree | c37e4fbbed73bd5ffd78203d86645e0f46f227df /test/puppettest.rb | |
| parent | f540ec83791181e22c4c4db1b049f44a5970bcf6 (diff) | |
| download | puppet-9697354e81d72027519119753598bd3c5271bbcf.tar.gz puppet-9697354e81d72027519119753598bd3c5271bbcf.tar.xz puppet-9697354e81d72027519119753598bd3c5271bbcf.zip | |
differentiating openbsd from freebsd, adding freebsd, and autoloading package types instead of manually loading them
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1079 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/puppettest.rb')
| -rw-r--r-- | test/puppettest.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/puppettest.rb b/test/puppettest.rb index a2cb1438e..3959cf0fa 100644 --- a/test/puppettest.rb +++ b/test/puppettest.rb @@ -454,6 +454,7 @@ module ExeTest File.unlink(pidfile) end + return unless running if running or pid runningpid = nil %x{#{ps}}.chomp.split(/\n/).each { |line| @@ -464,12 +465,6 @@ module ExeTest end } - if running - assert(runningpid, "Process is not running") - assert_equal(pid, runningpid, "PIDs are not equal") - else - return - end end # we default to mandating that it's running, but teardown |
