summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer
Commit message (Collapse)AuthorAgeFilesLines
* Cfg: Give non-specific handlers a default specificityChris St. Pierre2013-09-091-5/+7
|
* XMLFileBacked: Monitor XIncludes whenever a FAM is availableChris St. Pierre2013-09-041-11/+3
| | | | | | | | | | This monitors XIncluded files even if should_monitor=False, since the object monitoring the base file will not monitor XIncludes. This ensures that XIncluded files are properly monitored whenever possible, particularly for Bundler and Properties. This is a partial backport of 5b66845 -- as much of a backport as is possible without a module-level FAM object.
* Metadata: search groups breadth-first when building metadataChris St. Pierre2013-08-151-10/+7
| | | | | This makes category negation consistent, and also makes it work like it did in Bcfg2 1.2
* Plugin: fixed tests on Debuggable.set_debugChris St. Pierre2013-08-071-5/+0
|
* Get profile by building metadata instead of guessingMichael Fenn2013-08-061-0/+3
| | | | | | Rather than doing some ad-hoc lookups of internal data structures stpierre suggested that it'd be better to use the normal metadata build procedures. This implements that and adjusts the tests.
* Adjust testMichael Fenn2013-08-051-1/+1
| | | | Don't need to check write() because update_client() calls it
* Probes: fixed unit testChris St. Pierre2013-08-051-1/+1
|
* TestMetadata: Update tests for resolve_clientSol Jerome2013-06-271-25/+25
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Cfg: Fixed and documented .cat and .diff file behavior with host-specific ↵Chris St. Pierre2013-06-141-7/+9
| | | | base file
* testsuite: *really* fixed tests for a03fde3ea32d3eb2cadb443454749111dda1797fChris St. Pierre2013-06-131-1/+1
|
* testsuite: fixed tests for a03fde3ea32d3eb2cadb443454749111dda1797fChris St. Pierre2013-06-131-18/+19
|
* fixed unit testsChris St. Pierre2013-06-031-19/+18
|
* testsuite: fixed Probes test that uses version informationChris St. Pierre2013-04-021-2/+3
|
* testsuite: fixed unit testsChris St. Pierre2013-03-281-16/+10
|
* testsuite: more text fixesChris St. Pierre2013-03-261-0/+1
|
* testsuite: fixed more unit test stuffChris St. Pierre2013-03-261-1/+0
|
* Probes: fixed unit tests for new use of lxml.etree._ElementTree.write ↵Chris St. Pierre2013-03-261-60/+118
| | | | instead of open().write()
* fixed regex errors introduced by 6c996f42c53a36fc0406f836d64b8c1bec6f4bccChris St. Pierre2013-03-261-1/+2
|
* Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-257-44/+99
| | | | | | | | | * Where possible, create the file or directory that is about to be monitored. This ensures that content can be added later without need to restart Bcfg2. (Otherwise, adding the monitor would fail, and so when you did create the file in question, bcfg2-server would never be notified of it.) * When not possible, give better error messages.
* Metadata: process default client bootstrap mode properlyChris St. Pierre2013-02-141-8/+11
|
* moved common file locking code into Bcfg2.UtilsChris St. Pierre2013-02-141-1/+1
|
* abstracted similar digit range classes in POSIXUsers/GroupPatterns into ↵Chris St. Pierre2013-02-141-21/+0
| | | | Bcfg2.Utils
* added support for wildcard XInclude in XMLFileBackedChris St. Pierre2013-02-142-16/+38
|
* fixed unit testsChris St. Pierre2013-02-131-1/+1
|
* Defaults: change to GoalValidator to apply defaults after structures are ↵Chris St. Pierre2013-02-131-10/+7
| | | | bound (#1136)
* fixed StructFile Match() unit testChris St. Pierre2013-02-041-2/+2
|
* fixed unit testsChris St. Pierre2013-01-291-5/+10
|
* removed bogus print statementsChris St. Pierre2013-01-231-3/+0
|
* testsuite: fixed test for encrypted Properties w/o crypto libraries installedChris St. Pierre2013-01-181-8/+0
|
* GroupPatterns: improved PackedDigitRange and testsChris St. Pierre2013-01-181-2/+3
|
* Made a few encryption things simpler:Chris St. Pierre2013-01-171-4/+10
| | | | | | * Only one strict/lax setting, in [encryption], rather than separate settings in [properties] and [sshkeys] * No longer necessary to enable encryption on each Properties file
* testsuite: fixed tests for decryption in Properties/CfgPrivateKeyCreatorChris St. Pierre2013-01-162-171/+188
|
* Cfg: handle filenames with regex special characters properlyChris St. Pierre2013-01-071-0/+1
|
* fixed unit testsChris St. Pierre2013-01-033-25/+27
|
* Cfg: Added feature to provide generation of SSH keys, authorized_keys fileChris St. Pierre2013-01-035-47/+752
|
* Cfg: added creator handler to perform one-time creation of static dataChris St. Pierre2012-12-201-1/+99
|
* added unit tests for GroupPatternsChris St. Pierre2012-12-182-17/+194
|
* added unit tests for Rules and DefaultsChris St. Pierre2012-12-184-14/+222
|
* testsuite: added unit tests for TriggerChris St. Pierre2012-12-111-0/+89
|
* generate XML schema docs from XML schemas themselvesChris St. Pierre2012-12-101-3/+0
|
* fixed SELinux tool/plugin testsChris St. Pierre2012-12-031-15/+10
|
* fixed test that was "broken" when assertXMLEqual was fixedChris St. Pierre2012-12-031-4/+4
|
* testsuite: fixed assertXMLEqual comparison of XML attribute valuesChris St. Pierre2012-12-031-2/+2
|
* Threaded plugin fixes:Chris St. Pierre2012-11-271-4/+19
| | | | | | | * Added "Threaded" plugin interface for any plugin that uses threads * Start plugin threads after daemonization * Update existing plugins that use threads (Reporting, Snapshots, ThreadedStatistics interface) * Update unit tests
* fixed vcs_root/vcs_path for Version plugins, esp. SvnChris St. Pierre2012-11-192-4/+7
|
* Templating updates:Chris St. Pierre2012-11-192-13/+28
| | | | | | * Added "repo" variable to all template formats * Made variables available in Genshi and Cheetah template more similar * Improved docs
* fixed tests for set_debugChris St. Pierre2012-11-162-14/+19
|
* cleaned up Templatehelper to help avoid some event handling errorsChris St. Pierre2012-11-162-60/+68
|
* Cfg: prevent genshi loader from caching templatesChris St. Pierre2012-11-131-23/+14
|
* Properties: allow lax decryption, where failure to decrypt an element is not ↵Chris St. Pierre2012-11-061-2/+9
| | | | fatal and parsing of that file continues