1
# Embedded server doesn't support external clients
2
--source include/not_embedded.inc
4
# Test "mysqladmin ping"
7
--exec $MYSQLADMIN --no-defaults -S $MASTER_MYSOCK -P $MASTER_MYPORT -u root --password= ping 2>&1
11
# Bug#10608 mysqladmin breaks on "database" variable in my.cnf
14
# When mysqladmin finds database in .cnf file it shall fail
15
--write_file $MYSQLTEST_VARDIR/tmp/bug10608.cnf
20
--replace_regex /.*mysqladmin.*: unknown/mysqladmin: unknown/
22
--exec $MYSQLADMIN --defaults-file=$MYSQLTEST_VARDIR/tmp/bug10608.cnf -S $MASTER_MYSOCK -P $MASTER_MYPORT -u root --password= ping 2>&1
23
remove_file $MYSQLTEST_VARDIR/tmp/bug10608.cnf;
25
# When mysqladmin finds "loose-database" in .cnf file it shall print
26
# a warning and continue
27
--write_file $MYSQLTEST_VARDIR/tmp/bug10608.cnf
32
--replace_regex /Warning: .*mysqladmin.*: unknown/Warning: mysqladmin: unknown/
33
--exec $MYSQLADMIN --defaults-file=$MYSQLTEST_VARDIR/tmp/bug10608.cnf -S $MASTER_MYSOCK -P $MASTER_MYPORT -u root --password= ping 2>&1
35
remove_file $MYSQLTEST_VARDIR/tmp/bug10608.cnf;