]> git.ipfire.org Git - thirdparty/openvpn.git/commit
test_options_parse: Remove --wrap
authorFrank Lichtenheld <frank@lichtenheld.com>
Wed, 8 Oct 2025 16:13:52 +0000 (18:13 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 8 Oct 2025 16:18:07 +0000 (18:18 +0200)
commit8f3e3de7d76c2c7e7ad57586a2dfc60850dacf03
tree9159f3f4c39dc4d4130346550aad25bfb11bb42f
parenta06b9b2fcdea0ee36545019c6984baad2236e51d
test_options_parse: Remove --wrap

After removing --wrap from some other tests in
a previous commit I got confused here myself.
--wrap is really only needed when you have the
original function linked in. Somehow I thought
the call ordering and mocking logic needed this.

But this is wrong, so no need to use --wrap here
since we currently do not link any of those
functions.

Change-Id: I60df1e61ed89be52e9d032b5b49133a784f9811e
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1258
Message-Id: <20251008161357.5679-1-gert@greenie.muc.de>
URL: https://sourceforge.net/p/openvpn/mailman/message/59244071/
Signed-off-by: Gert Doering <gert@greenie.muc.de>
CMakeLists.txt
tests/unit_tests/openvpn/Makefile.am
tests/unit_tests/openvpn/test_options_parse.c