X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Ffts%2Findexed_mysql.t;h=0a4f026260b2859bfeaab46234b36451ab47fedc;hb=0ea23112cfa0d82738b0f08d60d90579721b7524;hp=8966f1cd4728e703b1f71fb3660e9e286f2a779c;hpb=6587f6ba7d047ddc1686c080090afe7d53365bd4;p=freeside.git diff --git a/rt/t/fts/indexed_mysql.t b/rt/t/fts/indexed_mysql.t index 8966f1cd4..0a4f02626 100644 --- a/rt/t/fts/indexed_mysql.t +++ b/rt/t/fts/indexed_mysql.t @@ -1,4 +1,3 @@ -#!/usr/bin/perl -w use strict; use warnings; @@ -33,7 +32,7 @@ sub setup_indexing { command => $RT::SbinPath .'/rt-setup-fulltext-index', dba => $ENV{'RT_DBA_USER'}, 'dba-password' => $ENV{'RT_DBA_PASSWORD'}, - url => "sphinx://localhost:$port/rt", + url => "sphinx://127.0.0.1:$port/rt", ); ok(!$exit_code, "setted up index"); diag "output: $output" if $ENV{'TEST_VERBOSE'}; @@ -42,7 +41,7 @@ sub setup_indexing { mkdir $tmp; my $sphinx_conf = $output; - $sphinx_conf =~ s/.*?source rt {/source rt {/ms; + $sphinx_conf =~ s/.*?source rt \{/source rt {/ms; $sphinx_conf =~ s{\Q$RT::VarPath\E/sphinx/}{$tmp/}g; $sphinx{'config'} = File::Spec->catfile( $tmp, 'sphinx.conf' );