repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git]
/
tools
/
testing
/
selftests
/
tpm2
/
test_smoke.sh
blob
8155c2ea7ccbb6ed1b9685f3c602105eb2c26173
1
#!/bin/bash
2
# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3
4
python
-m
unittest
-v
tpm2_tests.SmokeTest
5
python
-m
unittest
-v
tpm2_tests.AsyncTest
6
7
CLEAR_CMD
=
$
(
which
tpm2_clear
)
8
if
[
-n
$CLEAR_CMD
];
then
9
tpm2_clear
-T
device
10
fi