summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorOndrej Kos <okos@redhat.com>2013-03-13 16:32:44 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-03-18 10:42:42 +0100
commit57a6554d8863363c041905607e44459f792225c7 (patch)
treed5ccd0355fba8343600e0557512c6e3eb3dce552 /src/tests
parent9f37bb2012faa136ef7c1f9fe93689ce2be85637 (diff)
downloadsssd-57a6554d8863363c041905607e44459f792225c7.tar.gz
sssd-57a6554d8863363c041905607e44459f792225c7.tar.xz
sssd-57a6554d8863363c041905607e44459f792225c7.zip
Fix coverity issue 13136
https://fedorahosted.org/sssd/ticket/1811
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/pac_responder-tests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/pac_responder-tests.c b/src/tests/pac_responder-tests.c
index 847dbe009..4b6f03f55 100644
--- a/src/tests/pac_responder-tests.c
+++ b/src/tests/pac_responder-tests.c
@@ -310,6 +310,7 @@ START_TEST(pac_test_find_domain_by_id)
fail_unless(id != NULL, "talloc_asprintf failed.\n");
dom = find_domain_by_id(domains, id);
+ fail_unless(dom != NULL, "Domain %zu not found by id.", c);
fail_unless((strcmp(dom->domain_id, id) == 0),
"Wrong domain returned for id [%s].", id);