summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestClient
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: Fix tools __init__.py unit testAlexander Sulfrian2014-10-301-0/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIX: Fix verification of symlinksChris St. Pierre2014-02-211-20/+30
| | | | | | | | | | * Stat the link itself, not its target * Get SELinux context from the link, not the target * Don't get ACLs at all; symlinks don't have their own ACLs The first issue listed wasn't actually a bug, because none of the information queried from the target by the stat call was actually used in verification, but it's been fixed for completeness.
* Augeas improvements:Chris St. Pierre2013-12-111-26/+23
| | | | | | | | | | | | | * Added ability to specify initial content for a file that doesn't exist, to avoid a messy situation where you'd have to probe for file existence and either use a Path type="file" or Path type="augeas" depending, and run Bcfg2 twice. * All commands in an Augeas path are run if *any* of them fail to verify. Previously, only commands that hadn't been run would be installed, but that had issues, particularly with the Clear command, which could pass verification but then be required during the installation phase anyway. * Miscellaneous bug fixes.
* Augeas: Only install unverified commandsChris St. Pierre2013-12-051-7/+24
|
* testsuite: fixed Augeas unit tests in travis-ciChris St. Pierre2013-12-051-184/+184
|
* Tools: new Augeas driverChris St. Pierre2013-12-051-0/+233
|
* testsuite: add "encoding" to setup for POSIXUsers testsChris St. Pierre2013-09-091-1/+8
|
* POSIX: fixed unit tests for 1f0fa73Chris St. Pierre2013-08-281-5/+6
|
* Adjust unit testMichael Fenn2013-07-251-1/+1
|
* POSIXUsers: updated tests for removal of -mChris St. Pierre2013-07-161-3/+3
|
* testsuite: Fix tests for python 3Sol Jerome2013-06-081-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIX: fix directory pruningChris St. Pierre2013-05-211-3/+3
|
* POSIXUsers: allow better <MemberOf group="foo"/> syntaxChris St. Pierre2013-05-071-6/+3
|
* File: handle Path type="file" entries with no text content even if empty is ↵Chris St. Pierre2013-04-051-0/+8
| | | | not set
* fixed unit testsChris St. Pierre2013-03-211-10/+10
|
* Merge branch '1.3.2' into maintChris St. Pierre2013-03-211-107/+15
|\ | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py testsuite/Testsrc/test_code_checks.py
| * extended usage of Executor class, added client-side timeout optionsChris St. Pierre2013-02-141-0/+2
| |
| * better Executor class for client toolsChris St. Pierre2013-02-141-75/+9
| |
| * abstracted similar digit range classes in POSIXUsers/GroupPatterns into ↵Chris St. Pierre2013-02-141-32/+6
| | | | | | | | Bcfg2.Utils
* | fixed unit tests using long ints for py3kChris St. Pierre2013-02-201-6/+7
| |
* | wrote unit tests for base client Tool classesChris St. Pierre2013-02-2011-726/+1319
|/
* POSIXUsers: set managed uid/gid rangeChris St. Pierre2013-01-181-5/+96
| | | | | | | | Added options to set a range (whitelist or blacklist) of managed uids/gids so that accounts in LDAP (e.g.) do not get flagged as "extra" entries. Request: http://article.gmane.org/gmane.comp.sysutils.bcfg2.devel/4629
* added builtin support for creating users and groupsChris St. Pierre2012-12-032-9/+500
|
* removed another print statementChris St. Pierre2012-11-161-1/+0
|
* POSIX: fixed removal of symlinked directoriesChris St. Pierre2012-11-163-90/+94
|
* POSIX: ensure that automatically-created parent dirs have appropriate +x permsChris St. Pierre2012-11-071-15/+23
|
* fixed some POSIX unit testsChris St. Pierre2012-10-221-4/+12
|
* testsuite: Fix more 'mode' testsSol Jerome2012-10-152-6/+6
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIX: Switch from perms to modeSol Jerome2012-10-151-10/+10
| | | | | | | | Bcfg2 has traditionally used the 'perms' attribute to specify the file mode for POSIX entries. Switching to a 'mode' attribute will allow us to be more consistent with other tools as well as POSIX itself. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* wrote more detailed unit testing documentationChris St. Pierre2012-10-058-25/+10
|
* fixed tests for pylint changesChris St. Pierre2012-09-251-39/+39
|
* reorganized testsuite to allow tests on stuff outside of srcChris St. Pierre2012-09-0412-0/+2274