Blame tests/p_mysql/65_mysqld55_create_db.sh

Christoph Galuschka 72f89d
#!/bin/sh
Christoph Galuschka 72f89d
# Author: Athmane Madjoudj <athmanem@gmail.com>
Christoph Galuschka 72f89d
Christoph Galuschka 72f89d
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
Christoph Galuschka 72f89d
mysql -u root -e 'create database mysql_test' >/dev/null 2>&1
Christoph Galuschka 72f89d
t_CheckExitStatus $?