You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expect(shell("mysql -NBe \"SHOW GRANTS FOR [email protected]\"",{:acceptable_exit_codes=>1}).stderr).tomatch(/There is no such grant defined for user 'test' on host 'fqdn.com'/)
366
+
end
367
+
it'finds ipv4'do
368
+
shell("mysql -NBe \"SHOW GRANTS FOR 'test'@'192.168.5.7'\"")do |r|
369
+
expect(r.stdout).tomatch(/GRANT ALL PRIVILEGES ON `test`.* TO 'test'@'192.168.5.7'/)
0 commit comments