~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

Viewing changes to plugin/auth_file/tests/t/basic.test

  • Committer: Eric Day
  • Date: 2010-04-02 22:48:56 UTC
  • mto: (1283.2.168 bad-staging)
  • mto: This revision was merged to the branch mainline in revision 1424.
  • Revision ID: eday@oddments.org-20100402224856-iu1br0918udflik0
Added auth_file plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
 
2
--replace_regex /@'.*?'/@'LOCALHOST'/
 
3
--error ER_ACCESS_DENIED_ERROR
 
4
connect (bad_user,localhost,bad_user,,,);
 
5
 
 
6
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
 
7
connect (auth_file,localhost,auth_file,,,);
 
8
connection auth_file;
 
9
SELECT 1;
 
10
 
 
11
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
 
12
connect (auth_file_password,localhost,auth_file_password,test_password,,);
 
13
connection auth_file_password;
 
14
SELECT 1;
 
15
 
 
16
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
 
17
--replace_regex /@'.*?'/@'LOCALHOST'/
 
18
--error ER_ACCESS_DENIED_ERROR
 
19
connect (bad_user_password,localhost,auth_file_password,bad_password,,);