16ea3dfe1SJarkko Sakkinen#!/bin/bash 26ea3dfe1SJarkko Sakkinen# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 36ea3dfe1SJarkko Sakkinen 46ea3dfe1SJarkko Sakkinenpython -m unittest -v tpm2_tests.SmokeTest 58f84bddcSTadeusz Strukpython -m unittest -v tpm2_tests.AsyncTest 6*a9920d3bSTadeusz Struk 7*a9920d3bSTadeusz StrukCLEAR_CMD=$(which tpm2_clear) 8*a9920d3bSTadeusz Strukif [ -n $CLEAR_CMD ]; then 9*a9920d3bSTadeusz Struk tpm2_clear -T device 10*a9920d3bSTadeusz Strukfi 11