test (God::Conditions::ProcessRunning)

    # File lib/god/conditions/process_running.rb, line 50
          def test
            self.info = []

            pid = self.pid
            active = pid && System::Process.new(pid).exists?

            if (self.running && active)
              self.info.concat(["process is running"])
              true
            elsif (!self.running && !active)
              self.info.concat(["process is not running"])
              true
            else
              if self.running
                self.info.concat(["process is not running"])
              else
                self.info.concat(["process is running"])
              end
              false
            end
          end