mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 02:32:51 +02:00
+ signal doserror equal to zero as a known problem
This commit is contained in:
parent
86510ee92c
commit
5d96f16f52
@ -1,3 +1,4 @@
|
||||
{ %KNOWNRUNERROR=2 On some OS invalid date are converted to valid ones, thus test fails}
|
||||
uses Dos;
|
||||
var
|
||||
f : file;
|
||||
@ -20,7 +21,10 @@ begin
|
||||
if doserror<>13 then
|
||||
begin
|
||||
Writeln('Wrong doserror');
|
||||
halt(1);
|
||||
if doserror=0 then
|
||||
runerror(2)
|
||||
else
|
||||
halt(1);
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user