Skip Menu |
 

This queue is for tickets about the File-VirusScan CPAN distribution.

Report information
The Basics
Id: 103886
Status: open
Priority: 0/
Queue: File-VirusScan

People
Owner: dfs+pause [...] roaringpenguin.com
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Test fails with non-English locale
Download (untitled) / with headers
text/plain 690b
With LC_ALL=de_DE.UTF-8 following happens: # Failed test '... error as expected' # at t/symantec-css.t line 48. # 'Error: Could not connect to CarrierScan Server on 127.0.0.1, port 1: Verbindungsaufbau abgelehnt at t/symantec-css.t line 47. # ' # doesn't match '(?^:Error: Could not connect to CarrierScan Server on 127.0.0.1, port 1: Connection refused)' # (in TestVirusScan::Symantec::CSS->bogus_socket) # Scanner for ...Daemon::Symantec::CSS not found. Live tests will be skipped # Looks like you failed 1 test of 32. t/symantec-css.t .................. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/32 subtests (less 8 skipped subtests: 23 okay)
Subject: Re: [rt.cpan.org #103886] Test fails with non-English locale
Date: Wed, 22 Apr 2015 15:30:27 -0400
To: bug-File-VirusScan [...] rt.cpan.org
From: Dianne Skoll <dfs [...] roaringpenguin.com>
Download (untitled) / with headers
text/plain 660b
Hi, Thanks for this report too. Patch below will be in the next release. Regards, Dianne. diff --git a/t/symantec-css.t b/t/symantec-css.t index c8c6ac5..dae692f 100644 --- a/t/symantec-css.t +++ b/t/symantec-css.t @@ -45,7 +45,7 @@ sub bogus_socket : Test(2) $s->{port} = 1; dies_ok { $s->_get_socket() } '_get_socket() dies (invalid port given)'; - like( $@, qr/Error: Could not connect to CarrierScan Server on 127.0.0.1, port 1: Connection refused/, '... error as expected'); + like( $@, qr/Error: Could not connect to CarrierScan Server on 127.0.0.1, port 1:/, '... error as expected'); } sub good_socket : Test(1)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.