summaryrefslogtreecommitdiff
path: root/lang/gcc-aux/files/diff-fortran-testsuite
blob: 4241318f23fa5376e555df70209a5cff48036f48 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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")