From d5cf5603bbafa48725f9e4b962d6714c3a9125b4 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 09:46:26 -1000 Subject: Drop the locale the test library already sets test-lib exports LC_ALL=C for every test, so the two sorted checks said it again for nothing. --- tests/t0004-docs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/t0004-docs.sh') diff --git a/tests/t0004-docs.sh b/tests/t0004-docs.sh index db6083f..1df71bc 100755 --- a/tests/t0004-docs.sh +++ b/tests/t0004-docs.sh @@ -47,13 +47,13 @@ test_expect_success 'the reference config scans after every global setting' ' test_expect_success 'the manual lists its global settings in order' ' sed -n "/^Global settings$/,/^Repository settings$/p" "$ROOT/MANUAL.txt" | sed -n "s/^\([a-z][a-zA-Z0-9.<>-]*\)::$/\1/p" >global-order && - LC_ALL=C sort -c global-order + sort -c global-order ' test_expect_success 'the manual lists its repository settings in order' ' sed -n "/^Repository settings$/,/^Repository-specific cgitrc file$/p" "$ROOT/MANUAL.txt" | sed -n "s/^\(repo\.[a-zA-Z0-9.<>-]*\)::$/\1/p" >repo-order && - LC_ALL=C sort -c repo-order + sort -c repo-order ' test_done -- cgit 2.12.1