From 61f92b326da0efea1cf4d3c263ef0e0b7cacfc25 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 5 Jul 2018 00:15:44 +0100 Subject: test suite: Always pass LC_COLLATE=C to sort(1). Specifically, by replacing every invocation of sort with the new function t-sort. The one case where we already took care of this, we change LC_ALL to LC_COLLATE, which should be sufficient. Closes:#903006. Signed-off-by: Ian Jackson --- tests/tartree-edit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/tartree-edit') diff --git a/tests/tartree-edit b/tests/tartree-edit index 40bd6e9..78f0e4f 100755 --- a/tests/tartree-edit +++ b/tests/tartree-edit @@ -17,7 +17,7 @@ gitfetchdiff_list () { git for-each-ref --format '%(refname) %(objectname)' \ refs/remotes/"$1" \ | sed 's/^refs\/remotes\/[^\/]*\///' \ - | sort >"$play/$2" + | t-sort >"$play/$2" } gitfetchdiff () { -- cgit v1.2.3