summaryrefslogtreecommitdiff
path: root/module_test/src/gtest_main.cpp
diff options
context:
space:
mode:
authorlijia <[email protected]>2024-05-02 23:30:23 +0800
committerlijia <[email protected]>2024-05-02 23:30:23 +0800
commit5a911aa5fc2d09f627b3a55a72326d0495855256 (patch)
tree87f36b345f8c2e4e0f05243a7164fa65a73cf4fa /module_test/src/gtest_main.cpp
parent0b3f4fd58e72a93a9545507b0f44304799be539d (diff)
TSG-21000: support TFO(TCP Fast Open)v4.3.52
Diffstat (limited to 'module_test/src/gtest_main.cpp')
-rw-r--r--module_test/src/gtest_main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/module_test/src/gtest_main.cpp b/module_test/src/gtest_main.cpp
index 8a4ff00..913e1ef 100644
--- a/module_test/src/gtest_main.cpp
+++ b/module_test/src/gtest_main.cpp
@@ -571,6 +571,12 @@ TEST(tcp, gtp_without_seq_and_ext)
ASSERT_EQ(GTEST_SAPP_SUCC, gtest_get_libsapp_devel_result());
}
+#define tcp_tfo 1
+TEST(tcp, tfo)
+{
+ tcp_tfo_run();
+ ASSERT_EQ(GTEST_SAPP_SUCC, gtest_get_libsapp_devel_result());
+}
/*************************** TCPALL simple Test ********************************/
#define _tcpall_offload_givestate_entry 1 // for SI symbol view