OSDN Git Service

PR fortran/31616
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Apr 2007 07:52:24 +0000 (07:52 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Apr 2007 07:52:24 +0000 (07:52 +0000)
* gfortran.dg/open_errors.f90: Allow a different error message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124059 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/open_errors.f90

index 0675922..5561dfd 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       PR fortran/31616
+       * gfortran.dg/open_errors.f90: Allow a different error message.
+
 2007-04-23  Uros Bizjak  <ubizjak@gmail.com>
 
        * lib/target-supports.exp (check_effective_target_vect_pack_trunc):
index 009da07..8e719d1 100644 (file)
@@ -15,7 +15,7 @@ open(77,file=n,status="old", iomsg=msg, iostat=i)
 if (msg /= "File 'temptestfile' does not exist") call abort()
 
 open(77,file="./", iomsg=msg, iostat=i)
-if (msg /= "'./' is a directory") call abort()
+if (msg /= "'./' is a directory" .and. msg /= "Invalid argument") call abort()
 
 open(77,file=n,status="new")
 i = chmod(n, "-w")