summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tpm2/test_smoke.sh
blob: 3e5ff29ee1dd9f9e14c31b02ca1859145b1afd76 (plain)
1
2
3
4
5
6
7
8
9
10
#!/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
python3 -m unittest -v tpm2_tests.AsyncTest