summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/tpm2/test_space.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/tpm2/test_space.sh')
-rwxr-xr-xtools/testing/selftests/tpm2/test_space.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/tpm2/test_space.sh b/tools/testing/selftests/tpm2/test_space.sh
index 36c9d030a1c6..847cabb20a5f 100755
--- a/tools/testing/selftests/tpm2/test_space.sh
+++ b/tools/testing/selftests/tpm2/test_space.sh
@@ -4,6 +4,6 @@
# Kselftest framework requirement - SKIP code is 4.
ksft_skip=4
-[ -f /dev/tpmrm0 ] || exit $ksft_skip
+[ -e /dev/tpmrm0 ] || exit $ksft_skip
python -m unittest -v tpm2_tests.SpaceTest