From: Ashish Agarwal Date: May 3 2012 9:28am Subject: bzr push into mysql-trunk branch (ashish.y.agarwal:3881 to 3882) List-Archive: http://lists.mysql.com/commits/143721 Message-Id: <201205030928.q439SCxf012425@acsmt356.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 3882 Ashish Agarwal 2012-05-03 WL2739: Test failing on windows. Dictionary file is not found in plugin directory. modified: mysql-test/t/validate_password_plugin.test plugin/password_validation/CMakeLists.txt 3881 Ashish Agarwal 2012-05-02 wl2739: Changing the dictionary file modified: include/mysql/plugin_validate_password.h plugin/password_validation/dictionary.txt plugin/password_validation/validate_password.cc === modified file 'mysql-test/t/validate_password_plugin.test' --- a/mysql-test/t/validate_password_plugin.test 2012-04-30 06:36:01 +0000 +++ b/mysql-test/t/validate_password_plugin.test 2012-05-03 09:25:12 +0000 @@ -51,6 +51,7 @@ SET @@global.validate_password_special_c --echo # password policy strong --echo # default_file : dictionary.txt # file should contain 1 word per line +# error if substring of password is a dictionary word SET @@global.validate_password_policy_number= 3; --error ER_NOT_VALID_PASSWORD === modified file 'plugin/password_validation/CMakeLists.txt' --- a/plugin/password_validation/CMakeLists.txt 2012-04-16 12:25:21 +0000 +++ b/plugin/password_validation/CMakeLists.txt 2012-05-03 09:25:12 +0000 @@ -15,4 +15,4 @@ MYSQL_ADD_PLUGIN(validate_password validate_password.cc MODULE_ONLY) -INSTALL(FILES dictionary.txt DESTINATION ${INSTALL_PLUGINDIR}) +CONFIGURE_FILE(dictionary.txt ${CMAKE_BINARY_DIR}/plugin/password_validation/dictionary.txt) No bundle (reason: useless for push emails).