From unknown Tue Jun 17 01:27:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#23379 <23379@debbugs.gnu.org> To: bug#23379 <23379@debbugs.gnu.org> Subject: Status: [PATCH] tests/misc/date.pl: uppercase/lowercase test Reply-To: bug#23379 <23379@debbugs.gnu.org> Date: Tue, 17 Jun 2025 08:27:37 +0000 retitle 23379 [PATCH] tests/misc/date.pl: uppercase/lowercase test reassign 23379 coreutils submitter 23379 Jakub Martisko severity 23379 normal tag 23379 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 26 11:32:18 2016 Received: (at submit) by debbugs.gnu.org; 26 Apr 2016 15:32:19 +0000 Received: from localhost ([127.0.0.1]:48929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1av4yI-0000Rx-Am for submit@debbugs.gnu.org; Tue, 26 Apr 2016 11:32:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34935) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auxXv-0002Dj-62 for submit@debbugs.gnu.org; Tue, 26 Apr 2016 03:36:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auxXo-0000Ka-TX for submit@debbugs.gnu.org; Tue, 26 Apr 2016 03:36:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:32770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auxXo-0000KS-Qc for submit@debbugs.gnu.org; Tue, 26 Apr 2016 03:36:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auxXk-0003zg-OZ for bug-coreutils@gnu.org; Tue, 26 Apr 2016 03:36:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auxXh-0000Gf-JI for bug-coreutils@gnu.org; Tue, 26 Apr 2016 03:36:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auxXh-0000G6-Cx for bug-coreutils@gnu.org; Tue, 26 Apr 2016 03:36:21 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8E8557F342 for ; Tue, 26 Apr 2016 07:36:20 +0000 (UTC) Received: from unused-4-107.brq.redhat.com (unused-4-142.brq.redhat.com [10.34.4.142]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u3Q7aIi6015062 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 26 Apr 2016 03:36:20 -0400 To: bug-coreutils@gnu.org From: Jakub Martisko Subject: [PATCH] tests/misc/date.pl: uppercase/lowercase test Message-ID: <571F1A72.4020305@redhat.com> Date: Tue, 26 Apr 2016 09:36:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060705070307040002080103" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 26 Apr 2016 11:32:17 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) This is a multi-part message in MIME format. --------------060705070307040002080103 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Added some basic test for date lowercase/uppercase output. Depends on https://lists.gnu.org/archive/html/bug-gnulib/2016-04/msg00015.html --------------060705070307040002080103 Content-Type: text/x-patch; name="date.pl.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="date.pl.patch" >From e02e9de17cfa5999a3ef83f6a10c754bb425b274 Mon Sep 17 00:00:00 2001 From: Jakub Martisko Date: Tue, 12 Apr 2016 14:54:42 +0200 Subject: [PATCH] test: Add lowercase/uppercase flag tests for date *tests/misc/date.pl: Added tests for lowercase output and uppercase output. depends on: https://lists.gnu.org/archive/html/bug-gnulib/2016-04/msg00015.html --- tests/misc/date.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/misc/date.pl b/tests/misc/date.pl index 3454dcc..faf16a1 100755 --- a/tests/misc/date.pl +++ b/tests/misc/date.pl @@ -47,6 +47,8 @@ my @Tests = # test-name, [option, option, ...] {OUT=>"expected-output"} # ['1', "-d '$d1' +'%% %a %A %b %B'", {OUT=>"% Sun Sunday Jan January"}], + ['1U', "-d '$d1' +'%% %\#a %\#A %\#b %\#B'", {OUT=>"% SUN SUNDAY JAN JANUARY"}], + ['1L', "-d '$d1' +'%% %\#^a %\#^A %\#^b %\#^B'", {OUT=>"% sun sunday jan january"}], # [Actually, skip it on *all* systems. -- this Perl code is run at # distribution-build-time, not at configure/test time. ] -- 2.5.0 --------------060705070307040002080103-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 26 12:04:15 2016 Received: (at 23379) by debbugs.gnu.org; 26 Apr 2016 16:04:15 +0000 Received: from localhost ([127.0.0.1]:48962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1av5TD-0001Q9-LX for submit@debbugs.gnu.org; Tue, 26 Apr 2016 12:04:15 -0400 Received: from mail.magicbluesmoke.com ([82.195.144.49]:35012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1av5TB-0001Px-Kk for 23379@debbugs.gnu.org; Tue, 26 Apr 2016 12:04:14 -0400 Received: from [192.168.1.80] (unknown [109.79.98.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 7BFFD219; Tue, 26 Apr 2016 17:04:12 +0100 (IST) Subject: Re: bug#23379: [PATCH] tests/misc/date.pl: uppercase/lowercase test To: Jakub Martisko , 23379@debbugs.gnu.org References: <571F1A72.4020305@redhat.com> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <571F917B.3070708@draigBrady.com> Date: Tue, 26 Apr 2016 17:04:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <571F1A72.4020305@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 23379 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 26/04/16 08:36, Jakub Martisko wrote: > Added some basic test for date lowercase/uppercase output. Depends on > https://lists.gnu.org/archive/html/bug-gnulib/2016-04/msg00015.html Thanks I responded on that thread. Re the patch here, we'd need doc updates for date.c and coreutils.texi But all this would be gated on acceptance for glibc's strtime implementation, as it would be best to avoid divergence on its interface. thanks, Pádraig