From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id EF48A1F461 for ; Fri, 6 Sep 2019 22:18:50 +0000 (UTC) Received: from localhost ([::1]:60614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i6MZ7-0007Vx-CC for normalperson@yhbt.net; Fri, 06 Sep 2019 18:18:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51084) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i6MZ3-0007US-Lb for bug-gnulib@gnu.org; Fri, 06 Sep 2019 18:18:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i6MZ2-00062U-Gt for bug-gnulib@gnu.org; Fri, 06 Sep 2019 18:18:45 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::7]:29681) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i6MZ1-0005zN-RY for bug-gnulib@gnu.org; Fri, 06 Sep 2019 18:18:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1567808320; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=FmWYdd4a2Q4WPDUIh4zYH8HK2SNBOhTJdkKPbykOKME=; b=Tty+zblX027R4lGolMeIsTmq/AOYT/ERJDtAVRVqnP1K8RBghIutIiPKRo3HocLnMz vHEYIjtH5ukxWFaaknPNZZsuxvOeINEBZZbg9BD8dQgO7Y/PavTxPHv1WXAZHMXuyu25 ox304ihbRnewwrjxaA8sfZwwwPgnEZFvUzckN1VaaBDgiaj/oVjjsw0HmJYZ73X5r3zI rhgfVhU7zAj87IUeLXfJ6ngRRHzgaVxBs0CGbMrZR1iy+7Sb2BLgUVz8TokMwiVAv/EB pC/mpGLG+FMmn2xAqU7Hmf1SytRfYur1X3RRs7/bDwEYkObf4vQQKyRMDuD7C3T4EgtX B4Kw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOGaf0zJZW" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 44.27.0 DYNA|AUTH) with ESMTPSA id U0b0dfv86MIQzl5 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sat, 7 Sep 2019 00:18:26 +0200 (CEST) From: Bruno Haible To: bug-gnulib@gnu.org, "Oppe, Thomas C ERDC-RDE-ITL-MS Contractor" Subject: Re: test-symlink fails on "lustre" file system Date: Sat, 07 Sep 2019 00:18:26 +0200 Message-ID: <6702696.IWTPMd6jlz@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-159-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <1B6259370D5EFF488340E9D87BD0580A01753B8024@MS-EX2VKS.erdc.dren.mil> References: <1B6259370D5EFF488340E9D87BD0580A01753B7EE5@MS-EX2VKS.erdc.dren.mil> <2356659.LrrkE6Pjhy@omega> <1B6259370D5EFF488340E9D87BD0580A01753B8024@MS-EX2VKS.erdc.dren.mil> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::7 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Assaf Gordon , "37312@debbugs.gnu.org" <37312@debbugs.gnu.org> Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Thomas Oppe wrote: > INSERTED errno=2 > test-symlink.h:71: assertion 'errno == EEXIST || errno == EINVAL' failed > FAIL test-symlink (exit status: 134) Thanks. I'm pushing this patch; it will fix the failure in this place. 2019-09-06 Bruno Haible symlink tests: Avoid test failure on Linux with Lustre file system. Reported by Thomas C Oppe at . * tests/test-symlink.h (test_symlink): Accept errno value ENOENT. diff --git a/tests/test-symlink.h b/tests/test-symlink.h index c556347..8fd55c0 100644 --- a/tests/test-symlink.h +++ b/tests/test-symlink.h @@ -67,7 +67,8 @@ test_symlink (int (*func) (char const *, char const *), bool print) ASSERT (errno == EEXIST); errno = 0; ASSERT (func ("nowhere", BASE "dir/") == -1); - ASSERT (errno == EEXIST || errno == EINVAL); + ASSERT (errno == EEXIST || errno == EINVAL + || errno == ENOENT /* Lustre FS on Linux */); ASSERT (close (creat (BASE "file", 0600)) == 0); errno = 0; ASSERT (func ("nowhere", BASE "file") == -1);