| 1 |
######### |
| 2 |
# SETUP # |
| 3 |
######### |
| 4 |
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin pfs_example_plugin_employee reported: 'Error returned from add_tables\\(\\)'"); |
| 5 |
call mtr.add_suppression("\\[ERROR\\] \\[[^]]*\\] \\[[^]]*\\] Plugin 'pfs_example_plugin_employee' init function returned error."); |
| 6 |
# Make sure that the errors, which are returned when plugin is tried to |
| 7 |
# be loaded with --early_plugin_load option, are present in server log. |
| 8 |
Pattern "Plugin pfs_example_plugin_employee reported: 'Error returned from add_tables\(\)'" found |
| 9 |
Pattern "Plugin 'pfs_example_plugin_employee' init function returned error." found |
| 10 |
# Install pfs_example_plugin_employee plugin after server is started. |
| 11 |
INSTALL PLUGIN pfs_example_plugin_employee SONAME 'pfs_example_plugin_employee.xxx'; |
| 12 |
########### |
| 13 |
# CLEANUP # |
| 14 |
########### |
| 15 |
UNINSTALL PLUGIN pfs_example_plugin_employee; |