X-Loop: help-debbugs@HIDDEN Subject: bug#23379: [PATCH] tests/misc/date.pl: uppercase/lowercase test Resent-From: Jakub Martisko <jamartis@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Tue, 26 Apr 2016 15:33:02 +0000 Resent-Message-ID: <handler.23379.B.14616847391737 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 23379 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: patch To: 23379 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.14616847391737 (code B ref -1); Tue, 26 Apr 2016 15:33:02 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1av4yI-0000Rx-Am for submit <at> 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 <jamartis@HIDDEN>) id 1auxXv-0002Dj-62 for submit <at> 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 <jamartis@HIDDEN>) id 1auxXo-0000Ka-TX for submit <at> 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 <jamartis@HIDDEN>) id 1auxXo-0000KS-Qc for submit <at> 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 <jamartis@HIDDEN>) id 1auxXk-0003zg-OZ for bug-coreutils@HIDDEN; Tue, 26 Apr 2016 03:36:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <jamartis@HIDDEN>) id 1auxXh-0000Gf-JI for bug-coreutils@HIDDEN; 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 <jamartis@HIDDEN>) id 1auxXh-0000G6-Cx for bug-coreutils@HIDDEN; 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 <bug-coreutils@HIDDEN>; 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 <bug-coreutils@HIDDEN>; Tue, 26 Apr 2016 03:36:20 -0400 From: Jakub Martisko <jamartis@HIDDEN> Message-ID: <571F1A72.4020305@HIDDEN> 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-Mailman-Approved-At: Tue, 26 Apr 2016 11:32:17 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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 <jamartis@HIDDEN> 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--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Jakub Martisko <jamartis@HIDDEN> Subject: bug#23379: Acknowledgement ([PATCH] tests/misc/date.pl: uppercase/lowercase test) Message-ID: <handler.23379.B.14616847391737.ack <at> debbugs.gnu.org> References: <571F1A72.4020305@HIDDEN> X-Gnu-PR-Message: ack 23379 X-Gnu-PR-Package: coreutils X-Gnu-PR-Keywords: patch Reply-To: 23379 <at> debbugs.gnu.org Date: Tue, 26 Apr 2016 15:33:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-coreutils@HIDDEN If you wish to submit further information on this problem, please send it to 23379 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 23379: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23379 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#23379: [PATCH] tests/misc/date.pl: uppercase/lowercase test Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Tue, 26 Apr 2016 16:05:02 +0000 Resent-Message-ID: <handler.23379.B23379.14616866555469 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 23379 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: patch To: Jakub Martisko <jamartis@HIDDEN>, 23379 <at> debbugs.gnu.org Received: via spool by 23379-submit <at> debbugs.gnu.org id=B23379.14616866555469 (code B ref 23379); Tue, 26 Apr 2016 16:05:02 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1av5TD-0001Q9-LX for submit <at> 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 <P@HIDDEN>) id 1av5TB-0001Px-Kk for 23379 <at> 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) References: <571F1A72.4020305@HIDDEN> From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Message-ID: <571F917B.3070708@HIDDEN> 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@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.