PT-2489 - t/pt-mext/pt-mext.t fails on Debian-based platforms

- Changed locale C to en_US.utf8. Added LANG=en_US.utf8 to keep sort
  working on our AMIs and kept LOCALE=en_US.utf8 to keep fix for PT-2149
This commit is contained in:
Sveta Smirnova
2025-11-20 23:12:15 +03:00
parent 06b08ff9bb
commit 032eac7dc0

View File

@@ -26,7 +26,7 @@ ok(
no_diff(
"$cmd -- cat $sample/mext-001.txt",
"t/pt-mext/samples/mext-001-result.txt",
post_pipe => "LOCALE=C sort -k1,1",
post_pipe => "LOCALE=en_US.utf8 LANG=en_US.UTF-8 sort -k1,1",
),
"mext-001"
) or diag($test_diff);
@@ -35,7 +35,7 @@ ok(
no_diff(
"$cmd -r -- cat $sample/mext-002.txt",
"t/pt-mext/samples/mext-002-result.txt",
post_pipe => "LOCALE=C sort -k1,1",
post_pipe => "LOCALE=en_US.utf8 LANG=en_US.UTF-8 sort -k1,1",
),
"mext-002 -r"
) or diag($test_diff);