Skip Menu |

This queue is for tickets about the String-Scanf CPAN distribution.

Report information
The Basics
Id: 1673
Status: resolved
Priority: 0/
Queue: String-Scanf

People
Owner: Nobody in particular
Requestors: barancev [...] kazbek.ispras.ru
Cc:
AdminCc:

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



Subject: make test failed on tests 9, 10, 11, 12, 109, 113
Distribution: String-Scanf-2.0 Perl: v5.6.1 built for i686-linux OS: Linux 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown More details about errors in tests 9, 10, 11, 12: The following command: perl -MString::Scanf -e '($h, $o, $hh, $oo) = sscanf("\%x \%o \%x \%o", "0xa_b_c_d 0234_5 3_45_6 45_67"); print join " ", ($h, $o, $hh, $oo);' results in 11259341 10029 214374 19391 whereas according test it must be equivalent to perl -e 'print join " ", (0xabcd, 02345, 0x3456, 04567)' which is 43981 1253 13398 2423 More details about errors 109, 113: make test TEST_VERBOSE=1 shows for these errors the following diagnostics: not ok 109 # [273] [17] not ok 113 # [73] [9]
Hi, could you try running perl -wle 'print hex "abcd"' perl -wle 'print oct "2345"' with your Perl?
Hi, have you been able to try this with newer Perls (or newer operating systems)?
From: paul [...] mawsonlakes.org
On Wed Dec 31 09:29:10 2003, JHI wrote: Show quoted text
> Hi, have you been able to try this with newer Perls (or newer > operating systems)?
I have tried String-Scanf-2.1 under Ubuntu 8.10 on amd64(64bit) and the tests all ran without any errors. make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/scanf....1..135 ok 1 ... ok 135 All tests successful. Files=1, Tests=135, 0 wallclock secs ( 0.02 cusr + 0.00 csys = 0.02 CPU)