Commit 1dfb1e7c authored by Sergei Golubchik's avatar Sergei Golubchik

use mtr_verbose() for debug output in suite.pm files

parent f8a9d133
...@@ -29,9 +29,8 @@ return "No SphinxSE" unless $ENV{HA_SPHINX_SO} or ...@@ -29,9 +29,8 @@ return "No SphinxSE" unless $ENV{HA_SPHINX_SO} or
{ {
local $_ = `"$exe_sphinx_searchd" --help`; local $_ = `"$exe_sphinx_searchd" --help`;
print "tool: $exe_sphinx_searchd\n"; mtr_verbose("tool: $exe_sphinx_searchd\n$_");
my $ver = sprintf "%04d.%04d.%04d", (/([0-9]+)\.([0-9]+)\.([0-9]+)/); my $ver = sprintf "%04d.%04d.%04d", (/([0-9]+)\.([0-9]+)\.([0-9]+)/);
print $ver;
if ($ver eq "0000.0000.0000") if ($ver eq "0000.0000.0000")
{ {
$ver = sprintf "%04d.%04d", (/([0-9]+)\.([0-9]+)-(alpha|beta|gamma|RC)/); $ver = sprintf "%04d.%04d", (/([0-9]+)\.([0-9]+)-(alpha|beta|gamma|RC)/);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment