Patch: Allow the socket-wrapper stuff to work with net ads dns register etc

Richard Sharpe realrichardsharpe at gmail.com
Tue May 10 14:08:12 UTC 2016


On Tue, May 10, 2016 at 6:36 AM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> On Tue, May 10, 2016 at 1:39 AM, Andreas Schneider <asn at samba.org> wrote:
>> On Monday, May 09, 2016 08:17:43 AM Richard Sharpe wrote:
>>> Hi folks,
>>
>> Hi Richard,
>>
>>> Attached is a preliminary patch to the socket wrapper code to help
>>> with self tests of things like net ads dns ...
>>>
>>> I will write a test for this, but wanted to let people know what I was
>>> thinking of.
>>
>> could you please create a patch against the socket_wrapper repository?
>>
>> You can find it here:
>>
>>         https://git.samba.org/?p=socket_wrapper.git;a=summary
>>
>> Please also provide a testcase! You could add a test to:
>>
>> https://git.samba.org/?p=socket_wrapper.git;a=blob;f=tests/test_echo_udp_sendto_recvfrom.c;h=79948ced4718668cec037a0d2efb3a72704f08ac;hb=refs/heads/master

OK, I think I can see what to do. We need at least another function
called test_connect_sendto_recvfrom_XXX that connects and disconnects
in the loop, probably.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)



More information about the samba-technical mailing list