diff options
| author | luwenpeng <[email protected]> | 2024-11-06 15:03:31 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2024-11-06 15:13:37 +0800 |
| commit | 043f9cbad7bd2be51b655067b274c31ffdeefde0 (patch) | |
| tree | 8e8fef39364580e994a19af5bfae848f93bdee09 /common | |
| parent | 431ac5f67ddcd64c761928c53454c2d49621e091 (diff) | |
TSG-23403 SCE适配日志字段变更:sc_rule_list->sc_rule_uuid_list; sc_rsp_raw->sc_rsp_raw_uuid_list; sc_rsp_decrypted->sc_rsp_decrypted_uuid_listv1.3.8-20241106
Diffstat (limited to 'common')
| -rw-r--r-- | common/test/gtest_control_packet.cpp | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/common/test/gtest_control_packet.cpp b/common/test/gtest_control_packet.cpp index 3473b82..80b8da6 100644 --- a/common/test/gtest_control_packet.cpp +++ b/common/test/gtest_control_packet.cpp @@ -46,16 +46,18 @@ static u_char control_packet_send[] = { 0x69, 0x6F, 0x6E, 0x5F, 0x69, 0x64, 0x01, 0xA5, 0x73, 0x74, 0x61, 0x74, 0x65, 0xA6, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0xA6, 0x6D, 0x65, 0x74, 0x68, 0x6F, 0x64, 0xAA, 0x6C, 0x6F, 0x67, 0x5F, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0xA6, 0x70, 0x61, 0x72, 0x61, 0x6D, 0x73, 0x81, 0xA3, 0x73, - 0x63, 0x65, 0x83, 0xAC, 0x73, 0x63, 0x5F, 0x72, 0x75, 0x6C, 0x65, 0x5F, 0x6C, 0x69, 0x73, 0x74, - 0x92, 0xC4, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x01, 0xC4, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x02, 0xAA, 0x73, 0x63, 0x5F, 0x72, 0x73, 0x70, 0x5F, 0x72, 0x61, 0x77, - 0x92, 0xC4, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x03, 0xC4, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x04, 0xB0, 0x73, 0x63, 0x5F, 0x72, 0x73, 0x70, 0x5F, 0x64, 0x65, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x92, 0xC4, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xC4, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04}; + 0x63, 0x65, 0x83, 0xB1, 0x73, 0x63, 0x5F, 0x72, 0x75, 0x6C, 0x65, 0x5F, 0x75, 0x75, 0x69, 0x64, + 0x5F, 0x6C, 0x69, 0x73, 0x74, 0x92, 0xC4, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xC4, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xB4, 0x73, 0x63, 0x5F, 0x72, 0x73, + 0x70, 0x5F, 0x72, 0x61, 0x77, 0x5F, 0x75, 0x75, 0x69, 0x64, 0x5F, 0x6C, 0x69, 0x73, 0x74, 0x92, + 0xC4, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x03, 0xC4, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x04, 0xBA, 0x73, 0x63, 0x5F, 0x72, 0x73, 0x70, 0x5F, 0x64, 0x65, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x65, 0x64, 0x5F, 0x75, 0x75, 0x69, 0x64, 0x5F, 0x6C, 0x69, 0x73, 0x74, 0x92, + 0xC4, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x03, 0xC4, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x04}; static uuid_t uuid1; static uuid_t uuid2; @@ -436,7 +438,7 @@ TEST(CONTROL_PACKET, SEND) mpack_build_map(&writer); // sce value begin { - mpack_write_cstr(&writer, "sc_rule_list"); + mpack_write_cstr(&writer, "sc_rule_uuid_list"); mpack_build_array(&writer); // sc_rule_list begin for (int i = 0; i < rule_num; i++) { @@ -446,7 +448,7 @@ TEST(CONTROL_PACKET, SEND) } { - mpack_write_cstr(&writer, "sc_rsp_raw"); + mpack_write_cstr(&writer, "sc_rsp_raw_uuid_list"); mpack_build_array(&writer); // sc_rsp_raw begin for (int i = 0; i < sf_num; i++) { @@ -456,7 +458,7 @@ TEST(CONTROL_PACKET, SEND) } { - mpack_write_cstr(&writer, "sc_rsp_decrypted"); + mpack_write_cstr(&writer, "sc_rsp_decrypted_uuid_list"); mpack_build_array(&writer); // sc_rsp_decrypted begin for (int i = 0; i < sf_num; i++) { |
