salt/tests/integration
Pedro Algarvio 8b645b339b Fix #1879. Searching/matching is now done on multiple lines.
* `salt.modules.file.contains()`, `salt.modules.file.contains_regex()`, `salt.modules.file.contains_glob()` and `salt.utils.find` now do the searching/matching against chunks of data; using defaults, 32KB chunks of data in files; instead of searching/matching line by line.
* Based on the above changes `salt.states.file.append()`, when checking if the text to append is already present, now uses `salt.modules.file.contains_regex()` in order to match spanning multiple lines ignoring the addition/deletion of white-space or new lines, except inside commas.
* The regex used on the above item is built at runtime using `salt.utils.build_whitepace_splited_regex()`, just feed the text to it and you'll get back the proper regex to the matching/searching on, for example `salt.modules.file.contains_regex()`.
* Added tests for all this code.
2012-08-28 10:03:11 +01:00
..
client Refactor runtests to allow dotted path module discovery. 2012-05-29 19:56:47 -07:00
files Fix #1879. Searching/matching is now done on multiple lines. 2012-08-28 10:03:11 +01:00
mockbin Add "mockbin" directory and a fake "su" wrapper for tests 2012-07-26 22:14:00 +06:00
modules Fix #1879. Searching/matching is now done on multiple lines. 2012-08-28 10:03:11 +01:00
runners Fix "undefined name" errors spotted by pyflakes 2012-07-15 03:01:35 +02:00
shell fix test that broke because of output changes 2012-08-18 01:48:40 -06:00
states Another mkdir that should be included in previous commit. 2012-08-25 14:36:30 +01:00
tmp Split out integration tests from pure unit tests. 2012-02-20 13:18:13 +01:00
__init__.py Fix salt-call bug with default outputter. 2012-08-13 07:10:42 +01:00