xref: /linux/tools/testing/selftests/tpm2/test_space.sh (revision 5627f9cffee73dca9762135b6a8c7ab7213f31e2)
16ea3dfe1SJarkko Sakkinen#!/bin/bash
26ea3dfe1SJarkko Sakkinen# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
36ea3dfe1SJarkko Sakkinen
4*5627f9cfSNikita Sobolev# Kselftest framework requirement - SKIP code is 4.
5*5627f9cfSNikita Sobolevksft_skip=4
6*5627f9cfSNikita Sobolev
7*5627f9cfSNikita Sobolev[ -f /dev/tpmrm0 ] || exit $ksft_skip
8*5627f9cfSNikita Sobolev
96ea3dfe1SJarkko Sakkinenpython -m unittest -v tpm2_tests.SpaceTest
10