[Openvpn-devel,v1] unit_tests: remove includes for mock_msg.h

Message ID 20231208173529.95023-1-frank@lichtenheld.com
State Accepted
Headers show
Series [Openvpn-devel,v1] unit_tests: remove includes for mock_msg.h | expand

Commit Message

Frank Lichtenheld Dec. 8, 2023, 5:35 p.m. UTC
Not actually used.

Change-Id: I5e394bb73702d87562ed354100eaff9b41f5389e
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org>

This change was reviewed on Gerrit and approved by at least one
developer. I request to merge it to master and release/2.6.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/467
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Arne Schwabe <arne-openvpn@rfc2549.org>


Gert Doering Dec. 9, 2023, 10:01 a.m. UTC | #1
Verified that all unit tests still compile & pass...

Your patch has been applied to the master and release/2.6 branch.

commit 9b4ed6d801b3c67f6b5f5341e5a1b161778d0d32 (master)
commit e2a9c1ba947fbe18af124583cc30eb1b2bd2aab0 (release/2.6)
Author: Frank Lichtenheld
Date:   Fri Dec 8 18:35:29 2023 +0100

     unit_tests: remove includes for mock_msg.h

     Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
     Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org>
     Message-Id: <20231208173529.95023-1-frank@lichtenheld.com>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27727.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>

kind regards,

Gert Doering


diff --git a/tests/unit_tests/openvpn/test_auth_token.c b/tests/unit_tests/openvpn/test_auth_token.c
index d96984f..a027330 100644
--- a/tests/unit_tests/openvpn/test_auth_token.c
+++ b/tests/unit_tests/openvpn/test_auth_token.c
@@ -36,8 +36,6 @@ 
 #include "auth_token.c"
-#include "mock_msg.h"
 struct test_context {
     struct tls_multi multi;
     struct key_type kt;
diff --git a/tests/unit_tests/openvpn/test_crypto.c b/tests/unit_tests/openvpn/test_crypto.c
index 5564524..9e5469a 100644
--- a/tests/unit_tests/openvpn/test_crypto.c
+++ b/tests/unit_tests/openvpn/test_crypto.c
@@ -38,7 +38,6 @@ 
 #include "options.h"
 #include "ssl_backend.h"
-#include "mock_msg.h"
 #include "mss.h"
 static const char testtext[] = "Dummy text to test PEM encoding";
diff --git a/tests/unit_tests/openvpn/test_packet_id.c b/tests/unit_tests/openvpn/test_packet_id.c
index 90c67ac..2a2a973 100644
--- a/tests/unit_tests/openvpn/test_packet_id.c
+++ b/tests/unit_tests/openvpn/test_packet_id.c
@@ -36,8 +36,6 @@ 
 #include "packet_id.h"
 #include "reliable.h"
-#include "mock_msg.h"
 struct test_packet_id_write_data {
     struct {
         uint32_t buf_id;
diff --git a/tests/unit_tests/openvpn/test_pkt.c b/tests/unit_tests/openvpn/test_pkt.c
index 9f49ee7..7f05184 100644
--- a/tests/unit_tests/openvpn/test_pkt.c
+++ b/tests/unit_tests/openvpn/test_pkt.c
@@ -40,7 +40,6 @@ 
 #include "ssl_pkt.h"
 #include "tls_crypt.h"
-#include "mock_msg.h"
 #include "mss.h"
 #include "reliable.h"
diff --git a/tests/unit_tests/openvpn/test_tls_crypt.c b/tests/unit_tests/openvpn/test_tls_crypt.c
index ed7c794..465543a 100644
--- a/tests/unit_tests/openvpn/test_tls_crypt.c
+++ b/tests/unit_tests/openvpn/test_tls_crypt.c
@@ -36,8 +36,6 @@ 
 #include "tls_crypt.c"
-#include "mock_msg.h"
 /* Define this function here as dummy since including the ssl_*.c files
  * leads to having to include even more unrelated code */