用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
1.9 KiB

#
# Bug#23102944: MYSQLPUMP LEAKS MEMORY IN CASE OF ERRORS.
#
# testing a failed connection: must not crash
mysqlpump: Got error: 2005: Unknown MySQL server host 'non_existent_ghost' (errno) while connecting to the MySQL server
mysqlpump: [ERROR] (11)
Dump process encountered error and will not continue.
# testing an invalid option: must not crash
mysqlpump: [ERROR] unknown variable 'parallelism=3'.
mysqlpump: [ERROR] (7) Error during handling options
Dump process encountered error and will not continue.
mysqlpump: Got error: 2005: Unknown MySQL server host 'non_existent_ghost' (errno) while connecting to the MySQL server
mysqlpump: [ERROR] (11)
Dump process encountered error and will not continue.
#
# Bug#29389828: CRASH WHEN TILDE EXPANSION USED IN --RESULT-FILE PATH
#
# report error when tilde is used in file name
#
# Bug #29343073: MYSQLPUMP DUMPS GRANT TABLES THAT IT SHOULD NOT
#
include/assert_grep.inc [Should not contain mysql.role_edges]
include/assert_grep.inc [Should not contain mysql.global_grants]
include/assert_grep.inc [Should not contain mysql.default_roles]
include/assert_grep.inc [Should contain mysql.password_history]
Test: dump of mysql database should not contain unexpected tables
Matching lines are:
CREATE TABLE `mysql`.`component` (
CREATE TABLE `mysql`.`engine_cost` (
CREATE TABLE `mysql`.`func` (
CREATE TABLE `mysql`.`help_category` (
CREATE TABLE `mysql`.`help_keyword` (
CREATE TABLE `mysql`.`help_relation` (
CREATE TABLE `mysql`.`help_topic` (
CREATE TABLE `mysql`.`password_history` (
CREATE TABLE `mysql`.`plugin` (
CREATE TABLE `mysql`.`server_cost` (
CREATE TABLE `mysql`.`servers` (
CREATE TABLE `mysql`.`slave_worker_info` (
CREATE TABLE `mysql`.`time_zone` (
CREATE TABLE `mysql`.`time_zone_leap_second` (
CREATE TABLE `mysql`.`time_zone_name` (
CREATE TABLE `mysql`.`time_zone_transition` (
CREATE TABLE `mysql`.`time_zone_transition_type` (
Occurrences of 'CREATE TABLE' in the input file: 17
# End of 8.0 tests