387014f928
required for building freeipa-4.5.x in rawhide
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From 46c99a59c8d6501aa3ad701c567fba577924b48b Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina@redhat.com>
|
|
Date: Wed, 1 Mar 2017 13:21:19 +0000
|
|
Subject: [PATCH 46/97] 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 <fidencio@redhat.com>
|
|
|
|
Reviewed-by: Sumit Bose <sbose@redhat.com>
|
|
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
|
|
---
|
|
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.12.2
|
|
|