From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by mx.groups.io with SMTP id smtpd.web09.7840.1605974928635440596 for ; Sat, 21 Nov 2020 08:08:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=hG1btbYD; spf=pass (domain: gmx.de, ip: 212.227.15.18, mailfrom: xypron.glpk@gmx.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1605974915; bh=ltSlPLtE2EaXUUhDtz3Bko/wTjFIZoCYFZBC9dxxpC4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=hG1btbYDqPGlgCWKxw3YznMp+Khxkwg7h1piz5xdG9Hw/HHJ+yPkNL2bV4PtxdNHP xVg0d6k+QEJqAQGl4m0nlVIPokFXFOpcI6HLmnWSUD/ybtoV0f2866if4Ba0YlCI6M CL/JXJBWPDJItyqGhDorFUmXidCPcYFOszUt2rRU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from mcbin.fritz.box ([109.40.64.241]) by mail.gmx.com (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MhlKs-1k31pD0Vfc-00dpDk; Sat, 21 Nov 2020 17:08:35 +0100 From: "Heinrich Schuchardt" To: EDK II Development Cc: Eric Jin , G Edhaya Chandran , Barton Gao , Samer El-Haj-Mahmoud , Heinrich Schuchardt Subject: [PATCH edk2-test 1/1] uefi-sct/SctPkg: OpenEx incorrect assertion Date: Sat, 21 Nov 2020 17:07:59 +0100 Message-Id: <20201121160759.39842-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Provags-ID: V03:K1:+g9Hy18Nda9OTsXKO3zRLy1VWAVeWS2Uy1p745ZrhhwKYGWi4Kd TrKv69kyH6/SuP/+ND1vndTclS7K699Sf3w1FDXjdHMgejo5EAYOCDJVgJExnSSvEl/vX9f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A== Content-Transfer-Encoding: quoted-printable The functional tests for OpenEx() use RecordAssertion() statements that lack a print code for the Tpl argument. This leads to a segmentation violation. Signed-off-by: Heinrich Schuchardt =2D-- .../SimpleFileSystemExBBTestFunction_OpenEx.c | 8 ++++---- .../SimpleFileSystemExBBTestFunction_OpenEx.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleFileSystem/B= lackBoxTest/SimpleFileSystemExBBTestFunction_OpenEx.c b/uefi-sct/SctPkg/Te= stCase/UEFI/EFI/Protocol/SimpleFileSystem/BlackBoxTest/SimpleFileSystemExB= BTestFunction_OpenEx.c index c2bf9b4fdc92..193383993cbe 100644 =2D-- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleFileSystem/BlackB= oxTest/SimpleFileSystemExBBTestFunction_OpenEx.c +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleFileSystem/BlackBox= Test/SimpleFileSystemExBBTestFunction_OpenEx.c @@ -1155,7 +1155,7 @@ BBTestOpenExBasicTestCheckpoint1_Test1_Async ( EFI_TEST_ASSERTION_FAILED, gSimpleFileSystemExBBTestFunctionAssertionGuid027, L"OpenEx() Basic Test - checkpoint1 ----Test1----Asy= nc", - L"%a:%d: FileIoEntity->Tpl, Status - %r, File Name -= %", + L"%a:%d: Tpl - %d, Status - %r, FileName - %s", __FILE__, (UINTN)__LINE__, FileIoEntity->Tpl, @@ -2152,7 +2152,7 @@ BBTestOpenExBasicTestCheckpoint1_Test3_Async ( EFI_TEST_ASSERTION_FAILED, gSimpleFileSystemExBBTestFunctionAssertionGuid039, L"OpenEx() Basic Test - checkpoint1 ---Async", - L"%a:%d: FileIoEntity->Tpl,Status - %r,FileName - %s= ", + L"%a:%d: Tpl - %d, Status - %r, FileName - %s", __FILE__, (UINTN)__LINE__, FileIoEntity->Tpl, @@ -2656,7 +2656,7 @@ BBTestOpenExBasicTestCheckpoint1_Test4_Async ( EFI_TEST_ASSERTION_FAILED, gSimpleFileSystemExBBTestFunctionAssertionGuid043, L"OpenEx() Basic Test - checkpoint1 ---Async -- Test= 4----Open File", - L"%a:%d: FileIoEntity->Tpl,Status - %r,FileName - %s= ", + L"%a:%d: Tpl - %d, Status - %r, FileName - %s", __FILE__, (UINTN)__LINE__, FileIoEntity->Tpl, @@ -3302,7 +3302,7 @@ BBTestOpenExBasicTestCheckpoint1_Test5_Async ( EFI_TEST_ASSERTION_FAILED, gSimpleFileSystemExBBTestFunctionAssertionGuid047, L"OpenEx() Basic Test - checkpoint1 ---Async -- Test= 5---Open File", - L"%a:%d: FileIoEntity->Tpl,Status - %r,FileName - %s= ", + L"%a:%d: Tpl - %d, Status - %r, FileName - %s", __FILE__, (UINTN)__LINE__, FileIoEntity->Tpl, diff --git a/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/SimpleFileSystem/B= lackBoxTest/SimpleFileSystemExBBTestFunction_OpenEx.c b/uefi-sct/SctPkg/Te= stCase/UEFI/IHV/Protocol/SimpleFileSystem/BlackBoxTest/SimpleFileSystemExB= BTestFunction_OpenEx.c index 70ec88f1c065..894d42fc370d 100644 =2D-- a/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/SimpleFileSystem/BlackB= oxTest/SimpleFileSystemExBBTestFunction_OpenEx.c +++ b/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/SimpleFileSystem/BlackBox= Test/SimpleFileSystemExBBTestFunction_OpenEx.c @@ -1155,7 +1155,7 @@ BBTestOpenExBasicTestCheckpoint1_Test1_Async ( EFI_TEST_ASSERTION_FAILED, gSimpleFileSystemExBBTestFunctionAssertionGuid027, L"OpenEx() Basic Test - checkpoint1 ----Test1----Asy= nc", - L"%a:%d: FileIoEntity->Tpl, Status - %r, File Name -= %", + L"%a:%d: Tpl - %d, Status - %r, FileName - %s", __FILE__, (UINTN)__LINE__, FileIoEntity->Tpl, @@ -2152,7 +2152,7 @@ BBTestOpenExBasicTestCheckpoint1_Test3_Async ( EFI_TEST_ASSERTION_FAILED, gSimpleFileSystemExBBTestFunctionAssertionGuid039, L"OpenEx() Basic Test - checkpoint1 ---Async", - L"%a:%d: FileIoEntity->Tpl,Status - %r,FileName - %s= ", + L"%a:%d: Tpl - %d, Status - %r, FileName - %s", __FILE__, (UINTN)__LINE__, FileIoEntity->Tpl, @@ -2656,7 +2656,7 @@ BBTestOpenExBasicTestCheckpoint1_Test4_Async ( EFI_TEST_ASSERTION_FAILED, gSimpleFileSystemExBBTestFunctionAssertionGuid043, L"OpenEx() Basic Test - checkpoint1 ---Async -- Test= 4----Open File", - L"%a:%d: FileIoEntity->Tpl,Status - %r,FileName - %s= ", + L"%a:%d: Tpl - %d, Status - %r, FileName - %s", __FILE__, (UINTN)__LINE__, FileIoEntity->Tpl, @@ -3302,7 +3302,7 @@ BBTestOpenExBasicTestCheckpoint1_Test5_Async ( EFI_TEST_ASSERTION_FAILED, gSimpleFileSystemExBBTestFunctionAssertionGuid047, L"OpenEx() Basic Test - checkpoint1 ---Async -- Test= 5---Open File", - L"%a:%d: FileIoEntity->Tpl,Status - %r,FileName - %s= ", + L"%a:%d: Tpl - %d, Status - %r, FileName - %s", __FILE__, (UINTN)__LINE__, FileIoEntity->Tpl, =2D- 2.29.2