Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sbus: Fix codegen template for async client
Double semicolon is generated, thus test src/tests/double_semicolon_test fails for async client source code. For example, we can generate code for IFP async client. To do this, add new async interface to src/responder/ifp/ifp_iface/ifp_iface.xml file: <interface name="org.freedesktop.sssd.infopipe.Tests.Test"> <annotation name="codegen.Test" value="ifp_test" /> <annotation name="codegen.AsyncCaller" value="true" /> <property name="name" type="s" access="read" /> </interface> Then make check tests. Test fails with an error: ``` Double semicolon found: ../src/responder/ifp/ifp_iface/sbus_ifp_client_async.c:132: *_value = talloc_steal(mem_ctx, state->out->arg0);; ``` Reviewed-by: Pavel Březina <[email protected]>
- Loading branch information