From cd5fa16bb04d54501c0132aaffdd3a378bf3ee56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Wed, 24 Jul 2024 07:48:30 +0000 Subject: [PATCH] ci: cram: check-for-crashes.t: fix test after tr181-syslog introduction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .gitlab/tests/cram/generic/check-for-crashes.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab/tests/cram/generic/check-for-crashes.t b/.gitlab/tests/cram/generic/check-for-crashes.t index 17c8e9a40c..7195df3655 100644 --- a/.gitlab/tests/cram/generic/check-for-crashes.t +++ b/.gitlab/tests/cram/generic/check-for-crashes.t @@ -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' \