xref: /linux/tools/testing/selftests/tpm2/test_async.sh (revision 0c436dfe5c25d0931b164b944165259f95e5281f)
1#!/bin/sh
2# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3
4# Kselftest framework requirement - SKIP code is 4.
5ksft_skip=4
6
7[ -e /dev/tpm0 ] || exit $ksft_skip
8[ -e /dev/tpmrm0 ] || exit $ksft_skip
9
10python3 -m unittest -v tpm2_tests.AsyncTest 2>&1
11