|
2 éve | |
---|---|---|
.. | ||
fapi | 2 éve | |
fixtures | 2 éve | |
tests | 2 éve | |
README.md | 2 éve | |
helpers.sh | 2 éve |
The command make check can be used to run the test scripts.
The configure option --enable-unit
must be specified and the
tpm2-abrmd
and tpm_server
must be found on $PATH
. If they are installed
in custom locations, specify or export $PATH
during configure.
For example:
./configure --enable-unit PATH=$PATH:/path/to/tpm2-abrmd:/path/to/tpm/sim/ibmtpm974/src
To add a new test, do:
test/integration/tests
directory.source helpers.sh
in the new script.start_up
.EXIT
handler, call tpm2 shutdown
in that handler.make distclean
, re-run bootstrap
and configure to pick up the new script.make check
again.