<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/tests/debug-tests.c, branch simo</title>
<subtitle>Unnamed repository; edit this file to name it for gitweb.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/'/>
<entry>
<title>tests: allow changing cwd in all tests</title>
<updated>2012-07-27T08:51:10+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2012-07-25T07:59:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=2de495aed26bf75a750a76ca73b9f85d341fe1c5'/>
<id>2de495aed26bf75a750a76ca73b9f85d341fe1c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Securely set umask when using mkstemp</title>
<updated>2011-12-19T16:38:35+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2011-12-16T16:13:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=69420a154fc9fb8b04f437125a6a0604b26b1292'/>
<id>69420a154fc9fb8b04f437125a6a0604b26b1292</id>
<content type='text'>
Coverity 12394, 12395, 12396, 12397 and 12398
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Coverity 12394, 12395, 12396, 12397 and 12398
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes debug-tests.c coverity issues: NEGATIVE_RETURNS, FORWARD_NULL</title>
<updated>2011-11-02T15:36:58+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2011-10-17T12:42:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=d56e06fef114459a5ec0f674d2b105ab29ae17aa'/>
<id>d56e06fef114459a5ec0f674d2b105ab29ae17aa</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/1046
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/1046
</pre>
</div>
</content>
</entry>
<entry>
<title>DEBUG timestamps offer higher precision - unit tests updated</title>
<updated>2011-09-08T19:29:42+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2011-08-29T09:46:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=a777047a5aadb27113c980fb4e9b0706d4220167'/>
<id>a777047a5aadb27113c980fb4e9b0706d4220167</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/956
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/956
</pre>
</div>
</content>
</entry>
<entry>
<title>New DEBUG facility - SSSDBG_UNRESOLVED changed from -1 to 0</title>
<updated>2011-08-25T19:46:11+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2011-08-03T07:15:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=89caf5edcc99f5731e89bd51e6ffaad3ec11c304'/>
<id>89caf5edcc99f5731e89bd51e6ffaad3ec11c304</id>
<content type='text'>
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);
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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);
</pre>
</div>
</content>
</entry>
<entry>
<title>New DEBUG facility - unit tests</title>
<updated>2011-08-25T19:46:11+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2011-08-09T10:43:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=fe60346714a73ac3987f786731389320633dd245'/>
<id>fe60346714a73ac3987f786731389320633dd245</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/925
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/925
</pre>
</div>
</content>
</entry>
</feed>
