mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 18:49:11 +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;
|
uses Dos;
|
||||||
var
|
var
|
||||||
f : file;
|
f : file;
|
||||||
@ -20,7 +21,10 @@ begin
|
|||||||
if doserror<>13 then
|
if doserror<>13 then
|
||||||
begin
|
begin
|
||||||
Writeln('Wrong doserror');
|
Writeln('Wrong doserror');
|
||||||
halt(1);
|
if doserror=0 then
|
||||||
|
runerror(2)
|
||||||
|
else
|
||||||
|
halt(1);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user