Update Test Errorlog use cases testing logic
Existing test assumes that clearing the logs works, creates one
and index 0 of the list is the one created for the test.
The new changes address the following:
- Clear eventlog should not be 'the' factor to fail the test
because event can be created and still validated
- Clear eventlog failure would reported by new test case
- bustcl returns event out as in format 'q event_number'
example 'q 154'. Test will fails
1. If this event number generated is not listed
2. If there is an error during command execution
Resolves openbmc/openbmc-test-automation#146
Change-Id: I4ea87c04bd35279727d6966f8372cdcc4e8a9fd6
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
1 file changed