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

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

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

python -m unittest -v tpm2_tests.SmokeTest
python -m unittest -v tpm2_tests.AsyncTest