mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-18 16:40:23 +00:00
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:
@@ -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",
|
||||
|
Reference in New Issue
Block a user