From 5e3ea50bba1fee75cc0788bcd77ae4991828608e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= Date: Wed, 1 Mar 2017 13:21:19 +0000 Subject: [PATCH 43/54] NSS/TESTS: Fix subdomains attribution MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related: https://pagure.io/SSSD/sssd/issue/3001 Reviewed-by: Fabiano Fidêncio Reviewed-by: Sumit Bose Reviewed-by: Pavel Březina --- src/tests/cmocka/test_nss_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/cmocka/test_nss_srv.c b/src/tests/cmocka/test_nss_srv.c index 3d7e0382197401cb2264671712152fe0709296b6..cbe0dccdc1d883eae1a9621f12997ef43d05178e 100644 --- a/src/tests/cmocka/test_nss_srv.c +++ b/src/tests/cmocka/test_nss_srv.c @@ -3219,7 +3219,7 @@ static int nss_subdom_test_setup(void **state) nss_test_ctx->tctx->confdb); assert_int_equal(ret, EOK); - nss_test_ctx->subdom = subdomain; + nss_test_ctx->subdom = nss_test_ctx->tctx->dom->subdomains; return 0; } -- 2.9.3