The test gfortran.dg/namelist_97.f90 dos not clean the file test.dat
dhumieres.dominique@free.fr
dhumieres.dominique@free.fr
Mon Jun 8 09:35:01 GMT 2020
Hi all,
While investigating pr95538, I see a file test.dat that is not cleaned.
I traced this to the test gfortran.dg/namelist_97.f90.
I was wondering why the statement
close (unit=10, status='delete')
did not delete the file, until I realized that it was never executed due
to the runtime error.
This leftover may cause failure of tests using
open(unit=99, file='test.dat', status='new')
(see pr95546).
Any idea how to clean the file? Meanwhile it could better to rename the
file, say 'namelist_97.dat'.
Cheers,
Dominque
More information about the Fortran
mailing list