summaryrefslogtreecommitdiff
path: root/server/tests/check_and_open-tests.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-18Rename server/ directory to src/Stephen Gallagher1-218/+0
Also update BUILD.txt
2010-02-03Make krb5 and open checks work if forking is disabledSumit Bose1-1/+5
When CK_FORK is set to 'no' the fixtures are executed for every new test inside of the same process. Global variables must be set to the expected values by the fixtures. check_and_open-tests.c: the filename template for mkstemp() was a globally defined character string. After the first call to mkstemp() the trailing XXXXXX are substituted by random values, a second call to mkstemp() with this character string fails. This patch initialize the filename template before mkstemp() is called with the help of strdup() and the memory is freed in the teardown fixture. krb5_utils-tests.c: this patch sets the just freed global talloc context to NULL to make a consistency check in the setup fixture pass.
2009-11-20Only display errors in unit testsStephen Gallagher1-1/+2
If you want to turn verbosity back on, just set the environment variable CK_VERBOSITY=verbose
2009-10-05more documentation and test for sssd.confSumit Bose1-0/+29
- add a hint to the man page about permissions on sssd.conf - add a test if a symbolic link can be opened
2009-10-05add utility call check_and_open_readonlySumit Bose1-0/+184
Use this new utility call to ensure that the config file is safe to read from.