Project

General

Profile

« Previous | Next » 

Revision 17b088d1

Added by mame (Yusuke Endoh) almost 5 years ago

Update some syslog tests to absurb the format change of FreeBSD syslog

FreeBSD

$ ruby -rsyslog -e 'Syslog.open("rubyspec", Syslog::LOG_PERROR) {|s| s.log(Syslog::LOG_ALERT, "Hello") }'
rubyspec 78462 - - Hello

Linux

$ ruby -rsyslog -e 'Syslog.open("rubyspec", Syslog::LOG_PERROR) {|s| s.log(Syslog::LOG_ALERT, "Hello") }'
rubyspec: Hello

https://github.com/freebsd/freebsd/commit/591ef7c8076109cff3c41f9bb50da996a34121e9