summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tpm2/test_smoke.sh
blob: 58af963e5b55a8b24372767c20a6fa492840d167 (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