summaryrefslogtreecommitdiffstats
path: root/src/tests/debug-tests.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: allow changing cwd in all testsPavel Březina2012-07-271-0/+3
|
* Securely set umask when using mkstempStephen Gallagher2011-12-191-0/+8
| | | | Coverity 12394, 12395, 12396, 12397 and 12398
* Fixes debug-tests.c coverity issues: NEGATIVE_RETURNS, FORWARD_NULLPavel Březina2011-11-021-49/+140
| | | | https://fedorahosted.org/sssd/ticket/1046
* DEBUG timestamps offer higher precision - unit tests updatedPavel Březina2011-09-081-14/+215
| | | | https://fedorahosted.org/sssd/ticket/956
* New DEBUG facility - SSSDBG_UNRESOLVED changed from -1 to 0Pavel Březina2011-08-251-8/+2
| | | | | | | | | | | | | | | | | | | | | Removed: SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED) Added new macro: CONVERT_AND_SET_DEBUG_LEVEL(new_value) Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0 so DEBUG macro could be reduced by one condition. Anyway, it has a minor effect, every time you want to load debug_level from command line parameters, you have to use following pattern: /* Set debug level to invalid value so we can deside if -d 0 was used. */ debug_level = SSSDBG_INVALID; pc = poptGetContext(argv[0], argc, argv, long_options, 0); while((opt = poptGetNextOpt(pc)) != -1) { ... } CONVERT_AND_SET_DEBUG_LEVEL(debug_level);
* New DEBUG facility - unit testsPavel Březina2011-08-251-0/+742
https://fedorahosted.org/sssd/ticket/925