xref: /kernel/linux/linux-5.10/tools/testing/selftests/tpm2/test_smoke.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/tools/testing/selftests/tpm2/
18c2ecf20Sopenharmony_ci#!/bin/sh
28c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci# Kselftest framework requirement - SKIP code is 4.
58c2ecf20Sopenharmony_ciksft_skip=4
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci[ -e /dev/tpm0 ] || exit $ksft_skip
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cipython3 -m unittest -v tpm2_tests.SmokeTest
108c2ecf20Sopenharmony_cipython3 -m unittest -v tpm2_tests.AsyncTest
11

Indexes created Thu Nov 07 10:32:03 CST 2024