Test suite results for test file webtbs/tw3478.pp

Test run data :

Run ID:
Operating system: linux
Processor: sparc64
Version: 3.2.3
Fails/OK/Total: 155/7800/7955
Version: 3.2.3
Full version: 3.2.3-1373-gae0fe8a6a0
Comment: -XR/home/pierre/sys-root/sparc64-linux -Xd -Xr/home/pierre/sys-root/sparc64-linux
Machine: gcclocal
Category: 1
SVN revisions: fdf93c5b29:c17a0e20f5:ae0fe8a6a0:d1c29e6cb9
Submitter: pierre
Date: 2024/04/28 12:15:00 <> 2024/04/09
Previous run: 940437
Next run: 941909

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
482259559941193TrueFalseSuccessfully run

Record count: 1

No log of 941193.

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.