From 51e6f026f7b8bcd6c429b10044abacc4f2393305 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 28 Mar 2012 13:04:44 -0400 Subject: 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. --- src/tests/ipa_ldap_opt-tests.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/tests/ipa_ldap_opt-tests.c') 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); -- cgit