Re: [PATCH v2 0/2] selftests/pstore: add pstore test script

From: Shuah Khan
Date: Tue Oct 06 2015 - 13:59:16 EST


On 10/02/2015 05:46 AM, Hiraku Toyooka wrote:
> These scripts include test cases which check pstore behavior. This
> is useful to avoid regressions of pstore.
>
> Changes since v1:
> * Exit with 1 in pstore/Makefile when pstore_crash_test failed.
> * Create helper functions to make the tests much more readable.
> * Use /sys/module/pstore/parameters/backend to check pstore backend is
> registered.
> * Show content of /sys/module/.../backend and /proc/cmdline for debug
> * Give UUID to each execution of test script.
> * Write unique test string with UUID into pmsg.
> * Check only one test string pattern appears in pmsg after crash.
> * Check UUID written to pmsg matches across crash.
> * Don't touch panic_on_oops because it is not necessary for reboot on crash
>
> (v1: http://www.kernelhub.org/?msg=831044&p=2)
>
> I also confirmed that these scripts work fine with kdump reboot with
> kernel boot parameter 'crash_kexec_post_notifiers'.

Thanks. Applied to linux-kselftest next for 4.4

thanks,
-- Shuah


--
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@xxxxxxxxxxxxxxx | (970) 217-8978
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/