summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestRules.py
Commit message (Collapse)AuthorAgeFilesLines
* Rules: New options replace_name to replace %{name} in attributesAlexander Sulfrian2015-08-261-0/+18
| | | | | | | | | | | | | If you use the regex feature of Rules/Defaults you may need the real name of the matched entry in an attribute (for example home of POSIXUser). You can now enable replace_name for rules or defaults and %{name} will be replaces in the attribues of the Element before adding them to the target entry. This allows you to write something like that in Defaults to assing a default home directory somewhere else to all users with unset home: <POSIXUser name='.*' home='/somewhere/%{name}'/>
* testsuite: rewrote Rules/Defaults tests to be actually usefulChris St. Pierre2013-08-291-55/+148
|
* testsuite: fixed unit tests for server pluginsChris St. Pierre2013-08-091-8/+4
|
* converted InfoXML objects from XMLSrc to StructFileChris St. Pierre2013-02-061-63/+19
|
* added unit tests for Rules and DefaultsChris St. Pierre2012-12-181-0/+130