[SSSD] [PATCH] TESTS: Fix coverity issues 13126, 13127

Ondrej Kos okos at redhat.com
Tue Jan 22 14:15:56 UTC 2013


On 22/01/13 14:48, Jakub Hrozek wrote:
> On Tue, Jan 22, 2013 at 01:56:45PM +0100, Ondrej Kos wrote:
>> +    ret = sysdb_transaction_commit(test_ctx->sysdb);
>> +    fail_if(ret != EOK);
>> +
>> +    ret = sysdb_transaction_start(test_ctx->sysdb);
>> +    fail_if(ret != EOK);
>
> Can you also add an error message?
> _______________________________________________
> sssd-devel mailing list
> sssd-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
>

New patch attached, also in second patch, i added the error messages to 
other tests, where it was missing.

Ondra

-- 
Ondrej Kos
Associate Software Engineer
Identity Management
Red Hat Czech

phone: +420-532-294-558
cell:  +420-736-417-909
ext:   82-62558
loc:   1013 Brno 1 office
irc:   okos @ #brno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-TESTS-Fix-coverity-issues-13126-13127.patch
Type: text/x-patch
Size: 1148 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20130122/2c35027f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-TESTS-include-error-message-on-fail.patch
Type: text/x-patch
Size: 3028 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20130122/2c35027f/attachment-0001.bin>


More information about the sssd-devel mailing list