Thread (16 messages) flat view 16 messages, 4 authors, 2015-09-29

Re: [PATCH 1/2] selftests/pstore: add pstore test script for pre-reboot

From: Mark Salyzyn <hidden>
Date: 2015-09-08 23:22:51
Also in: lkml

On 09/08/2015 04:06 AM, Hiraku Toyooka wrote:
The pstore_tests script includes test cases which check pstore's
behavior before crash (and reboot).

The test cases are currently following.

- Check pstore backend is registered
- Check pstore console is registered
- Check /dev/pmsg0 exists
- Write string to /dev/pmsg0

. . .
+TEST_STRING="Testing pstore"
. . .
+prlog -n "Checking pmsg file contains TEST_STRING ... "
+grep -q "${TEST_STRING}" pmsg-${backend}-0
Mark this as 'wish to have'

Can TEST_STRING be given an unique value each run, so that on the the 
reboot-comparison run it can be found to be an unique match? Also 
confirm that any previous content (which may be binary) is not present 
after reboot, and that totally new content is present.

Sincerely -- Mark Salyzyn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help