<div dir="auto">Those OK fail in wine.</div><div class="gmail_extra"><br><div class="gmail_quote">On Jan 12, 2017 18:44, "Dmitry Timoshkov" <<a href="mailto:dmitry@baikal.ru">dmitry@baikal.ru</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Anton Romanov <<a href="mailto:theli.ua@gmail.com">theli.ua@gmail.com</a>> wrote:<br>
<br>
> +todo_wine {<br>
> +    enabled = 2;<br>
> +    ret = getsockopt(v4, IPPROTO_IPV6, IPV6_V6ONLY, (char*)&enabled, &len);<br>
> +    ok(!ret, "getsockopt(IPV6_ONLY) failed (LastError: %d)\n", WSAGetLastError());<br>
> +    ok(enabled == 1, "expected 1, got %d\n", enabled);<br>
> +}<br>
<br>
The 'todo_wine' statements should be added only around ok() call that will fail<br>
otherwise. This applies for other places in the patch as well.<br>
<br>
--<br>
Dmitry.<br>
</blockquote></div></div>