projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.0.20 (RT#13852)
[freeside.git]
/
rt
/
t
/
fts
/
indexed_mysql.t
diff --git
a/rt/t/fts/indexed_mysql.t
b/rt/t/fts/indexed_mysql.t
index
8966f1c
..
0a4f026
100644
(file)
--- 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;
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'},
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'};
);
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;
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' );
$sphinx_conf =~ s{\Q$RT::VarPath\E/sphinx/}{$tmp/}g;
$sphinx{'config'} = File::Spec->catfile( $tmp, 'sphinx.conf' );