From fb6fd80bd2317b622387abebf6dd39f50aaa73c4 Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Sun, 12 May 2019 18:14:58 +0200 Subject: Force sort locale in check-supported-tools-tables Otherwise it reports that the list isn't sorted properly if user's LANG is different. --- test/script/check-supported-tools-tables | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/script/check-supported-tools-tables') diff --git a/test/script/check-supported-tools-tables b/test/script/check-supported-tools-tables index beb580d7..65270029 100755 --- a/test/script/check-supported-tools-tables +++ b/test/script/check-supported-tools-tables @@ -42,7 +42,7 @@ done < <( exit_code=0 # Sort the tools ignoring case, and complain when things are out of order. -sort -f -k1,2 "$doc_file" -o "$doc_sorted_file" +LC_ALL=en_US.UTF-8 sort -f -k1,2 "$doc_file" -o "$doc_sorted_file" diff -U0 "$doc_sorted_file" "$doc_file" || exit_code=$? -- cgit v1.2.3