Skip Menu |

This queue is for tickets about the Convert-BER CPAN distribution.

Report information
The Basics
Id: 1334
Status: resolved
Priority: 0/
Queue: Convert-BER

People
Owner: GBARR [...] CPAN.ORG
Requestors: marek.rouchal [...] infineon.com
Cc:
AdminCc:

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



From: marek.rouchal [...] infineon.com
To: gbarr [...] pobox.com
Subject: Convert::BER
Date: Thu, 25 Jul 2002 14:23:09 +0200
Hello Graham, I tried to compile Convert::BER (from CPAN) with Perl 5.8.0 (sic) on Solaris 8 (Sparc) with Forte 7.0. The test (verbose) gives the following errors: t/03seqof.......1..19 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 not ok 7 not ok 8 not ok 9 not ok 10 not ok 11 not ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 FAILED tests 7-12 Failed 6/19 tests, 68.42% okay Do you know this already? If not, let me know if you need additional debugging information. Cheers, Marek
Date: Tue, 6 Aug 2002 09:02:49 +0100
From: Graham Barr <gbarr [...] pobox.com>
To: "marek . rouchal [...] infineon . com via RT" <bug-Convert-BER [...] rt.cpan.org>
Cc: 'AdminCc of cpan Ticket #1334': ;
Subject: Re: [cpan #1334] Convert::BER
Marek, This is a test problem, there is not issue with the module. Can you please try this patch to the test. ==== //depot/ber/t/03seqof.t#4 - /home/gbarr/src/ber/t/03seqof.t ==== --- /home/gbarr/tmp/tmp.11970.0 Tue Aug 6 09:00:07 2002 +++ /home/gbarr/src/ber/t/03seqof.t Tue Aug 6 08:59:56 2002 @@ -76,7 +76,7 @@ 0x73, 0x74, 0x04, 0x02, 0x6F, 0x66, 0x04, 0x07, 0x73, 0x74, 0x72, 0x69, 0x6E, 0x67, 0x73); - if ($] >= 5.007) { + unless ($ber->buffer eq $result) { # This test is a bit naughty as it depends on the hash order of # perl. Unfortunatley this changed in 5.7 so we have a different result $result = pack("C*", 0x30, 0x3D, 0x04, 0x03, 0x4A, 0x6F, 0x65, 0x30, The problem is that the test depends on the hash order of perl. This fix should make it test both possible results Graham.
Date: Tue, 6 Aug 2002 11:33:56 +0100
From: Graham Barr <gbarr [...] pobox.com>
To: "marek . rouchal [...] infineon . com via RT" <bug-Convert-BER [...] rt.cpan.org>
Cc: 'AdminCc of cpan Ticket #1334': ;
Subject: Re: [Comment] RE: [cpan #1334] Convert::BER
On Tue, Aug 06, 2002 at 06:10:03AM -0400, marek . rouchal @ infineon . com via RT wrote: Show quoted text
> sorry, but I cannot apply this patch to the Convert::BER 1.31 > release. The lines of 03seqof.t starting with nr. 76 in this > release are: > 0x73, 0x74, 0x04, 0x02, 0x6F, 0x66, 0x04, 0x07, > 0x73, 0x74, 0x72, 0x69, 0x6E, 0x67, 0x73);
Hm, OK. Try the attached test file instead. Graham.

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

From: marek.rouchal [...] infineon.com
[gbarr@pobox.com - Tue Aug 6 06:38:16 2002]: Show quoted text
> Hm, OK. Try the attached test file instead.
Works like a charm! Thanks & best regards, Marek