diff --git a/testcases/datedetectortestcase.py b/testcases/datedetectortestcase.py index 34ce22ce..5784387d 100644 --- a/testcases/datedetectortestcase.py +++ b/testcases/datedetectortestcase.py @@ -68,6 +68,7 @@ class DateDetectorTest(unittest.TestCase): "2005.01.23 21:59:59", "23/01/2005 21:59:59", "01-23-2005 21:59:59.252", # reported on f2b, causes Feb29 fix to break + "050123 21:59:59", # MySQL ): log = sdate + "[sshd] error: PAM: Authentication failure" # exclude diff --git a/testcases/files/logs/mysqld.log b/testcases/files/logs/mysqld.log new file mode 100644 index 00000000..8dfd6338 --- /dev/null +++ b/testcases/files/logs/mysqld.log @@ -0,0 +1,17 @@ +130323 21:14:28 [Warning] Access denied for user 'root'@'192.168.1.34' (using password: NO) +130324 0:04:00 [Warning] Access denied for user 'root'@'192.168.1.35' (using password: NO) +130324 0:04:02 [Warning] Access denied for user 'root'@'192.168.1.35' (using password: YES) +130324 0:04:05 [Warning] Access denied for user 'root'@'192.168.1.35' (using password: YES) +130324 0:04:07 [Warning] Access denied for user 'root'@'192.168.1.35' (using password: YES) +130324 0:04:09 [Warning] Access denied for user 'root'@'192.168.1.35' (using password: YES) +130324 0:04:11 [Warning] Access denied for user 'root'@'192.168.1.35' (using password: YES) +130324 0:04:13 [Warning] Access denied for user 'root'@'192.168.1.35' (using password: YES) +130324 0:04:16 [Warning] Access denied for user 'root'@'192.168.1.35' (using password: YES) +130324 0:04:18 [Warning] Access denied for user 'root'@'192.168.1.35' (using password: YES) +130324 8:24:09 [Warning] Access denied for user 'root'@'220.95.238.171' (using password: NO) +130324 17:56:13 [Warning] Access denied for user 'root'@'61.160.223.112' (using password: NO) +130324 17:56:14 [Warning] Access denied for user 'root'@'61.160.223.112' (using password: YES) +130324 17:56:15 [Warning] Access denied for user 'root'@'61.160.223.112' (using password: YES) +130324 19:01:39 [Warning] Access denied for user 'root'@'61.147.108.35' (using password: NO) +130324 19:01:40 [Warning] Access denied for user 'root'@'61.147.108.35' (using password: YES) +130324 19:01:41 [Warning] Access denied for user 'root'@'61.147.108.35' (using password: YES)