~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/drizzleadmin.test

  • Committer: Toru Maesaka
  • Date: 2009-04-07 05:59:00 UTC
  • mto: (971.1.16 mordred)
  • mto: This revision was merged to the branch mainline in revision 978.
  • Revision ID: dev@torum.net-20090407055900-rdp6r96jbk9f9pgv
Remove drizzleadmin from the repository and fix the test suite for it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Test "mysqladmin ping"
3
 
#
4
 
 
5
 
--exec $MYSQLADMIN --port=$MASTER_MYPORT  --user=root --password= ping 2>&1
6
 
 
7
 
 
8
 
#
9
 
# Bug#10608 mysqladmin breaks on "database" variable in my.cnf
10
 
#
11
 
 
12
 
# When mysqladmin finds database in .cnf file it shall fail
13
 
--write_file $MYSQLTEST_VARDIR/tmp/bug10608.cnf
14
 
[client]
15
 
database=db1
16
 
EOF
17
 
 
18
 
--replace_regex /.*drizzleadmin.*: unknown/drizzleadmin: unknown/
19
 
--error 7
20
 
--exec $MYSQLADMIN --defaults-file=$MYSQLTEST_VARDIR/tmp/bug10608.cnf --port=$MASTER_MYPORT  --user=root --password= ping 2>&1
21
 
remove_file $MYSQLTEST_VARDIR/tmp/bug10608.cnf;
22
 
 
23
 
# When mysqladmin finds "loose-database" in .cnf file it shall print
24
 
# a warning and continue
25
 
--write_file $MYSQLTEST_VARDIR/tmp/bug10608.cnf
26
 
[client]
27
 
loose-database=db2
28
 
EOF
29
 
 
30
 
--replace_regex /Warning: .*drizzleadmin.*: unknown/Warning: drizzleadmin: unknown/
31
 
--exec $MYSQLADMIN --defaults-file=$MYSQLTEST_VARDIR/tmp/bug10608.cnf --port=$MASTER_MYPORT  --user=root --password= ping 2>&1
32
 
 
33
 
remove_file $MYSQLTEST_VARDIR/tmp/bug10608.cnf;