Stefan Berger
01aa2ed3af
tests: Run tests also on socket interfaces
...
Refactor the tests so that they all run on socket interfaces as well.
Use socket ports in the range of 65400-65499 for TPM 1.2 tests.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2017-07-11 14:04:40 -04:00
Stefan Berger
89d85f9a93
test: Add --log parameter to test logging
...
Add the --log parameter to test log levels 1 and 20.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2017-02-03 15:15:31 -05:00
Stefan Berger
85bae89bb0
tests: source script relative to directory
...
'source' tests_cuse relative to the tests directory
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2016-04-15 22:16:00 -04:00
Stefan Berger
96038cdfec
tests: move modprobe cuse into common file
...
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-12-13 21:23:12 -05:00
Stefan Berger
2c3c8d27d2
tests: fix more typos
...
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-08-03 09:56:27 -04:00
Stefan Berger
d7fc046934
tests: cleanup testcases
...
Cleanup the test cases:
- remove unnecessary sleeps
- check exit code of swtpm_ioctl
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-06-30 10:42:15 -04:00
Stefan Berger
1140f4c656
tests: bail out if modprobe cuse fails
...
Terminate the test case immediately if modprobe cuse fails.
2015-04-02 06:43:39 -04:00
Stefan Berger
e150007d18
Allow tests to run in parallel
...
Create uniqe names for the /dev/vtpm* so that tests can run in parallel.
Also separate the state directories of the TPMs into individual temporary
dirs.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2014-12-19 16:10:59 -05:00
Stefan Berger
e46a2b6686
merging swtpm-tools into this project
2014-12-05 13:43:21 -05:00