Re: [PATCH 2/2] selftests/pstore: add pstore test scripts going with reboot

2015-09-16 Thread Hiraku Toyooka
To: Kees Cook Cc: LKML; Tony Luck; Linux API; Anton Vorontsov; Shuah Khan; Mark Salyzyn; Colin Cross; 阿口誠司 / AGUCHI,SEIJI Subject: Re: [PATCH 2/2] selftests/pstore: add pstore test scripts going with reboot Hello Kees, >> +run_crash: >> + @sh pstore_crash_test || echo

RE: [PATCH 2/2] selftests/pstore: add pstore test scripts going with reboot

2015-09-16 Thread 阿口誠司 / AGUCHI,SEIJI
> From: 豊岡拓 / Toyooka,Hiraku > Sent: Tuesday, September 15, 2015 11:42 AM > To: Kees Cook > Cc: LKML; Tony Luck; Linux API; Anton Vorontsov; Shuah Khan; Mark Salyzyn; > Colin Cross; 阿口誠司 / AGUCHI,SEIJI > Subject: Re: [PATCH 2/2] selftests/pstore: add pstore test scripts going

RE: [PATCH 2/2] selftests/pstore: add pstore test scripts going with reboot

2015-09-16 Thread 阿口誠司 / AGUCHI,SEIJI
> From: 豊岡拓 / Toyooka,Hiraku > Sent: Tuesday, September 15, 2015 11:42 AM > To: Kees Cook > Cc: LKML; Tony Luck; Linux API; Anton Vorontsov; Shuah Khan; Mark Salyzyn; > Colin Cross; 阿口誠司 / AGUCHI,SEIJI > Subject: Re: [PATCH 2/2] selftests/pstore: add pstore test scripts going

Re: [PATCH 2/2] selftests/pstore: add pstore test scripts going with reboot

2015-09-16 Thread Hiraku Toyooka
To: Kees Cook Cc: LKML; Tony Luck; Linux API; Anton Vorontsov; Shuah Khan; Mark Salyzyn; Colin Cross; 阿口誠司 / AGUCHI,SEIJI Subject: Re: [PATCH 2/2] selftests/pstore: add pstore test scripts going with reboot Hello Kees, >> +run_crash: >> + @sh pstore_crash_test || echo

Re: [PATCH 2/2] selftests/pstore: add pstore test scripts going with reboot

2015-09-14 Thread Hiraku Toyooka
Hello Kees, >> +run_crash: >> + @sh pstore_crash_test || echo "pstore_crash_test: [FAIL]" > > This is probably better written to exit 1 on failure, otherwise it > just _says_ it fails. (Though lots of selftests in the tree already > have this problem, it's best to avoid the pattern for new

Re: [PATCH 2/2] selftests/pstore: add pstore test scripts going with reboot

2015-09-14 Thread Hiraku Toyooka
Hello Kees, >> +run_crash: >> + @sh pstore_crash_test || echo "pstore_crash_test: [FAIL]" > > This is probably better written to exit 1 on failure, otherwise it > just _says_ it fails. (Though lots of selftests in the tree already > have this problem, it's best to avoid the pattern for new

Re: [PATCH 2/2] selftests/pstore: add pstore test scripts going with reboot

2015-09-08 Thread Kees Cook
On Tue, Sep 8, 2015 at 4:06 AM, Hiraku Toyooka wrote: > To test pstore in earnest, we have to cause kernel crash and check > pstore filesystem mouted after reboot. > > We add two scripts: > - pstore_crash_test > This script to cause crash and reboot easily. It is executed by > 'make

[PATCH 2/2] selftests/pstore: add pstore test scripts going with reboot

2015-09-08 Thread Hiraku Toyooka
To test pstore in earnest, we have to cause kernel crash and check pstore filesystem mouted after reboot. We add two scripts: - pstore_crash_test This script to cause crash and reboot easily. It is executed by 'make run_pstore_crash' in selftests. - pstore_post_reboot_tests This

[PATCH 2/2] selftests/pstore: add pstore test scripts going with reboot

2015-09-08 Thread Hiraku Toyooka
To test pstore in earnest, we have to cause kernel crash and check pstore filesystem mouted after reboot. We add two scripts: - pstore_crash_test This script to cause crash and reboot easily. It is executed by 'make run_pstore_crash' in selftests. - pstore_post_reboot_tests This

Re: [PATCH 2/2] selftests/pstore: add pstore test scripts going with reboot

2015-09-08 Thread Kees Cook
On Tue, Sep 8, 2015 at 4:06 AM, Hiraku Toyooka wrote: > To test pstore in earnest, we have to cause kernel crash and check > pstore filesystem mouted after reboot. > > We add two scripts: > - pstore_crash_test > This script to cause crash and reboot easily. It