From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id 1FE4B3858D1E; Thu, 22 Dec 2022 04:37:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1FE4B3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-x332.google.com with SMTP id m7-20020a9d6447000000b0066da0504b5eso432633otl.13; Wed, 21 Dec 2022 20:37:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=BE1s0j96Il5Lx3slvia0tGNmJOah3W8p06T4ZDyLfME=; b=Dfp/Zi3Rpz6VCUgbidcQNeXAjGDDiMoJsdSl2gN5bHA4l1NHoVoW3SX5qivfDZqpTS YKYr1CPzlAu5xrP+xEcRCuZSBykolCnNmFWe13xUBHxamL6VD+DAMoniwtDTv+V1jGPW ABIFjbIdDGeq6kw5y1EKDeOFsq/5bRQCQl4NE0sBKyzptcDDGZkhJP8OaCHVwME9HCud YT0H+5PQt/OUoKILTZU/6K8t6dAc8r9e1QhSlHoYnxrkc4Nvl/hONB09cMz5Cvys0hjO 4HYyv/5qGGxaivF7s3Vnj6Gn4dJY3a2bhiERMawBPpYQgmY/o/hrvxMRRuhJwpq+/jf8 d4DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BE1s0j96Il5Lx3slvia0tGNmJOah3W8p06T4ZDyLfME=; b=uxpET0dcNEPd6Z8CbstIR45WH1JzG+PZ45qZjrwDXfPqI0fksAwg4WRw0F8pcrJcF6 1rlS+Ag/J1Aii5iDvXmusa+erxBEU6SeE8D8DIlkPZHB1OMrZSAp1L7c5Aubk4ktzHYt s5otymWw6aqxCMnteOEDNpnQ+5RWHkI0F4tgVZutt/+IGr+PaeFk9zRUAB+/7pWpqUfb TADPuoFTOuryIA8DOxJAdtZ4jZ3AcJDy1zG5zyEnN1jgtakeAYYAwGNf+NPscuOTcGdG pImME10pX+AFM8i0DmuVrvg7sOiy61QwoBVTBGXc2Gx9/0NHPuenqSycISo0zr3iFsjs YPHw== X-Gm-Message-State: AFqh2koWXrUsV9GMHV4tBHCTZlDfGTqJwE1UGhAtkNeQxIZbc24YJSRw E4lamM7vTl+bhnpDah10PAg= X-Google-Smtp-Source: AMrXdXvFbUBwtYywaDFBdXJaDPKmBx+bpEINJbyAbFWlEBdAvDvHrcVujVKYYXi3ptXrlBOq83yYyw== X-Received: by 2002:a9d:6a5:0:b0:661:dfeb:ee91 with SMTP id 34-20020a9d06a5000000b00661dfebee91mr2072990otx.11.1671683857447; Wed, 21 Dec 2022 20:37:37 -0800 (PST) Received: from [127.0.0.1] ([70.133.144.146]) by smtp.gmail.com with ESMTPSA id l24-20020a9d6a98000000b006705e35c4e2sm7625024otq.35.2022.12.21.20.37.36 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Dec 2022 20:37:36 -0800 (PST) Message-ID: <63A3DF0E.1050902@gmail.com> Date: Wed, 21 Dec 2022 22:37:34 -0600 From: Jacob Bachmeyer Reply-To: jcb62281@gmail.com User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: NightStrike CC: Jacek Caban , fortran@gcc.gnu.org, Eric Pouech , "gcc@gcc.gnu.org" , dejagnu@gnu.org Subject: Re: testsuite under wine References: <639FE88D.7090408@gmail.com> <7cb45ab2-cc6e-c502-5592-51ffabcbc6f8@codeweavers.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: NightStrike wrote: > [...] > Second, the problems with extra \r's still remain, but I think we've > generally come to think that that part isn't Wine and is instead > either the testsuite or deja. So I'll keep those replies to Jacob's > previous message. > Most likely, it is a combination of the MinGW libc (which emits "\r\n" for end-of-line in accordance with Windows convention) and the kernel terminal driver (which passes "\r" and translates "\n" to "\r\n" in accordance with POSIX convention). Wine, short of trying to translate "\r\n" back to "\n" in accordance with POSIX conventions (and likely making an even bigger mess---does Wine know if a handle is supposed to be text or binary?) cannot really fix this, so the testsuite needs to handle non-POSIX-standard line endings. (The Rust tests probably have an outright bug if the newlines are being duplicated.) -- Jacob