From 0db5c21a1f73e3237b597cb48f43666e41a303be Mon Sep 17 00:00:00 2001 From: Amrathesh <48640575+amrathesh@users.noreply.github.com> Date: Thu, 25 Jul 2024 10:16:58 +0530 Subject: [PATCH] BBSR VariableSizeTest bug fix (#80) - reset the result status post test assertion Signed-off-by: Amrathesh --- .../BlackBoxTest/BBSRVariableSizeBBTestFunction.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bbsr/sct-tests/BBSRVariableSizeTest/BlackBoxTest/BBSRVariableSizeBBTestFunction.c b/bbsr/sct-tests/BBSRVariableSizeTest/BlackBoxTest/BBSRVariableSizeBBTestFunction.c index 50e2923..a63dabd 100644 --- a/bbsr/sct-tests/BBSRVariableSizeTest/BlackBoxTest/BBSRVariableSizeBBTestFunction.c +++ b/bbsr/sct-tests/BBSRVariableSizeTest/BlackBoxTest/BBSRVariableSizeBBTestFunction.c @@ -1,7 +1,7 @@ /** @file - Copyright 2006 - 2012 Unified EFI, Inc.
- Copyright (c) 2021, Arm Inc. All rights reserved.
+ Copyright 2006-2012 Unified EFI, Inc.
+ Copyright (c) 2021-2024, Arm Ltd, All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -164,6 +164,9 @@ BBSRVariableSizeTestSub1 ( (UINTN)__LINE__ ); + // Reset Result variable + Result = EFI_TEST_ASSERTION_PASSED; + //Check MaxVariableSize is larger than 64kb as per R050 //In some implementations a 64KB max variable size results in a usable size slightly less