Commit 159387e8 authored by Pekka Pessi's avatar Pekka Pessi

Disabled a badly designed test failing in BSD systems.

darcs-hash:20060224081926-65a35-ca0c09de4fd0ac52a2405ead10c52bc0eda001f1.gz
parent 42be2134
......@@ -1830,7 +1830,7 @@ int test_conf_errors(sres_context_t *ctx, char const *conf_file)
sres_resolver_t *res;
int socket;
int n;
BEGIN();
TEST_1(res = sres_resolver_new(conf_file));
......@@ -1839,8 +1839,23 @@ int test_conf_errors(sres_context_t *ctx, char const *conf_file)
TEST(sres_resolver_sockets(res, &socket, 1), n);
#if HAVE_SA_LEN
/* conf_file looks like this:
--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--
nameserver 0.0.0.2
nameserver 1.1.1.1.1
search example.com
port $port
-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8-->8--
The problem address (0.0.0.2) is valid in BSD and we fail this test.
*/
/* We have sa_len on BSDish systems only... */
printf("%s:%u: %s test should be updated\n",
__FILE__, __LINE__, __func__);
#else
TEST(sres_query_make(res, test_answer, ctx, socket,
sres_type_a, "example.com"), NULL);
#endif
sres_resolver_unref(ctx->resolver);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment