~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2010-06-19 15:32:47 UTC
  • mto: (1627.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1628.
  • Revision ID: mordred@inaugust.com-20100619153247-huqnbhlfz6al1mxm
Removed code that was blanking out the password in the argv string, since it was no longer actually working on the argv string.
Added a test to make sure that client program works with passed in passwords when there is an auth source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
--replace_regex /@'.*?'/@'LOCALHOST'/
18
18
--error ER_ACCESS_DENIED_ERROR
19
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 $DRIZZLE_TEST_DIR/../client/drizzle --host=localhost --port=$MASTER_MYPORT -e "SELECT 1" --user=auth_file_password --password=test_password 2>&1