summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* POSIX: fixed unit tests for 1f0fa73Chris St. Pierre2013-08-281-5/+6
|
* Adjust unit testMichael Fenn2013-07-251-1/+1
|
* 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
|
* File: handle Path type="file" entries with no text content even if empty is ↵Chris St. Pierre2013-04-051-0/+8
| | | | not set
* wrote unit tests for base client Tool classesChris St. Pierre2013-02-209-712/+668
|
* added builtin support for creating users and groupsChris St. Pierre2012-12-031-9/+11
|
* 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-0410-0/+2274