summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tpm2/test_async.sh
blob: 43bf5bd772fd443437f5efee999a0417538171ec (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
[ -e /dev/tpmrm0 ] || exit $ksft_skip

python3 -m unittest -v tpm2_tests.AsyncTest