mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-15 11:52:15 +02:00
tests: fix false failure with multi-byte thousands separators
* tests/sort/sort-h-thousands-sep.sh: sv_SE defaults to UTF-8 on macOS 18, so avoid the test for multi-byte separators. Fixes https://bugs.gnu.org/77509
This commit is contained in:
@@ -25,6 +25,9 @@ lg="$(LC_ALL="$TEST_LOCALE" locale thousands_sep)"
|
||||
test "$lg" ||
|
||||
skip_ 'The Swedish locale with blank thousands separator is unavailable.'
|
||||
|
||||
test $(printf '%s' "$lg" | wc -c) = 1 ||
|
||||
skip_ 'Multi-byte thousands separators are not supported'
|
||||
|
||||
tee exp1 exp3 > in << _EOF_
|
||||
1 1k 1 M 4${lg}003 1M
|
||||
2k 2M 2 k 4${lg}002 2
|
||||
|
||||
Reference in New Issue
Block a user