Commit fc60b22f by Kaveh R. Ghazi Committed by Kaveh Ghazi

direct_io_1.f90, [...]: Delete temporary files from testcases.

	* gfortran.dg/direct_io_1.f90, gfortran.dg/iostat_2.f90,
	gfortran.dg/open_new.f90, gfortran.dg/open_readonly_1.f90,
	gfortran.dg/pr16935.f90, gfortran.dg/pr20954.f,
	gfortran.dg/read_many_1.f, gfortran.dg/unf_io_convert_2.f90,
	gfortran.fortran-torture/execute/direct_io.f90,
	gfortran.fortran-torture/execute/inquire_2.f90,
	gfortran.fortran-torture/execute/inquire_4.f90,
	gfortran.fortran-torture/execute/list_read_1.f90,
	gfortran.fortran-torture/execute/open_replace.f90,
	gfortran.fortran-torture/execute/slash_edit.f90,
	gfortran.fortran-torture/execute/unopened_unit_1.f90: Delete
	temporary files from testcases.

From-SVN: r112201
parent 3eb015bc
2006-03-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gfortran.dg/direct_io_1.f90, gfortran.dg/iostat_2.f90,
gfortran.dg/open_new.f90, gfortran.dg/open_readonly_1.f90,
gfortran.dg/pr16935.f90, gfortran.dg/pr20954.f,
gfortran.dg/read_many_1.f, gfortran.dg/unf_io_convert_2.f90,
gfortran.fortran-torture/execute/direct_io.f90,
gfortran.fortran-torture/execute/inquire_2.f90,
gfortran.fortran-torture/execute/inquire_4.f90,
gfortran.fortran-torture/execute/list_read_1.f90,
gfortran.fortran-torture/execute/open_replace.f90,
gfortran.fortran-torture/execute/slash_edit.f90,
gfortran.fortran-torture/execute/unopened_unit_1.f90: Delete
temporary files from testcases.
2006-03-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/26509
......@@ -28,5 +28,5 @@ program direct_io_1
n = 1
write(12, rec=n) mt, nt
write(12, rec=n+1) (p(m), m=1, nt)
close(12)
close(12, status='delete')
end program
......@@ -4,4 +4,5 @@
close(10, status="whatever", iostat=i)
if (i == 0) call abort()
write(17,*) 'foo'
close(17, status="delete")
end
......@@ -7,5 +7,5 @@ program main
close(nout)
open(nout, file="foo.dat", status="new",err=100)
call abort ! This should never happen
100 continue
100 call unlink ("foo.dat")
end program main
......@@ -9,6 +9,6 @@ program prog
open (unit=10, file='PR19451.dat', action="read")
write (10,*,err=20) "Hello World"
call abort()
20 continue
20 close (10, status='delete')
end program
......@@ -4,4 +4,5 @@
program bug2
implicit none
open( 1 , file = "str_500.txt", position = "REWIND" )
close( 1 , status = "DELETE" )
end
......@@ -8,4 +8,5 @@
filename = 'input'
open (2,file=filename)
write (line, '(5a16)') (string(i),i=1,5)
close (2, status='delete')
end
......@@ -20,4 +20,5 @@
if (b(2).ne.5) call abort()
if (a(3000).ne.1234) call abort()
if (b(2048).ne.5678) call abort()
close(2, status='delete')
end
......@@ -35,5 +35,6 @@ program main
backspace 10
read (10) j
if (j /= Z'5566770011223344') call abort
close (10, status="delete")
end program main
......@@ -13,6 +13,7 @@
CALL ABORT
ENDIF
ENDDO
CLOSE(10,STATUS='DELETE')
STOP
10 CONTINUE
! PRINT*,' ERR= RETURN FROM READ OR WRITE'
......
......@@ -3,4 +3,5 @@
OPEN(FILE='CSEQ', UNIT=23)
INQUIRE(FILE='CSEQ',NUMBER=UNIT)
IF (UNIT.NE.23) CALL ABORT
CLOSE(UNIT, STATUS='DELETE')
END
......@@ -16,5 +16,6 @@
! PRINT*,'NEXTREC RETURNED ',J,' EXPECTED 4'
CALL ABORT
ENDIF
CLOSE(UNIT=10,STATUS='DELETE')
END
......@@ -50,4 +50,5 @@
if (x(i,k).ne.y(i,k)) call abort
end do
end do
close(nin, status='delete')
end program d
......@@ -2,4 +2,5 @@
! open with 'REPLACE' creates the file if it does not exist.
PROGRAM iobug
OPEN(UNIT=10,FILE='gfcoutput.txt',status='REPLACE')
CLOSE(10,status='DELETE')
END PROGRAM iobug
......@@ -8,7 +8,7 @@
OPEN(7)
200 FORMAT(I4,///I4)
READ(7,200)I,J
CLOSE(7)
CLOSE(7, STATUS='DELETE')
IF (I.NE.1) CALL ABORT
IF (J.NE.4) CALL ABORT
END
......@@ -9,5 +9,6 @@ program unopened_unit_1
Read(99,*)J
If (J.ne.I) Call abort
End Do
Close(99, Status='Delete')
End program
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment