[PATCH] changes to rpcclient

Andreas Schneider asn at samba.org
Thu May 12 09:41:18 UTC 2016


On Thursday, May 12, 2016 09:52:52 AM Christian Ambach wrote:
> Hi list,
> 
> the attached patchset contains a bugfix for rpcclient (including a new
> test) and a small improvement to rpcclient.

Thank you very much for the test. As we talked about it yesterday, take a look 
at https://lwn.net/Articles/558106/ which explains the mocking functionality 
of cmocka.

The source code example is here:

	https://git.cryptomilk.org/projects/cmocka.git/tree/example/chef_wrap


For a start we could just check for cmocka using pkg-config and if we find it 
enable the tests and run them ...

Note that you need:

	cmocka_set_message_output(CM_OUTPUT_SUBUNIT);

so selftest can parse the results.


Cheers,


	-- andreas



More information about the samba-technical mailing list