diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-03-28 13:04:44 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-03-28 15:07:05 -0400 |
commit | 51e6f026f7b8bcd6c429b10044abacc4f2393305 (patch) | |
tree | f720dbf9c45d3f7e9de55d7a03aa24cd80151e0e /src/tests | |
parent | 4ed94554593e8a20fa361ea8d7a7f223dc6ee4e8 (diff) | |
download | sssd-51e6f026f7b8bcd6c429b10044abacc4f2393305.tar.gz sssd-51e6f026f7b8bcd6c429b10044abacc4f2393305.tar.bz2 sssd-51e6f026f7b8bcd6c429b10044abacc4f2393305.zip |
Remove old compatibility tests
These are now replaced by the more accurate tests.
This patch also drops the runtime option-count check, since we are
always performing the more complete check at build-time.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/ipa_ldap_opt-tests.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/tests/ipa_ldap_opt-tests.c b/src/tests/ipa_ldap_opt-tests.c index 3f94d681..4c881379 100644 --- a/src/tests/ipa_ldap_opt-tests.c +++ b/src/tests/ipa_ldap_opt-tests.c @@ -30,6 +30,7 @@ #include "providers/ipa/ipa_opts.h" #include "providers/ldap/sdap.h" #include "providers/ldap/ldap_opts.h" +#include "providers/krb5/krb5_opts.h" #include "providers/krb5/krb5_common.h" #include "tests/common.h" @@ -76,16 +77,6 @@ START_TEST(test_domain_to_basedn) } END_TEST -START_TEST(test_check_num_opts) -{ - fail_if(IPA_OPTS_BASIC_TEST != SDAP_OPTS_BASIC); - fail_if(IPA_OPTS_SVC_TEST != SDAP_OPTS_SERVICES); - fail_if(IPA_OPTS_AUTOMNTMAP_TEST != SDAP_OPTS_AUTOFS_MAP); - fail_if(IPA_OPTS_AUTOMNTENTRY_TEST != SDAP_OPTS_AUTOFS_ENTRY); - fail_if(IPA_KRB5_OPTS_TEST != KRB5_OPTS); -} -END_TEST - START_TEST(test_compare_opts) { errno_t ret; @@ -143,7 +134,6 @@ Suite *ipa_ldap_opt_suite (void) TCase *tc_ipa_ldap_opt = tcase_create ("ipa_ldap_opt"); - tcase_add_test (tc_ipa_ldap_opt, test_check_num_opts); tcase_add_test (tc_ipa_ldap_opt, test_compare_opts); tcase_add_test (tc_ipa_ldap_opt, test_compare_sdap_attrs); suite_add_tcase (s, tc_ipa_ldap_opt); |