Skip Menu |

This queue is for tickets about the PlRPC CPAN distribution.

Report information
The Basics
Id: 74430
Status: open
Priority: 0/
Queue: PlRPC

People
Owner: TODDR [...] cpan.org
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.2020
Fixed in: (no value)

Attachments
perl-PlRPC-0.2020-Do-not-use-syslog.patch



Subject: Tests require running syslog
Running tests on Linux require access to /dev/log (running syslog), otherwise tests fail: no connection to syslog available - /dev/log is not a socket at /usr/share/perl5/vendor_perl/Net/Daemon/Log.pm line 114 Server process didn't create a file 'ndtest.prt'. at /usr/share/perl5/vendor_perl/Net/Daemon/Test.pm line 317. t/client.t .... Dubious, test returned 2 (wstat 512, 0x200) Failed 10/10 subtests [...] I think it would be better to redefine logfile RPC::PlClient and RPC::PlServer member in tests to allow testing even without syslog.
Subject: Re: [rt.cpan.org #74430] AutoReply: Tests require running syslog
Date: Fri, 27 Jan 2012 11:34:07 +0100
To: Bugs in PlRPC via RT <bug-PlRPC [...] rt.cpan.org>
From: Petr Pisar <ppisar [...] redhat.com>
On Thu, Jan 26, 2012 at 12:13:37PM -0500, Bugs in PlRPC via RT wrote: Show quoted text
> > I think it would be better to redefine logfile RPC::PlClient and > RPC::PlServer member in tests to allow testing even without syslog. >
Attached patch modifes tests in this way. -- Petr

Message body is not shown because sender requested not to inline it.

Download (untitled)
application/pgp-signature 230b

Message body not shown because it is not plain text.

sending to file 1 causes output to go to STDOUT. I'm using File::Spec->devnull and sending it to a file handle proper. dev release sent to CPAN. I'll put out a prod release next week if no issues are found on CPAN testers.