]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: numfmt: fix test related to lower case 'k' SI unit
authorPádraig Brady <P@draigBrady.com>
Wed, 27 Dec 2023 23:37:17 +0000 (23:37 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 29 Dec 2023 18:04:36 +0000 (18:04 +0000)
* tests/misc/numfmt.pl: Following on from v9.4-86-g615167cc4,
adjust this test accordingly.  This test was being skipped
on some systems, and so only noticed now.
Reported by Jim Meyering.

tests/misc/numfmt.pl

index b54f827c3943e9eb3dc11c216541f51a31c7703a..03a94d10193b19bca9f470edd68a07d4501f9af8 100755 (executable)
@@ -1039,7 +1039,7 @@ my @Locale_Tests =
      ['lcl-stdtod-1', '--from=si 12,2K', {OUT=>"12200"},
              {ENV=>"LC_ALL=$locale"}],
 
-     ['lcl-dbl-to-human-1', '--to=si 1100', {OUT=>"1,1K"},
+     ['lcl-dbl-to-human-1', '--to=si 1100', {OUT=>"1,1k"},
              {ENV=>"LC_ALL=$locale"}],
 
      # Format + Grouping