test: fix DebugSession ULT
Use size of actual SIP SSA header as input to test Signed-off-by: Brandon Yates <brandon.yates@intel.com>
This commit is contained in:
parent
5c4e3912a1
commit
3637f519c3
|
@ -2445,7 +2445,7 @@ TEST_F(DebugApiLinuxTest, GivenBindInfoForVmHandleWhenReadingStateSaveAreaThenGp
|
|||
session->clientHandle = MockDebugSessionLinux::mockClientHandle;
|
||||
|
||||
uint64_t vmHandle = 6;
|
||||
session->clientHandleToConnection[MockDebugSessionLinux::mockClientHandle]->vmToContextStateSaveAreaBindInfo[vmHandle] = {0x1000, stateSaveAreaHeader.size()};
|
||||
session->clientHandleToConnection[MockDebugSessionLinux::mockClientHandle]->vmToContextStateSaveAreaBindInfo[vmHandle] = {0x1000, sizeof(SIP::StateSaveAreaHeader)};
|
||||
|
||||
session->readStateSaveAreaHeader();
|
||||
|
||||
|
|
Loading…
Reference in New Issue