[PATCH] dnsapi/tests: Add some DnsQuery tests.

Hans Leidekker hans at codeweavers.com
Fri Mar 6 06:00:39 CST 2020


On Fri, 2020-03-06 at 18:55 +0800, Dmitry Timoshkov wrote:
> Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
> ---
>  dlls/dnsapi/tests/Makefile.in |   5 +-
>  dlls/dnsapi/tests/query.c     | 111 ++++++++++++++++++++++++++++++++++
>  2 files changed, 114 insertions(+), 2 deletions(-)

I get a couple of failures on a Windows machine in a domain:

query.c:43: Test failed: got 9501
query.c:56: DnsQuery_W(L"_ldap._tcp.dc._msdcs.test.local") => 0
query.c:63: target L"win-sk40a5tr7ov.test.local", port 389
query.c:81: Test failed: WSAAddressToStringW error -1
query.c:82: WSAAddressToStringW => L""
query.c:101: Test failed: WSAAddressToStringW error -1
query.c:102: WSAAddressToStringW => L""
0b78:query: 6 tests executed (0 marked as todo, 3 failures), 0 skipped.

The WSAAddressToStringW errors are gone after calling WSAStartup.





More information about the wine-devel mailing list