summaryrefslogtreecommitdiff
path: root/server/tests/krb5_utils-tests.c
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2009-10-21 17:28:15 +0200
committerStephen Gallagher <sgallagh@redhat.com>2009-10-22 13:56:22 -0400
commitaf40ddb7f307b84dc7f983fd420475809bda0851 (patch)
tree6beb281193703200bc2d519ea642fa1a2b0052e9 /server/tests/krb5_utils-tests.c
parentf0d7e2a1cacdffcbc84e5ad2bdd04f405dcaeb65 (diff)
downloadsssd-af40ddb7f307b84dc7f983fd420475809bda0851.tar.gz
sssd-af40ddb7f307b84dc7f983fd420475809bda0851.tar.bz2
sssd-af40ddb7f307b84dc7f983fd420475809bda0851.zip
Various improvements to the resolv test suite
* The resolv test case can now test for TXT and SRV resolving by specifying -t host and -s host respectively. The -n flag must still be passed in to enable network tests. * Added test for the little complicated resolv_copy_hostent() function. * Leak checking using the new tests common functions. * Fix indentation for test_internet, since the whole function was modified to be able to handle SRV and TXT replies. * Initialize the debug variable in main(). Also removed one unused variable in krb5_utils-tests.c
Diffstat (limited to 'server/tests/krb5_utils-tests.c')
-rw-r--r--server/tests/krb5_utils-tests.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/tests/krb5_utils-tests.c b/server/tests/krb5_utils-tests.c
index 1ebebe6a..976b3d61 100644
--- a/server/tests/krb5_utils-tests.c
+++ b/server/tests/krb5_utils-tests.c
@@ -43,7 +43,6 @@ struct krb5child_req *kr;
void setup_talloc_context(void)
{
- int ret;
struct pam_data *pd;
struct krb5_ctx *krb5_ctx;
fail_unless(tmp_ctx == NULL, "Talloc context already initialized.");