Commit Graph

67 Commits (bb11c296672605e9551f9bc2005813a1758bf559)

Author SHA1 Message Date
bes.internal ebd89ec077 New ignorecommand that is added to the ignoreip list from output of an external program
11 years ago
Daniel Black 7a9252bd0e TST BF: local defination
11 years ago
Daniel Black 2a67ef519c TST: missing logpath raises IOError
11 years ago
Daniel Black 2d688a5a03 TST: improve polling test case to ensure isModified only returns True once (file static)
11 years ago
Daniel Black a03815facf TST: FileFilter tail tests
11 years ago
Daniel Black 5005719180 TST: permission denied on log file
11 years ago
Daniel Black 33d96ae462 TST: separate out DNS based IgnoreIP tests
11 years ago
Daniel Black c13b91fa70 TST: separate out DNS based IgnoreIP tests
11 years ago
Daniel Black 2b89457dc9 TST: addBanned IP when ignore exists
11 years ago
Daniel Black ebf4a02004 TST: get/set use DNS on Filters
11 years ago
Daniel Black a8b5c5b5f3 TST: check IgnoreIP happens in filter.processLine
11 years ago
Daniel Black 988e14d8c6 TST: negative match for DNS lookup test added
11 years ago
Daniel Black 44bbaebfe5 TST: CIDR for ignoreip
11 years ago
Daniel Black f4531e7b45 TST: test cases fro filter.delFailRegex and filter.delIgnoreRegex
11 years ago
Daniel Black f4661d8177 ENH: rebase LogFileMonitor on LogCaptureTestCase
11 years ago
Daniel Black 8a458b45bc TST: dummyjail in own class
11 years ago
Yaroslav Halchenko 2aa8ddea4d BF: fixed up conditioning of tests under cygwin (still 3 fail)
11 years ago
Yaroslav Halchenko 511e0ace2e TST: Even more of conditioning of tests for cygwin
11 years ago
Yaroslav Halchenko 547c123cfb BF: example.com is pointing to another IP now. Closes #313
11 years ago
Yaroslav Halchenko 47ac39fb34 TST: minor enhancement to test failure msg
12 years ago
Yaroslav Halchenko 8c125b6053 ENH: do not sleep 1 sec only on older Pythons while testing filters
12 years ago
Yaroslav Halchenko 8f3671bc94 BF: figure out minimal sleep time needed for mtime changes to get detected. Close #223, and probably #103
12 years ago
Yaroslav Halchenko 7a6eecbe21 ENH: close open file in a test
12 years ago
Yaroslav Halchenko 0e5f7b5951 Merge branch '_enh/strip_crlf'
12 years ago
Yaroslav Halchenko 28794d842d ENH: close files in _test_move_into_file
12 years ago
Yaroslav Halchenko 6fef85ff2d ENH: strip CR and LF while analyzing the lines (processLine) (Close #202)
12 years ago
Yaroslav Halchenko f21566049c BF: pyinotify backend should also handle IN_MOVED_TO events
12 years ago
Yaroslav Halchenko e7184e70f6 ENH: increase waiting to 4 sec for gamin/pyinotify
12 years ago
Yaroslav Halchenko ef3f2b7e99 TST: be more aggressive in cleanup of temp files + use mktemp instead of mkstemp
12 years ago
Yaroslav Halchenko bf4d4af1d4 ENH(BF?): overload open() (for buffering) within filtertestcase to guarantee atomic writing
12 years ago
Yaroslav Halchenko 7064a411c2 ENH: _copy_lines_between_files -- read all needed, and only then write/flush at once
12 years ago
Yaroslav Halchenko f72bc13111 BF: allow to wait longer for FilterPoll in test_move_file
12 years ago
Yaroslav Halchenko e6983b4f9b BF: Remove custom __str__ for MonitorFailures and just adjust __name__ of the generated class
12 years ago
Yaroslav Halchenko 007827fac6 ENH: increase timeout to 20 sec from 10 sec in assert_correct_last_attempt
12 years ago
Daniel Black 3665e6dc44 Add development documentation and framework for code coverage measurement
12 years ago
Yaroslav Halchenko 5becaf8ef2 BF: (python 2.[45]) store backends names in a list to use .index later on (Closes gh-83)
12 years ago
Yaroslav Halchenko 337f3f6f7b ENH: 1 more sleep_4_poll to guarantee difference in time stamp
13 years ago
Yaroslav Halchenko e9964846fa ENH: few more delays for cases relying on time stamps
13 years ago
Yaroslav Halchenko a1a67d34a9 ENH: tests much more robust now across pythons 2.4 -- 2.7
13 years ago
Yaroslav Halchenko 6ac9fd5d26 ENH: Filter's testcases -- rename, del + list again --- a bit unstable, might still fail from time to time
13 years ago
Yaroslav Halchenko 60260bce3d ENH: first working unittest for checking polling and inotify backends
13 years ago
Yaroslav Halchenko 0b842272e3 ENH: extended test LogfileMonitor
13 years ago
Yaroslav Halchenko 398cc73d3d Added few tests of FileFilter. yet to place them into a Jail-ed execution test
13 years ago
Yaroslav Halchenko 215c3cc5c5 ENH: added a basic test for FilterPoll for detection of modifications
13 years ago
Yaroslav Halchenko 3989d24967 BF: usedns=no was not working at all
13 years ago
Yaroslav Halchenko 971406f722 RF: filtertestcase.py to put common testing into a helping subroutine
13 years ago
Lee Clemens d73a71f5cf ENH: Add usedns parameter for the jails
13 years ago
Lee Clemens 9092a63ce5 Changed TLDs to invalid domains, in accordance with RFC 2606
13 years ago
Leonardo Chiquitto a7d47e8b36 Update Free Software Foundation's address
13 years ago
Yaroslav Halchenko 441cd891bc NF: adding unittests for previous commit
13 years ago