mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-01 18:25:59 +00:00
PT-2149 - Fix tests for pt-mext (#596)
Changed LANG=C to LOCALE=C, because only LANG does not change sort order properly in tr_TR.UTF8 environment
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 => "LANG=C sort -k1,1",
|
||||
post_pipe => "LOCALE=C 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 => "LANG=C sort -k1,1",
|
||||
post_pipe => "LOCALE=C sort -k1,1",
|
||||
),
|
||||
"mext-002 -r"
|
||||
) or diag($test_diff);
|
||||
|
Reference in New Issue
Block a user