diff --git a/tests/data/test1560 b/tests/data/test1560 index 7dcf7fc504..70de44d31e 100644 --- a/tests/data/test1560 +++ b/tests/data/test1560 @@ -20,7 +20,6 @@ http pop3 smtp imap -ldap dict ftp diff --git a/tests/libtest/lib1560.c b/tests/libtest/lib1560.c index 82f06a6ab4..9fb546bc05 100644 --- a/tests/libtest/lib1560.c +++ b/tests/libtest/lib1560.c @@ -891,9 +891,11 @@ static const struct urltestcase get_url_list[] = { {"pop3.example.com/path/html", "pop3://pop3.example.com/path/html", CURLU_GUESS_SCHEME, 0, CURLUE_OK}, +#ifndef CURL_DISABLE_LDAP {"ldap.example.com/path/html", "ldap://ldap.example.com/path/html", CURLU_GUESS_SCHEME, 0, CURLUE_OK}, +#endif {"imap.example.com/path/html", "imap://imap.example.com/path/html", CURLU_GUESS_SCHEME, 0, CURLUE_OK}, @@ -912,9 +914,11 @@ static const struct urltestcase get_url_list[] = { {"pop3.com/path/html", "pop3://pop3.com/path/html", CURLU_GUESS_SCHEME, 0, CURLUE_OK}, +#ifndef CURL_DISABLE_LDAP {"ldap.com/path/html", "ldap://ldap.com/path/html", CURLU_GUESS_SCHEME, 0, CURLUE_OK}, +#endif {"imap.com/path/html", "imap://imap.com/path/html", CURLU_GUESS_SCHEME, 0, CURLUE_OK}, @@ -930,9 +934,11 @@ static const struct urltestcase get_url_list[] = { {"pop3/path/html", "http://pop3/path/html", CURLU_GUESS_SCHEME, 0, CURLUE_OK}, +#ifndef CURL_DISABLE_LDAP {"ldap/path/html", "http://ldap/path/html", CURLU_GUESS_SCHEME, 0, CURLUE_OK}, +#endif {"imap/path/html", "http://imap/path/html", CURLU_GUESS_SCHEME, 0, CURLUE_OK},