From 226bd31165fcb6824179bf32631ccfa07063b57b Mon Sep 17 00:00:00 2001 From: Ken Lautner Date: Fri, 3 May 2024 22:24:40 -0700 Subject: [PATCH] Updated MorLockTestApp to expect the new standard return values --- .../FunctionalSystemTests/MorLockTestApp/MorLockTestApp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UefiTestingPkg/FunctionalSystemTests/MorLockTestApp/MorLockTestApp.c b/UefiTestingPkg/FunctionalSystemTests/MorLockTestApp/MorLockTestApp.c index 51552355e4..078e25d61b 100644 --- a/UefiTestingPkg/FunctionalSystemTests/MorLockTestApp/MorLockTestApp.c +++ b/UefiTestingPkg/FunctionalSystemTests/MorLockTestApp/MorLockTestApp.c @@ -236,7 +236,7 @@ MorLockShouldNotBeSet ( } UT_ASSERT_NOT_EFI_ERROR (Status); - UT_ASSERT_EQUAL (MorLock, MOR_LOCK_DATA_UNLOCKED); + UT_ASSERT_EQUAL (MorLock, MOR_LOCK_DATA_LOCKED_WITHOUT_KEY); return UNIT_TEST_PASSED; } // MorLockShouldNotBeSet() @@ -790,7 +790,7 @@ MorLockv2ShouldReportCorrectly ( UT_LOG_VERBOSE ("%a - Status = %r, MorLock = %d\n", __FUNCTION__, Status, MorLock); UT_ASSERT_NOT_EFI_ERROR (Status); - UT_ASSERT_EQUAL (MorLock, MOR_LOCK_DATA_LOCKED_WITH_KEY); + UT_ASSERT_EQUAL (MorLock, MOR_LOCK_DATA_LOCKED_WITHOUT_KEY); return UNIT_TEST_PASSED; } // MorLockv2ShouldReportCorrectly()