From: Pádraig Brady
Date: Mon, 25 Mar 2024 18:27:13 +0000 (+0000)
Subject: tests: avoid false failure with partial locale info
X-Git-Tag: v9.5~7
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0f02a8f5b164d72438168bce88328193ab39c34;p=thirdparty%2Fcoreutils.git
tests: avoid false failure with partial locale info
* tests/misc/numfmt.pl: Some systems with the fr_FR.UTF-8
locale installed, do not have a thousands grouping character defined.
In this case we skip the locale tests which depend on a non empty
grouping character.
---
diff --git a/tests/misc/numfmt.pl b/tests/misc/numfmt.pl
index 0905a0cca5..7abcb39ce0 100755
--- a/tests/misc/numfmt.pl
+++ b/tests/misc/numfmt.pl
@@ -1018,6 +1018,11 @@ if ($locale ne 'C')
or die "Can't fork command: $!";
$lg =