Blame tests/p_mysql/15_mysqld_create_db.sh
|
Karanbir Singh |
0b5bb2 |
#!/bin/sh
|
|
Karanbir Singh |
0b5bb2 |
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
|
Karanbir Singh |
0b5bb2 |
|
|
Karanbir Singh |
2dd0be |
t_Log "Running $0 - MySQL create database test"
|
|
Christoph Galuschka |
110e92 |
|
|
Christoph Galuschka |
110e92 |
if [ $centos_ver -gt 6 ]
|
|
Christoph Galuschka |
110e92 |
then
|
|
Christoph Galuschka |
110e92 |
t_Log 'mysql is only supported on C5 and C6, skipping'
|
|
Christoph Galuschka |
110e92 |
t_CheckExitStatus 0
|
|
Christoph Galuschka |
110e92 |
exit 0
|
|
Christoph Galuschka |
110e92 |
fi
|
|
Christoph Galuschka |
110e92 |
|
|
Steve Barnes |
464547 |
mysql -u root -e 'create database mysql_test' >/dev/null 2>&1
|
|
Steve Barnes |
464547 |
t_CheckExitStatus $?
|