blob: a7cced7aaa6ad637fdac62af2d16576df0a848e7 [file] [log] [blame]
Leonardo Sandoval6eff3f72021-05-03 11:12:37 -05001#
2# Copyright (c) 2021 Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6# Script to interact with a Linux kernel
7#
8
9# Expect 8 CPUs in total by default
10if [ -z "${num_cpus}" ]; then
11 num_cpus=8
12fi
13
Paul Sokolovskydc26c892024-02-25 16:34:24 +070014failures='Kernel panic'
15expect_string+=("i;Linux version;;${failures}")
Paul Sokolovskye616a5c2023-08-31 15:53:11 +030016failures='CPU[0-9]+: failed to come online'
17expect_string+=("i;SMP: Total of ${num_cpus} processors activated;;${failures}")
Leonardo Sandoval5cfc11f2021-09-08 16:08:13 -050018expect_string+=('i;Freeing unused kernel memory')