[Luv] [LuvOS][FWTS][uefirtauthvar] Test case 12 passed even if UEFI doesn't support authenticated variable
ivanhu
ivan.hu at canonical.com
Wed Mar 25 23:55:56 UTC 2015
On 2015年03月25日 21:34, Matt Fleming wrote:
> On Fri, 13 Mar, at 11:16:06PM, Heyi Guo wrote:
>> Hi all,
>>
>> Test case 12 of uefiauthvar will pass even if UEFI doesn't support
>> authenticated variable, while all other cases in this suite will be
>> skipped.
>>
>> Test case 12 is to test invalid parameter processing of auth var,
>> however, if UEFI doesn't support auth var, it will always return
>> invalid parameter.
>>
>> Below is the log:
>> uefirtauthvar ;INF Test 11 of 13: Authenticated variable test with invalid
>> uefirtauthvar ;INF attributes.
>> uefirtauthvar ;INF Return status: EFI_INVALID_PARAMETER. A parameter was
>> uefirtauthvar ;INF incorrect.
>> uefirtauthvar ;INF Test 12 of 13: Test with both authenticated attributes are
>> uefirtauthvar ;INF set.
>> uefirtauthvar ;INF Test 13 of 13: Set and delete authenticated variable created
>> uefirtauthvar ;INF by different key test.
>> uefirtauthvar ;INF Return status: EFI_INVALID_PARAMETER. A parameter was
>> uefirtauthvar ;INF incorrect.
>>
>> uefirtauthvar ;SUM 1 passed, 0 failed, 0 warning, 0 aborted, 12 skipped, 0 info
>> uefirtauthvar ;SUM only.
>>
>> I think it is more reasonable to have a basic test before any further
>> test to make sure UEFI supports auth var, otherwise all test cases
>> should be skipped. Test 12 being passed is a little confusing.
>>
>> Thanks.
>>
>> Heyi Guo
> Makes sense to me. Would you like to submit a patch to FWTS?
>
The patch has been committed and will be available on the next fwts
release V15.03.01
https://lists.ubuntu.com/archives/fwts-devel/2015-March/005935.html
More information about the fwts-devel
mailing list