pkgsrc-ng/lang/gcc-aux/files/diff-fortran-testsuite
2016-01-21 23:40:00 +01:00

12 lines
473 B
Plaintext

--- gcc/testsuite/gfortran.dg/open_errors.f90.orig
+++ gcc/testsuite/gfortran.dg/open_errors.f90
@@ -22,7 +22,7 @@
if (msg /= "File 'temptestfile' does not exist") call abort()
open(77,file="./", iomsg=msg, iostat=i)
-if (msg /= "'./' is a directory" .and. msg /= "Invalid argument") call abort()
+if (msg /= "'./' is a directory" .and. msg /= "Invalid argument" .and. msg /= "File './' already exists") call abort()
open(77,file=n,status="new")
i = chmod(n, "-w")