Subject: [PATCH] tests/misc/date.pl: uppercase/lowercase test

From: Jakub Martisko <[email-masked]>
Date: Tue, 26 Apr 2016 09:36:18 +0200

Added some basic test for date lowercase/uppercase output. Depends on 
https://lists.gnu.org/archive/html/bug-gnulib/2016-04/msg00015.html
>From e02e9de17cfa5999a3ef83f6a10c754bb425b274 Mon Sep 17 00:00:00 2001
From: Jakub Martisko <[email-masked]>
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