Example #1
0
 def test_message_send_shutdown_resume(self):
     self.server.stop()
     print>>self.input, 'test_message_send_shutdown_resume'
     self.input.flush()
     self.server.start()
     rsyslog.waitOutput(
         self.output, 'test_message_send_shutdown_resume',
         timeout=5, echo=True)
Example #2
0
 def test_message_sending(self):
     print>>self.input, 'test_message_sending'
     self.input.flush()
     rsyslog.waitOutput(
         self.output, 'test_message_sending', timeout=5, echo=True)