summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/tpm2/test_smoke.sh
blob: 20fa70f970a9a72d70441b9882dbd39acc97fb7b (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)

# Kselftest framework requirement - SKIP code is 4.
ksft_skip=4

[ -e /dev/tpm0 ] || exit $ksft_skip

python3 -m unittest -v tpm2_tests.SmokeTest 2>&1