On Tue, Dec 22, 2015 at 02:52:44PM -0800, Dave Hansen wrote:
>
> From: Dave Hansen <[email protected]>
>
> Here are some simple tests for the early command-line code. It
> had way more bugs than it should have, so let's make sure they
> never pop up again.
>
> Note, there are a few failures in here now. We will fix those
> up in the next few patches.
>
> This is complete overkill for this code, but I had to do it to
> convince myself that I wasn't making it any worse.
>
> Signed-off-by: Dave Hansen <[email protected]>
> Cc: Borislav Petkov <[email protected]>
> Cc: H. Peter Anvin <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> ---
>
> b/arch/x86/Kconfig.debug | 7 ++
> b/arch/x86/kernel/check.c | 1
> b/arch/x86/kernel/setup.c | 9 +++
> b/arch/x86/lib/cmdline.c | 122
> ++++++++++++++++++++++++++++++++++++++++++++++
First 4 applied, thanks.
This one belongs into tools/testing/selftests/x86/, AFAICT, and can be
run in userspace just the same.
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284
(AG Nürnberg)
--