]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(subfmt-up1): Test the combination of the
authorJim Meyering <jim@meyering.net>
Fri, 16 Sep 2005 06:54:19 +0000 (06:54 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 16 Sep 2005 06:54:19 +0000 (06:54 +0000)
to-upper-case modifier (^) and a conversion specifier that
expands to a string containing lower case characters.

tests/misc/date

index 0b8a3d77ecbbcdfa9a42b76712259603addfbc90..961d57c55c0ce51d9d884e6194fb39f16ddbb1f4 100755 (executable)
@@ -239,6 +239,11 @@ my @Tests =
 
      ['fill-1', '-d 1999-12-08 +%_3d', {OUT=>'  8'}],
      ['fill-2', '-d 1999-12-08 +%03d', {OUT=>'008'}],
+
+     # Test the combination of the to-upper-case modifier (^) and a conversion
+     # specifier that expands to a string containing lower case characters.
+     ['subfmt-up1', '-d "1999-12-08 7:30" +%^c',
+      {OUT=>'WED DEC  8 07:30:00 1999'}],
     );
 
 # Repeat the cross-dst test, using Jan 1, 2005 and every interval from 1..364.