Test suite results for test file tbs/tb0432.pp

Test run data :

Run ID:
Operating system: solaris
Processor: sparc
Version: 3.3.1
Fails/OK/Total: 57/9104/9161
Version: 3.3.1
Full version: 3.3.1-15627-g64f2e4b-unpushed
Comment: -Agas -Cg -Fd
Machine: unstable10s
Category: 1
SVN revisions: e601156:d3fd0b8:64f2e4b:6a10963
Submitter: pierre
Date: 2024/04/28 12:53:00
Previous run: 940458
Next run: 941965

Hide skipped tests

Hide successful tests

Test file "tbs/tb0432.pp" information:

t_id 646
t_adddate 2003/10/03
t_result 0
t_knownrunerror 2

Detailed test run results:

tr_idruntr_oktr_skiptr_result
482409899941218FalseTrueSkipping test because it is a known bug

Record count: 1

No log of 941218.

Source:

{ %KNOWNRUNERROR=2 On some OS invalid date are converted to valid ones, thus test fails}
uses Dos;
var
  f : file;
  l : longint;
  dt : datetime;
begin
  assign(f,'tb0432.tmp');
  rewrite(f);
  close(f);

  { Set Invalid date }
  dt.year:=2001;
  dt.month:=2;
  dt.day:=30;
  packtime(dt,l);

  SetFTime(f,l);
  writeln(doserror);

  if doserror<>13 then
   begin
     Writeln('Wrong doserror');
     if doserror=0 then
       runerror(2)
     else
       halt(1);
   end;

end.

Link to SVN view of tbs/tb0432.pp source.