~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

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,,);
 
20
 
 
21
# Test that the command line client processes direct passwords properly
 
22
--exec $TOP_BUILDDIR/client/drizzle --host=localhost --port=$MASTER_MYPORT -e "SELECT 1" --user=auth_file_password --password=test_password 2>&1