GNU bug report logs -
#23379
[PATCH] tests/misc/date.pl: uppercase/lowercase test
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Added some basic test for date lowercase/uppercase output. Depends on
https://lists.gnu.org/archive/html/bug-gnulib/2016-04/msg00015.html
[date.pl.patch (text/x-patch, inline)]
From e02e9de17cfa5999a3ef83f6a10c754bb425b274 Mon Sep 17 00:00:00 2001
From: Jakub Martisko <jamartis <at> unused-4-107.brq.redhat.com>
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
This bug report was last modified 9 years and 52 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.