From patchwork Tue Feb 24 07:22:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 442815 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 746F3140157 for ; Tue, 24 Feb 2015 18:22:52 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=QjOLyJq/W3UzEGOsaoltD45orspmUeMmSHHlDrtYRgqgPl B1nc25C6w7X8/cmIEIDvdHI3YZJ2XcYfUPfbVZ6Fdi/4J/oiJWNPiiSHDKIFDGiO 3F1xC5oFXKTuAHi0rgJ5c3dRBFZbxqHquad5ErhAQ55dSo2Z/L89SQG+oi+dA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=ES602Ot2PkY2VqPbCu+Bo+PiYn4=; b=yGudPhuwsL0Fu3pPWPaI vjWBVQ0e3k/NJRIrBdkWYR+1mNhPeLvt5PX+TM2XqiNo1P5nu23UPtl5gkmzJ/j3 JuSl1n4YE60sISWqxMXD7Fpjq0oa6Ol7wEzqF/93Cv+SdbUvqqnpXV1KCMLq8mc0 1yU0bCVcLzzUDFwOrztRv88= Received: (qmail 53500 invoked by alias); 24 Feb 2015 07:22:44 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 53477 invoked by uid 89); 24 Feb 2015 07:22:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 24 Feb 2015 07:22:43 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1YQ9pH-0007Nk-KW from Tom_deVries@mentor.com ; Mon, 23 Feb 2015 23:22:39 -0800 Received: from [127.0.0.1] (137.202.0.76) by SVR-IES-FEM-02.mgc.mentorg.com (137.202.0.106) with Microsoft SMTP Server id 14.3.224.2; Tue, 24 Feb 2015 07:22:38 +0000 Message-ID: <54EC26BB.4030409@mentor.com> Date: Tue, 24 Feb 2015 08:22:35 +0100 From: Tom de Vries User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: GCC Patches , gcc fortran ml Subject: [Committed] Add missing cleanup in gfortran.dg/readwrite_unf_direct_eor_1.f90 Hi, I found a fort.10 file in the test directories, and tracked it back to readwrite_unf_direct_eor_1.f90, which creates fort.10 but doesn't remove it. This patch fixes that. Tested by running the test-case and checking that fort.10 doesn't appear anymore in the test directory. Committed as obvious. Thanks, - Tom 2015-02-24 Tom de Vries * gfortran.dg/readwrite_unf_direct_eor_1.f90: Add missing close. --- gcc/testsuite/gfortran.dg/readwrite_unf_direct_eor_1.f90 | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gfortran.dg/readwrite_unf_direct_eor_1.f90 b/gcc/testsuite/gfortran.dg/readwrite_unf_direct_eor_1.f90 index 2c19eba..461846a 100644 --- a/gcc/testsuite/gfortran.dg/readwrite_unf_direct_eor_1.f90 +++ b/gcc/testsuite/gfortran.dg/readwrite_unf_direct_eor_1.f90 @@ -10,4 +10,5 @@ read (10, rec=1, err=20) i, j call abort() 20 continue + close (10, status="delete") end -- 1.9.1