]> git.ipfire.org Git - thirdparty/linux.git/blame - tools/testing/selftests/tpm2/test_smoke.sh
Merge tag 'block-5.7-2020-05-16' of git://git.kernel.dk/linux-block
[thirdparty/linux.git] / tools / testing / selftests / tpm2 / test_smoke.sh
CommitLineData
6ea3dfe1
JS
1#!/bin/bash
2# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3
aaa2d92e
JS
4python -m unittest -v tpm2_tests.SmokeTest
5python -m unittest -v tpm2_tests.AsyncTest
a9920d3b
TS
6
7CLEAR_CMD=$(which tpm2_clear)
8if [ -n $CLEAR_CMD ]; then
9 tpm2_clear -T device
10fi