blob: 1a657c389e49fc3c0e814c924d8210053ee2c83b [file] [log] [blame]
Paul Sokolovskye1367432021-12-14 14:56:37 +03001#!/usr/bin/env python3
2#
3# Copyright (c) 2021, Linaro Limited
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8import sys
9
10
11found = False
12
13with open(sys.argv[1]) as f:
14 for l in f:
15 if "Booting Secure Partition" in l:
16 found = True
17
18if found:
19 sys.exit(0)
20else:
21 sys.exit(1)