'Tests the condition where OSError is triggered due to using /dev/mem.
No exception should be raised, and the log describing the error should be
returned.'

def testDumpACPITableTriggeringDevMemError(self):

    self.chipsec_mock.acpi.ACPI = MockACPIReadingRestrictedArea
    args = chipsec_types.DumpACPITableRequest(table_signature='FACP')
    self.RunAction(self.grr_chipsec_module.DumpACPITable, args)
    self.assertGreaterEqual(len(self.results), 1)
    self.assertNotEquals(len(self.results[0].logs), 0)
