develooper Front page | perl.perl5.porters | Postings from April 2007

Re: [MAINT30961] fails "make test" on OSX

Thread Previous | Thread Next
April 29, 2007 08:11
Re: [MAINT30961] fails "make test" on OSX
Message ID:
>>>>> "Ævar" == Ævar Arnfjörð Bjarmason <> writes:

Ævar> On 4/29/07, Randal L. Schwartz <> wrote:
>> ext/Sys/Syslog/t/syslog.........................#   Failed test 'syslog()
>> should return true: '0''
>> #   at ../ext/Sys/Syslog/t/syslog.t line 152.
>> is this known, or does someone want me to run something more for tests?

Ævar> Run it with verbose and show the "connecting to a" .. message two
Ævar> lines above that one. Seems like syslog via socket doesn't work on
Ævar> your system.

    ok 1 - use Sys::Syslog;
    ok 2 - Sys::Syslog->can(...)
    ok 3 - calling setlogsock() with no argument
    ok 4 - calling syslog() with no argument
    ok 5 - calling syslog() with one undef argument
    ok 6 - calling syslog() with one empty argument
    ok 7 - setlogsock() called with 'unix'
    not ok 8 - setlogsock() should return true: '0' # TODO minor bug

    #   Failed (TODO) test 'setlogsock() should return true: '0''
    #   at ext/Sys/Syslog/t/syslog.t line 82.

I have nothing odd on my system.  Perhaps syslog doesn't listen
on a socket on OSX.

Hmm.  lsof shows that it does:

syslogd  81 root   16u    IPv4 0x5852e10      0t0      UDP *:50982

Anything else you want me to try?

Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<> <URL:>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See for onsite and open-enrollment Perl training!

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About