Test suite results for test file webtbs/tw3478.pp

Test run data :

Run ID:
Operating system: linux
Processor: powerpc64
Version: 3.3.1
Fails/OK/Total: 114/9107/9221
Version: 3.3.1
Full version: 3.3.1-15617-g1de3aba4e3
Comment: -CX -XX -O4 -Fl/usr/lib/gcc/powerpc64-linux-gnu/13 -Fd
Machine: gcc203
Category: 1
SVN revisions: 1de3aba4e3:0655b342d4:20c95f0455:61397d40ae
Submitter: pierre
Date: 2024/04/27 16:49:00 <> 2024/04/26
Previous run: 939134
Next run: 941863

Hide skipped tests

Hide successful tests

Test file "webtbs/tw3478.pp" information:

t_id 1424
t_adddate 2004/12/27
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
477997175940509TrueFalseSuccessfully run

Record count: 1

No log of 940509.

Source:

{ Source provided for Free Pascal Bug Report 3478 }
{ Submitted by "Michalis Kamburelis" on  2004-12-26 }
{ e-mail: michalis@camelot.homedns.org }
{ Before fixing bug 3477 this prints
    FFFFFFF
    FFFFFFFFFFFFFFFF
    0000000FFFFFFFFF
    9999999
    FFFFFFFF99999999
    0000000999999999

  After fixing 3477 with my patch this prints
    FFFFFFF
    FFFFFFFFFFFFFFFF
    FFFFFFFFF
    9999999
    FFFFFFFF99999999
    999999999
  so part of the problems are gone, but not all.

  Then, after fixing this bug with my simple patch it correctly prints
    FFFFFFF
    FFFFFFFF
    FFFFFFFFF
    9999999
    99999999
    999999999
}

uses SysUtils,erroru;

procedure Check(a,b:ansistring);
begin
  writeln(a);
  if a<>b then
    error;
end;

begin
 check(Format('%x', [$FFFFFFF]),'FFFFFFF');
 check(Format('%x', [$FFFFFFFF]),'FFFFFFFF');
 check(Format('%x', [$FFFFFFFFF]),'FFFFFFFFF');

 check(Format('%x', [$9999999]),'9999999');
 check(Format('%x', [$99999999]),'99999999');
 check(Format('%x', [$999999999]),'999999999');
end.

Link to SVN view of webtbs/tw3478.pp source.