t/lib/VersionCheck.t: Add ourselves first to the PATH, not last, to avoid conflicts with installed versions of the toolkit

This commit is contained in:
Brian Fraser
2012-12-21 12:30:54 -03:00
parent 49ddddd4f7
commit 472d850be2

View File

@@ -119,7 +119,7 @@ test_v(
use File::Spec;
{
local $ENV{PATH} = "$ENV{PATH}:" . File::Spec->catfile($ENV{PERCONA_TOOLKIT_BRANCH}, "bin");
local $ENV{PATH} = File::Spec->catfile($ENV{PERCONA_TOOLKIT_BRANCH}, "bin") . ":$ENV{PATH}";
test_v(
name => "bin_version",
response => "pt-archiver;bin_version\n",