ci: cram: check-for-crashes.t: fix test after tr181-syslog introduction
Commit 45e19da4b5da ("profiles: prpl: add tr181-captiveportal and
tr181-syslog") introduced configuration changes around logging files and
their rotation, thus the standard `logread` feature stopped working as
it uses only /var/log/messages file.
So lets workaround that by using getDebugInformation command in the
meantime.
References: PCF-1316
Fixes: 45e19da4b5da ("profiles: prpl: add tr181-captiveportal and tr181-syslog")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
This commit is contained in:
parent
57c9ced798
commit
cd5fa16bb0
@ -4,7 +4,7 @@ Create R alias:
|
||||
|
||||
Check that there are no signs of crashes:
|
||||
|
||||
$ R "logread" | \
|
||||
$ R "getDebugInformation --log --output /dev/stdout" | \
|
||||
> grep -C10 -E \
|
||||
> -e '(traps:.*general protection|segfault at [[:digit:]]+ ip.*error.*in)' \
|
||||
> -e 'do_page_fault\(\): sending' \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user