From: Peter van Dijk Date: Fri, 21 Mar 2025 13:19:20 +0000 (+0100) Subject: enforce LC_ALL=C for recently added sort calls X-Git-Tag: dnsdist-2.0.0-alpha2~125^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4f76d4b9a7fa95f3121c9a1e344721af74d1ed3;p=thirdparty%2Fpdns.git enforce LC_ALL=C for recently added sort calls --- diff --git a/regression-tests/tests/pdnsutil-zone-handling/command b/regression-tests/tests/pdnsutil-zone-handling/command index bd1b1545f8..4710c6b4b1 100755 --- a/regression-tests/tests/pdnsutil-zone-handling/command +++ b/regression-tests/tests/pdnsutil-zone-handling/command @@ -19,7 +19,7 @@ $PDNSUTIL --config-dir=. --config-name=$backend \ # Duplicate records should be omitted $PDNSUTIL --config-dir=. --config-name=$backend \ add-record bug.less host2 A 127.0.0.2 127.0.0.2 \ - 2>&1 | sort | grep -v Ueber + 2>&1 | LC_ALL=C sort | grep -v Ueber # Can't add non-CNAME record to a CNAME record $PDNSUTIL --config-dir=. --config-name=$backend \ add-record bug.less cname A 127.0.0.1 \ @@ -31,9 +31,9 @@ $PDNSUTIL --config-dir=. --config-name=$backend \ # Adding existing record should ignore duplicates $PDNSUTIL --config-dir=. --config-name=$backend \ add-record bug.less host2 A 127.0.0.2 127.0.0.3 \ - 2>&1 | sort | grep -v Ueber + 2>&1 | LC_ALL=C sort | grep -v Ueber # Display zone contents for final verification $PDNSUTIL --config-dir=. --config-name=$backend \ list-zone bug.less \ - 2>&1 | sort | grep -v Ueber + 2>&1 | LC_ALL=C sort | grep -v Ueber