From 56fa555a834c1536bf8d58c1ac6097f18f0d92b6 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Fri, 13 Oct 2017 22:44:44 -0700 Subject: localedata: Locale and test name are the same. The localedata collation test data is encoded in a particular character set. We rename the test data to match the full locale name with encoding, and adjust the Makefile and sort-test.sh script. This allows us to have a future C.UTF-8 test that is disambiguated from the built-in C locale. Signed-off-by: Carlos O'Donell --- localedata/sort-test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'localedata/sort-test.sh') diff --git a/localedata/sort-test.sh b/localedata/sort-test.sh index 46ed5f0df6..17fb2622f0 100644 --- a/localedata/sort-test.sh +++ b/localedata/sort-test.sh @@ -32,7 +32,8 @@ here=`pwd` status=0 for l in $lang; do here=0 - cns=`echo $l | sed 's/\(.*\)[.][^.]*/\1/'` + # Locale name matches test filename (without in). + cns=$l ${test_program_prefix_before_env} \ ${run_program_env} \ LC_ALL=$l ${test_program_prefix_after_env} \ -- cgit 1.4.1