~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Eric Day
  • Date: 2010-03-18 18:09:04 UTC
  • mto: This revision was merged to the branch mainline in revision 1409.
  • Revision ID: eday@oddments.org-20100318180904-agyod46o2i57g9as
Added auth_test module for testing auth interface and MySQL password hashing.

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 (empty,localhost,,,,);
 
5
 
 
6
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
 
7
--replace_regex /@'.*?'/@'LOCALHOST'/
 
8
--error ER_ACCESS_DENIED_ERROR
 
9
connect (password_ok,localhost,password_ok,,,);
 
10
 
 
11
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
 
12
connect (password_ok,localhost,password_ok,test,,);
 
13
connection password_ok;
 
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 (no_password_ok,localhost,no_password_ok,test,,);
 
20
 
 
21
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
 
22
connect (no_password_ok,localhost,no_password_ok,,,);
 
23
connection no_password_ok;
 
24
SELECT 1;
 
25
 
 
26
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
 
27
--replace_regex /@'.*?'/@'LOCALHOST'/
 
28
--error ER_ACCESS_DENIED_ERROR
 
29
connect (scramble_ok,localhost,scramble_ok,,,);
 
30
 
 
31
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
 
32
--replace_regex /@'.*?'/@'LOCALHOST'/
 
33
--error ER_ACCESS_DENIED_ERROR
 
34
connect (scramble_ok,localhost,scramble_ok,bad_scramble,,);
 
35
 
 
36
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
 
37
connect (scramble_ok,localhost,scramble_ok,scramble_password,,);
 
38
connection scramble_ok;
 
39
SELECT 1;