2020-06-23 05:20:22 +08:00
|
|
|
#!/bin/sh
|
2019-02-04 21:16:40 +08:00
|
|
|
# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
|
|
|
|
|
2020-05-21 22:43:44 +08:00
|
|
|
# Kselftest framework requirement - SKIP code is 4.
|
|
|
|
ksft_skip=4
|
|
|
|
|
2020-06-23 05:20:21 +08:00
|
|
|
[ -e /dev/tpm0 ] || exit $ksft_skip
|
2020-05-21 22:43:44 +08:00
|
|
|
|
2020-06-26 11:40:52 +08:00
|
|
|
python3 -m unittest -v tpm2_tests.SmokeTest
|
|
|
|
python3 -m unittest -v tpm2_tests.AsyncTest
|