module-puppetlabs-mysql/spec
Maxence Dunnewind cdd7132ff9 Improve checks for MySQL user's name.
As per http://dev.mysql.com/doc/refman/5.5/en/identifiers.html , MySQL
allows for more than '\w-'. This commit improves the check to ensure
that:
 - if username only contains [0-9a-zA-Z$_], it might be quoted. It is
   not a requirement though
 - if username contains anything else, it MUST be quoted

I kept 2 checks, but the 2nd one can probably be removed (I can't find a
username which match the 2nd one but not the first.)
2014-11-06 08:51:07 +01:00
..
acceptance (MODULES-1287) Pass the backup credentials to 'SHOW DATABASES' 2014-08-24 15:44:47 +12:00
classes Trailing commas were breaking things on 1.8.7 2014-09-19 09:42:35 -07:00
defines Convert specs to RSpec 2.99.1 syntax with Transpec 2014-08-08 16:47:44 -04:00
unit/puppet Improve checks for MySQL user's name. 2014-11-06 08:51:07 +01:00
spec.opts (#11508) Only load sql_scripts on DB creation 2011-12-19 07:25:35 -08:00
spec_helper.rb Rewrite some of the unit tests to work on more platforms. 2014-08-07 16:27:17 -04:00
spec_helper_acceptance.rb Install bzip2 on RHEL 7 and Fedora hosts 2014-10-07 15:43:57 -07:00