Test suite results for test file webtbs/tw3478.pp

Test run data :

Run ID:
Operating system: solaris
Processor: sparc
Version: 3.3.1
Fails/OK/Total: 54/9105/9159
Version: 3.3.1
Full version: 3.3.1
Comment: -Xn -Fd
Machine: gcc-solaris10
Category: 1
SVN revisions: e601156:3cfec5e:7629cdb:6a10963
Submitter: pierre
Date: 2024/04/28 01:31:00
Previous run: 939969
Next run: 941470

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

Record count: 1

No log of 940707.

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.