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:
Petr Štetiar 2024-07-24 07:48:30 +00:00
parent 57c9ced798
commit cd5fa16bb0
No known key found for this signature in database
GPG Key ID: 58EE120F30CC02D3

View File

@ -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' \