mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-02 11:16:46 +00:00
Merge pull request #389 from nsacyber/eventLogTesFix
updated TCGEventLogEventsTest
This commit is contained in:
commit
9fbbf81ada
@ -138,8 +138,8 @@ public final void testHandOffTables() throws IOException {
|
|||||||
byte[] eventBytes = HexUtils.hexStringToByteArray(event);
|
byte[] eventBytes = HexUtils.hexStringToByteArray(event);
|
||||||
EvEfiHandoffTable hTable = new EvEfiHandoffTable(eventBytes);
|
EvEfiHandoffTable hTable = new EvEfiHandoffTable(eventBytes);
|
||||||
Assert.assertEquals(hTable.getNumberOfTables(), 1);
|
Assert.assertEquals(hTable.getNumberOfTables(), 1);
|
||||||
String tableINfo = hTable.toString();
|
String tableInfo = hTable.toString();
|
||||||
Assert.assertFalse(tableINfo.toString().
|
Assert.assertTrue(tableInfo.toString().
|
||||||
contains("UEFI industry standard table type = SMBIOS3_TABLE_GUID"));
|
contains("UEFI industry standard table type = SMBIOS3_TABLE_GUID"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user