* [tpm2] [01org/tpm2-tools] 69bd17: test: make sure temp files are cleaned up on test_...
@ 2017-09-11 21:59 GitHub
0 siblings, 0 replies; only message in thread
From: GitHub @ 2017-09-11 21:59 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 1500 bytes --]
Branch: refs/heads/master
Home: https://github.com/01org/tpm2-tools
Commit: 69bd17f53b48f3779a0f159fb215513a7b5c31f8
https://github.com/01org/tpm2-tools/commit/69bd17f53b48f3779a0f159fb215513a7b5c31f8
Author: Javier Martinez Canillas <javierm(a)redhat.com>
Date: 2017-09-11 (Mon, 11 Sep 2017)
Changed paths:
M test/system/test_tpm2_nv.sh
Log Message:
-----------
test: make sure temp files are cleaned up on test_tpm2_nv.sh exit
If the test is interrupted, then temporary files may not be cleaned up
correctly. Ensure that the files are always removed on the script exit.
Signed-off-by: Javier Martinez Canillas <javierm(a)redhat.com>
Commit: 691a7e519dbe907cd97febd47589652810716072
https://github.com/01org/tpm2-tools/commit/691a7e519dbe907cd97febd47589652810716072
Author: Javier Martinez Canillas <javierm(a)redhat.com>
Date: 2017-09-11 (Mon, 11 Sep 2017)
Changed paths:
M test/system/test_tpm2_nv.sh
Log Message:
-----------
test: simplify commands exit code error checking for test_tpm2_nv.sh
Many tests are now defining a handler for Bash's ERR signal to avoid the
need to check the exit status for each executed command. Do the same for
the test_tpm2_nv.sh script.
While being there, also relase the NV area index in the exit handler.
Signed-off-by: Javier Martinez Canillas <javierm(a)redhat.com>
Compare: https://github.com/01org/tpm2-tools/compare/0d4aedd09b9e...691a7e519dbe
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-09-11 21:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-11 21:59 [tpm2] [01org/tpm2-tools] 69bd17: test: make sure temp files are cleaned up on test_ GitHub
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.