From f4f76d4b9a7fa95f3121c9a1e344721af74d1ed3 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Fri, 21 Mar 2025 14:19:20 +0100 Subject: [PATCH] enforce LC_ALL=C for recently added sort calls --- regression-tests/tests/pdnsutil-zone-handling/command | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.2