mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-02-28 02:07:54 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user