test: Correct variable name

Related-To: NEO-12988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
This commit is contained in:
John Falkowski 2025-05-21 06:07:48 +00:00 committed by Compute-Runtime-Automation
parent 3e59a2f108
commit 5f80490385
1 changed files with 3 additions and 3 deletions

View File

@ -79,9 +79,9 @@ HWTEST_F(ProductHelperTest, givenProductHelperWhenGettingSharedSystemMemCapabili
if (enable != 1) {
EXPECT_EQ(0u, productHelper->getSharedSystemMemCapabilities(&pInHwInfo));
} else {
for (auto pf_enable : {-1, 0, 1}) {
debugManager.flags.EnableRecoverablePageFaults.set(pf_enable);
if (pf_enable != 0) {
for (auto pfEnable : {-1, 0, 1}) {
debugManager.flags.EnableRecoverablePageFaults.set(pfEnable);
if (pfEnable != 0) {
EXPECT_EQ(caps, productHelper->getSharedSystemMemCapabilities(&pInHwInfo));
} else {
EXPECT_EQ(0u, productHelper->getSharedSystemMemCapabilities(&pInHwInfo));