dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0043-TESTS-Add-tests-for-the-views-related-option-maps.patch

905b4d
From f44e8711e3e1b81132d11084feb34ba62919429e Mon Sep 17 00:00:00 2001
905b4d
From: Jakub Hrozek <jhrozek@redhat.com>
905b4d
Date: Thu, 2 Oct 2014 11:10:47 +0200
905b4d
Subject: [PATCH 43/46] TESTS: Add tests for the views-related option maps
905b4d
905b4d
Reviewed-by: Sumit Bose <sbose@redhat.com>
905b4d
(cherry picked from commit b1593daeecdb40c72ef8c58546bda65c57d4e35c)
905b4d
---
905b4d
 src/tests/ipa_ldap_opt-tests.c | 3 ++-
905b4d
 1 file changed, 2 insertions(+), 1 deletion(-)
905b4d
905b4d
diff --git a/src/tests/ipa_ldap_opt-tests.c b/src/tests/ipa_ldap_opt-tests.c
905b4d
index 3504092d444d89ab59e074237a3f8589aeebbcda..8587e8df77cf30cfef9cf2e5ca6484c3bc881876 100644
905b4d
--- a/src/tests/ipa_ldap_opt-tests.c
905b4d
+++ b/src/tests/ipa_ldap_opt-tests.c
905b4d
@@ -228,12 +228,13 @@ START_TEST(test_sdap_opt_sentinel)
905b4d
 
905b4d
     fail_unless_sdap_opt_is_terminator(&netgroup_map[SDAP_OPTS_NETGROUP]);
905b4d
     fail_unless_sdap_opt_is_terminator(&ad_netgroup_map[SDAP_OPTS_NETGROUP]);
905b4d
-
905b4d
     fail_unless_sdap_opt_is_terminator(&ipa_netgroup_map[IPA_OPTS_NETGROUP]);
905b4d
 
905b4d
     fail_unless_sdap_opt_is_terminator(&ipa_host_map[IPA_OPTS_HOST]);
905b4d
     fail_unless_sdap_opt_is_terminator(&ipa_hostgroup_map[IPA_OPTS_HOSTGROUP]);
905b4d
     fail_unless_sdap_opt_is_terminator(&ipa_selinux_user_map[IPA_OPTS_SELINUX_USERMAP]);
905b4d
+    fail_unless_sdap_opt_is_terminator(&ipa_view_map[IPA_OPTS_VIEW]);
905b4d
+    fail_unless_sdap_opt_is_terminator(&ipa_override_map[IPA_OPTS_OVERRIDE]);
905b4d
 
905b4d
     fail_unless_sdap_opt_is_terminator(&service_map[SDAP_OPTS_SERVICES]);
905b4d
     fail_unless_sdap_opt_is_terminator(&ad_service_map[SDAP_OPTS_SERVICES]);
905b4d
-- 
905b4d
1.9.3
905b4d