From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15469 invoked by alias); 8 Jan 2004 20:12:23 -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 15462 invoked from network); 8 Jan 2004 20:12:23 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 8 Jan 2004 20:12:23 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 97ED22B8F for ; Thu, 8 Jan 2004 15:12:23 -0500 (EST) Message-ID: <3FFDB9A7.4090801@redhat.com> Date: Thu, 08 Jan 2004 20:12: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: gdb-patches@sources.redhat.com Subject: [patch/rfc] KFAIL EBUSY kernel bug Content-Type: multipart/mixed; boundary="------------020708030409040708030805" X-SW-Source: 2004-01/txt/msg00214.txt.bz2 This is a multi-part message in MIME format. --------------020708030409040708030805 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 211 Hello, Ref: http://sources.redhat.com/gdb/bugs/1502 Turns out that the EBUSY error status value I was seeing is a Linux Kernel bug. This KFAIL's that case. baring problems, I'll commit in a few days Andrew --------------020708030409040708030805 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1327 2004-01-08 Andrew Cagney * gdb.base/fileio.exp: For "Renaming a directory to a non-empty directory returns ENOTEMPTY or EEXIST", treat EBUSY as a KFAIL. Index: gdb.base/fileio.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/fileio.exp,v retrieving revision 1.5 diff -u -r1.5 fileio.exp --- gdb.base/fileio.exp 10 Nov 2003 09:12:20 -0000 1.5 +++ gdb.base/fileio.exp 8 Jan 2004 20:09:20 -0000 @@ -216,9 +216,16 @@ "Renaming a file to existing directory returns EISDIR" send_gdb "tbreak 388\n" ; gdb_expect -re "$gdb_prompt $" -gdb_test continue \ - "Continuing\\..*rename 3:.*(ENOTEMPTY|EEXIST).*test_rename \\(\\) at.*$srcfile:388.*" \ -"Renaming a directory to a non-empty directory returns ENOTEMPTY or EEXIST" +set test "Renaming a directory to a non-empty directory returns ENOTEMPTY or EEXIST" +gdb_test_multiple continue "${test}" { + -re "Continuing\\..*rename 3:.*(ENOTEMPTY|EEXIST).*test_rename \\(\\) at.*$srcfile:388.*" { + pass "${test}" + } + -re "Continuing\\..*rename 3:.*EBUSY.*test_rename \\(\\) at.*$srcfile:388.*" { + # On NFS, GNU/Linux <= 2.6/2004-01-08 at least, gets this wrong + kfail gdb/1502 "${test}" + } +} send_gdb "tbreak 393\n" ; gdb_expect -re "$gdb_prompt $" gdb_test continue \ --------------020708030409040708030805--