[Skiboot] [RFC PATCH 02/10] core/test: use strcmp for console tests

Stewart Smith stewart at linux.vnet.ibm.com
Tue Mar 7 17:45:13 AEDT 2017


Oliver O'Halloran <oohall at gmail.com> writes:
> The console logging tests use a memcmp and strlen() with string literal
> arguments. Unfortunately the strings were updated at some point and not
> kept in sync. strcmp() should be fine here so use that instead.
>
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
> ---
>  core/test/run-console-log-pr_fmt.c | 6 +++---
>  core/test/run-console-log.c        | 6 +++---
>  2 files changed, 6 insertions(+), 6 deletions(-)

Sooo... I know this *technically* has RFC in the title, but it's a good
ptach and I can probably only blame myself for this.

So, merged to master as of 0cdfe0b14780152ebec39f21cf99f37d4330843d


-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list