From 6a2e92ccbb7e13cf5f9c698ad2a12d47d2fa2e4c Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Thu, 10 Jun 2021 23:26:16 -0700 Subject: [PATCH] check-sof-logger.sh: do not assume FW ABI banner starts with ERROR ... because it's not an error. Required by https://github.com/thesofproject/sof/pull/4334 Signed-off-by: Marc Herbert --- test-case/check-sof-logger.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-case/check-sof-logger.sh b/test-case/check-sof-logger.sh index a51997eb..0ba4b428 100755 --- a/test-case/check-sof-logger.sh +++ b/test-case/check-sof-logger.sh @@ -144,8 +144,8 @@ main() print_logs_exit 1 "Log header not found in ${data_file}" # See initial message SOF PR #3281 / SOF commit 67a0a69 - grep -q 'dma-trace.c.*ERROR FW ABI.*tag.*hash' "$tracef" || - print_logs_exit 1 "Initial ERROR FW ABI message not found in ${data_file}" + grep -q 'dma-trace.c.*FW ABI.*tag.*hash' "$tracef" || + print_logs_exit 1 "Initial FW ABI banner not found in ${data_file}" done # This is a bit redundant with the previous test but does not hurt.