bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bison 3.7.90 (beta): test 4


From: Dagobert Michelsen
Subject: Re: Bison 3.7.90 (beta): test 4
Date: Thu, 19 Aug 2021 10:07:04 +0200

Hi Akim,

Am 19.08.2021 um 10:01 schrieb Akim Demaille <akim@lrde.epita.fr>:
> This is good: the input and the output are correct.  So it's the test suite's 
> post processing which is wrong.  I guess Perl does not behave the expected 
> way.  Could you please give me the results (and out.1 and out.2) of:
> 
> perl --version
> perl -p -e 's{([\0\200\210\360\377])}{sprintf "\\x%02x", ord($1)}ge' <log 
> >out.1
> perl -p -e 's{([\000\200\210\360\377])}{sprintf "\\x%02x", ord($1)}ge' <log 
> >out.2
> 
> where log is the previous log file (from LC_ALL=C tests/bison  
> tests/testsuite.dir/004/input.y 2>log).

Sure, I also added the respective output from the system shipped perl:

dam@unstable10s 
[unstable10s]:/home/dam/mgar/pkg/bison/trunk/work/solaris10-sparc/build-isa-sparcv8plus/bison-3.7.90
 > which perl
/opt/csw/bin/perl
dam@unstable10s 
[unstable10s]:/home/dam/mgar/pkg/bison/trunk/work/solaris10-sparc/build-isa-sparcv8plus/bison-3.7.90
 > perl --version

This is perl, v5.10.1 (csw-5.10.1*) built for sun4-solaris-thread-multi

Copyright 1987-2009, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

dam@unstable10s 
[unstable10s]:/home/dam/mgar/pkg/bison/trunk/work/solaris10-sparc/build-isa-sparcv8plus/bison-3.7.90
 > perl -p -e 's{([\0\200\210\360\377])}{sprintf "\\x%02x", ord($1)}ge' <log 
>out.1
dam@unstable10s 
[unstable10s]:/home/dam/mgar/pkg/bison/trunk/work/solaris10-sparc/build-isa-sparcv8plus/bison-3.7.90
 > perl -p -e 's{([\000\200\210\360\377])}{sprintf "\\x%02x", ord($1)}ge' <log 
>out.2

Attachment: out.2
Description: Binary data

Attachment: out.1
Description: Binary data


dam@unstable10s 
[unstable10s]:/home/dam/mgar/pkg/bison/trunk/work/solaris10-sparc/build-isa-sparcv8plus/bison-3.7.90
 > /usr/bin/perl --version

This is perl, v5.8.4 built for sun4-solaris-64int
(with 42 registered patches, see perl -V for more detail)

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

dam@unstable10s 
[unstable10s]:/home/dam/mgar/pkg/bison/trunk/work/solaris10-sparc/build-isa-sparcv8plus/bison-3.7.90
 > /usr/bin/perl -p -e 's{([\0\200\210\360\377])}{sprintf "\\x%02x", 
ord($1)}ge' <log >out-system.1
dam@unstable10s 
[unstable10s]:/home/dam/mgar/pkg/bison/trunk/work/solaris10-sparc/build-isa-sparcv8plus/bison-3.7.90
 > /usr/bin/perl -p -e 's{([\000\200\210\360\377])}{sprintf "\\x%02x", 
ord($1)}ge' <log >out-system.2
dam@unstable10s 
[unstable10s]:/home/dam/mgar/pkg/bison/trunk/work/solaris10-sparc/build-isa-sparcv8plus/bison-3.7.90
 > 


Attachment: out-system.2
Description: Binary data

Attachment: out-system.1
Description: Binary data



Best regards

  — Dago



-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896


reply via email to

[Prev in Thread] Current Thread [Next in Thread]