Gert Doering has submitted this change. ( https://gerrit.openvpn.net/c/openvpn/+/2023?usp=email )
Change subject: Fix broken unit tests after commit 5c6fbd0a11 ...................................................................... Fix broken unit tests after commit 5c6fbd0a11 Said commit only cherry-picked the "actual code change" but not the required adjustments for the unit tests, leading to an unresolved symbol. Master has all the mock functions in mock_push_dependencies.c which does not exist in release/2.7, so import "uninit_options()" into the actual unit test source (as are all the other mocked functions in 2.7) Change-Id: I7f2db60564fa179ce5f56979912c7e484dad1e1d Signed-off-by: Gert Doering <[email protected]> Acked-by: Razvan Cojocaru <[email protected]> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2023 Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg40076.html Signed-off-by: Gert Doering <[email protected]> --- M tests/unit_tests/openvpn/test_push_update_msg.c 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/tests/unit_tests/openvpn/test_push_update_msg.c b/tests/unit_tests/openvpn/test_push_update_msg.c index 9b7978e..75b654b 100644 --- a/tests/unit_tests/openvpn/test_push_update_msg.c +++ b/tests/unit_tests/openvpn/test_push_update_msg.c @@ -48,6 +48,13 @@ return; } +void +uninit_options(struct options *options) +{ + gc_free(&options->gc); + gc_free(&options->dns_options.gc); +} + bool options_postprocess_pull(struct options *options, struct env_set *es) { -- To view, visit https://gerrit.openvpn.net/c/openvpn/+/2023?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: openvpn Gerrit-Branch: release/2.7 Gerrit-Change-Id: I7f2db60564fa179ce5f56979912c7e484dad1e1d Gerrit-Change-Number: 2023 Gerrit-PatchSet: 2 Gerrit-Owner: Gert Doering <[email protected]> Gerrit-Reviewer: Arne Schwabe <[email protected]> Gerrit-Reviewer: Răzvan Cojocaru <[email protected]> Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
