From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by sourceware.org (Postfix) with ESMTPS id 87B0A3846905 for ; Mon, 20 Feb 2023 10:53:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 87B0A3846905 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-pl1-x636.google.com with SMTP id c1so1137999plg.4 for ; Mon, 20 Feb 2023 02:53:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=alO3MONVgM4iKjJ8ELiR/i6I025DZh/nysQ78tYGCbo=; b=gXa9S0lvHElYAVa5+gvzDATIJkvoR/Hps9i0NXl38vP1iUEvsqqjWnId6Za33WxM+e hpTM+AvnvDjCZ2nmUyrCnfMWkFQalFiDrWfuU5/mIFvWVJBWk6cEvKYIppuDkFCv0ig8 VXNn9Y0Et0tDkjQ37xg1NdEfj4VRBjBkpnJIO1dwhDVIgfDVTrO+SDx7tUoN0+zStVgf oVDvoEBB0CmW7xRIjyfsdGjfKYX65VqBQ6f474pdcLNpaikhkbx04woxOiq4E71jqnGk i4+3f0x+YygYA8BF4s4cKCrH09RWebQhaWGOu6pTAwQ3rVOu4Dap7rbLINCuVvdnMvUQ 7RkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=alO3MONVgM4iKjJ8ELiR/i6I025DZh/nysQ78tYGCbo=; b=8CyvtkjgEJsm8ZkuGo1NEQaJ6HHTGymF3Iuu5rqIkL/Eu9F1WUqKJYn4+zBZYEKMyH yd7Xz57FcqwY+E/WJPXT11wL6nLQPISRjTwwd4gobzbvHOAPLh2GlljB6DqSa9Z0b/1U cXCXkNmIznKonxtzEsu9PVNefaq9I2N2BNVkD2YNoNuGY8swouvWwYPh+xf4RQb/Hj0i H0u9NqWEtpgFsRwYmvGg+CDvkJDN/0D1prXUYuaUCnca16ryKY0IofXjowcK1izIfWV+ frjrzYuCuK8tMqKsQUABVw9vZn2TVwJZD52rBPuhb6jb84Z8GV8N34O5SuBvKnD6G7ZH VNJQ== X-Gm-Message-State: AO0yUKWdtplf04ZzHy6x52fg/IZHfJG7c7qDKleEBHlj5iij8RzhUou5 D8ZfgEpmD4ZOMcO2TbrXdvPZ8BRZgCU= X-Google-Smtp-Source: AK7set/wF5BC9TYhu20dnunlJv5uRFJYw4IqeklVWfpCajKTt57+HQcjB3Wc5RNqCA8naQHKvM1wgQ== X-Received: by 2002:a17:902:d488:b0:19c:1433:5fae with SMTP id c8-20020a170902d48800b0019c14335faemr2687529plg.2.1676890379447; Mon, 20 Feb 2023 02:52:59 -0800 (PST) Received: from squeak.grove.modra.org ([2406:3400:51d:8cc0:dcfd:f62d:8c9e:f515]) by smtp.gmail.com with ESMTPSA id f17-20020a170902ab9100b00199524dc67bsm948321plr.163.2023.02.20.02.52.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 02:52:59 -0800 (PST) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id BED441140603; Mon, 20 Feb 2023 21:22:56 +1030 (ACDT) Date: Mon, 20 Feb 2023 21:22:56 +1030 From: Alan Modra To: =?iso-8859-1?Q?Cl=E9ment?= Chigot Cc: binutils@sourceware.org Subject: Re: [PATCH 1/4] gas/testsuite: adjust a test for case insensitive file systems Message-ID: References: <20230220082224.415968-1-chigot@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230220082224.415968-1-chigot@adacore.com> X-Spam-Status: No, score=-3034.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,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: On Mon, Feb 20, 2023 at 09:22:21AM +0100, Clément Chigot via Binutils wrote: > When dealing with case insensitive file systems, ".file line.s" and > ".file Line.s" are identical and thus gas won't change the current > input file. > However, in line.l test, it's expecting to trigger an input file switch. > As the second filename doesn't matter in it, change it to fit for those > file systems. I'm leaving this one to Jan to approve, because I suspect the capital may have been a typo. > gas/ChangeLog: > > * testsuite/gas/elf/line.l: Change Line.s to new_line.s. > * testsuite/gas/elf/line.s: Adjust output. > --- > gas/testsuite/gas/elf/line.l | 12 ++++++------ > gas/testsuite/gas/elf/line.s | 2 +- > 2 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/gas/testsuite/gas/elf/line.l b/gas/testsuite/gas/elf/line.l > index 6fde80b7a85..f8511298bc1 100644 > --- a/gas/testsuite/gas/elf/line.l > +++ b/gas/testsuite/gas/elf/line.l > @@ -15,17 +15,17 @@ line\.s:[0-9]*23: Info: .* > line\.s:4: Warning: m1/2: XYZ > line\.s:[0-9]*23: Info: .* > line\.s:[0-9]*24: Warning: \.warning .* > -Line\.s:10: Warning: m2/1: 987 > +new_line\.s:10: Warning: m2/1: 987 > line\.s:[0-9]*26: Info: .* > -Line\.s:12: Warning: m2/2: 987 > +new_line\.s:12: Warning: m2/2: 987 > line\.s:[0-9]*26: Info: .* > -Line\.s:10: Warning: m2/1: zyx > +new_line\.s:10: Warning: m2/1: zyx > line\.s:[0-9]*27: Info: .* > -Line\.s:12: Warning: m2/2: zyx > +new_line\.s:12: Warning: m2/2: zyx > line\.s:[0-9]*27: Info: .* > -Line\.s:10: Warning: m2/1: CBA > +new_line\.s:10: Warning: m2/1: CBA > line\.s:[0-9]*28: Info: .* > -Line\.s:12: Warning: m2/2: CBA > +new_line\.s:12: Warning: m2/2: CBA > line\.s:[0-9]*28: Info: .* > line\.s:[0-9]*29: Warning: \.warning .* > line\.s:[0-9]*35: Warning: irp/1: 123 > diff --git a/gas/testsuite/gas/elf/line.s b/gas/testsuite/gas/elf/line.s > index 2190cc3c225..e3a97887d96 100644 > --- a/gas/testsuite/gas/elf/line.s > +++ b/gas/testsuite/gas/elf/line.s > @@ -5,7 +5,7 @@ > .endm > > .macro m2 args:vararg > - .file "Line.s" > + .file "new_line.s" > .line 9 > .warning "m2/1: \args" > .nop > -- > 2.25.1 -- Alan Modra Australia Development Lab, IBM