From 57a6554d8863363c041905607e44459f792225c7 Mon Sep 17 00:00:00 2001 From: Ondrej Kos Date: Wed, 13 Mar 2013 16:32:44 +0100 Subject: Fix coverity issue 13136 https://fedorahosted.org/sssd/ticket/1811 --- src/tests/pac_responder-tests.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit