mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-20 02:20:04 +08:00
simplify and clean up sandbox/test-env a little, also helps prevent error messages like this when running test-env: [Warning] option 'thread_stack': unsigned value 126976 adjusted to 131072
This commit is contained in:
@@ -73,7 +73,7 @@ our $trunk = $ENV{PERCONA_TOOLKIT_BRANCH};
|
||||
|
||||
our $sandbox_version = '';
|
||||
eval {
|
||||
chomp(my $v = `$trunk/sandbox/test-env version`);
|
||||
chomp(my $v = `$trunk/sandbox/test-env version 2>/dev/null`);
|
||||
$sandbox_version = $v if $v;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user