From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17189 invoked by alias); 7 Jan 2004 16:04:13 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17148 invoked from network); 7 Jan 2004 16:04:12 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 7 Jan 2004 16:04:12 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 6EB722B8F; Wed, 7 Jan 2004 11:04:13 -0500 (EST) Message-ID: <3FFC2DFD.6030205@gnu.org> Date: Wed, 07 Jan 2004 16:04:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc/testsuite] Fix read-only fileio test on GNU/Linux References: <3FF9C291.1080104@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-01/txt/msg00164.txt.bz2 > Hello, > > I think this deserves a "how did this ever work" award :-) > > The file was being created writeable (the S_IWUSR flag passed to open()) so little wonder GNU/Linux allowed an open-write (causing the test to fail) and who knows how/who this worked on BSD and remote systems. > > Tested on BSD and GNU/Linux. Baring comment I'll commit in a day or so. Committed. This leaves just: FAIL: gdb.base/fileio.exp: Renaming a directory to a non-empty directory returns ENOTEMPTY or EEXIST I'll follow that up shortly. Andrew