Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
0abbcf7b
Commit
0abbcf7b
authored
Feb 04, 2013
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mysql-test/suite/plugins/suite.pm to correctly check if Cassandra cluster is running.
parent
f0b6f7fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mysql-test/suite/plugins/suite.pm
mysql-test/suite/plugins/suite.pm
+3
-1
No files found.
mysql-test/suite/plugins/suite.pm
View file @
0abbcf7b
package
My::Suite::
Plugins
;
package
My::Suite::
Plugins
;
use
My::
Platform
;
@ISA
=
qw(My::Suite)
;
@ISA
=
qw(My::Suite)
;
sub
cassandra_running
()
{
sub
cassandra_running
()
{
return
0
if
IS_WINDOW
;
return
0
if
IS_WINDOW
S
;
system
'
echo show version | cqlsh -3 2>/dev/null >/dev/null
';
system
'
echo show version | cqlsh -3 2>/dev/null >/dev/null
';
return
$?
==
0
;
return
$?
==
0
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment