summaryrefslogtreecommitdiff
path: root/module_test/src/gtest_main.cpp
diff options
context:
space:
mode:
author杨威 <[email protected]>2023-07-03 20:45:36 +0800
committer杨威 <[email protected]>2023-07-03 20:59:14 +0800
commit172fb48659963908c4aa79bfbf08b8e04d589f50 (patch)
tree4b90b1c33d4c9fe1f740de9809eabb7e5a647f34 /module_test/src/gtest_main.cpp
parent54338c474d672d4b3eab1209559d7fe433a6566f (diff)
🧪 test(tunnel.l2tp_protocol_timeout): 修复测试用例调用错误
Diffstat (limited to 'module_test/src/gtest_main.cpp')
-rw-r--r--module_test/src/gtest_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/module_test/src/gtest_main.cpp b/module_test/src/gtest_main.cpp
index 7f4348a..8102ac6 100644
--- a/module_test/src/gtest_main.cpp
+++ b/module_test/src/gtest_main.cpp
@@ -2115,7 +2115,7 @@ TEST(fake_marsio, vlan_mac_flip_inject_no_asymmetric)
/* 别着�? 不是BUG!
这个测试用例就是应该错的 !!!
*/
- EXPECT_EXIT(fake_marsio_vlan_mac_flipping_inject_run(0), testing::ExitedWithCode(0), "index:4, mac addr error");
+ EXPECT_EXIT(fake_marsio_vlan_mac_flipping_inject_run(0), testing::ExitedWithCode(1), "index:4, mac addr error");
}
#define _fake_marsio_vlan_mac_flip_inject_with_asymmetric 1