From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65257 invoked by alias); 1 Sep 2015 18:16:31 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 65237 invoked by uid 89); 1 Sep 2015 18:16:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: troutmask.apl.washington.edu Received: from troutmask.apl.washington.edu (HELO troutmask.apl.washington.edu) (128.95.76.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 01 Sep 2015 18:16:30 +0000 Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id t81IGSe0055495 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 1 Sep 2015 11:16:28 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id t81IGR8n055494; Tue, 1 Sep 2015 11:16:27 -0700 (PDT) (envelope-from sgk) Date: Tue, 01 Sep 2015 18:16:00 -0000 From: Steve Kargl To: fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [Fortran, committed] XFAIL read_dir.f90 on FreeBSD Message-ID: <20150901181627.GA55465@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-09/txt/msg00094.txt.bz2 I've committed the patch that follows my .sig. 2015-09-01 Steven G. Kargl * gfortran.dg/read_dir.f90: XFAIL this testcase on FreeBSD. Clean-up a created directory if testcase fails. I suspect that this testcase will fail on all *BSD OS's. -- Steve Index: gfortran.dg/read_dir.f90 =================================================================== --- gfortran.dg/read_dir.f90 (revision 227380) +++ gfortran.dg/read_dir.f90 (working copy) @@ -1,4 +1,4 @@ -! { dg-do run } +! { dg-do run { xfail *-*-freebsd* } } ! PR67367 program bug implicit none @@ -9,6 +9,11 @@ program bug open(unit=10, file='junko.dir',iostat=ios,action='read',access='stream') if (ios.ne.0) call abort read(10, iostat=ios) c - if (ios.ne.21) call abort + if (ios.ne.21) then + close(10) + call system('rmdir junko.dir') + call abort + end if + close(10) call system('rmdir junko.dir') end program bug