blob: 9067a49de1bcdd2b32c2b321517f77b879b88aaf [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
Leonardo Sandoval5cfc11f2021-09-08 16:08:13 -050014expect_string+=('i;Linux version')
Paul Sokolovskye616a5c2023-08-31 15:53:11 +030015failures='CPU[0-9]+: failed to come online'
16expect_string+=("i;SMP: Total of ${num_cpus} processors activated;;${failures}")
Leonardo Sandoval5cfc11f2021-09-08 16:08:13 -050017expect_string+=('i;Freeing unused kernel memory')