swtpm/tests
Stefan Berger b945230493 tests: Try with tcsd.conf ownership of root:tss if tss:tss did not work
Due to recent changes in tcsd, it doesn't accept 'tss:tss 0600' anymore
for the tcsd config file but we need to use 'root:tss 0640' for it.
So far only Fedora seems to be affected. It now depends on whether tcsd
has been patched what ownership is required. So we try first the old
configuration and then the new one.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-11-09 08:51:08 -05:00
..
data tests: Add test case for loading of an NVRAM completely full with keys 2020-04-24 15:03:03 -04:00
patches tests: Use the IBM TSS2 v1.5.0's test suite 2020-07-13 11:10:56 -04:00
_test_encrypted_state tests: Use bash's built-in echo rather than /bin/echo 2018-11-19 18:50:42 -05:00
_test_getcap tests: Increase timeout for shutdown for running with valgrind 2018-10-01 12:52:20 -04:00
_test_hashing tests: Increase timeout for shutdown for running with valgrind 2018-10-01 12:52:20 -04:00
_test_hashing2 tests: Check expected error output against expected error message 2018-10-08 06:43:30 -04:00
_test_init tests: Allow seccomp override w/ SWTPM_TEST_SECCOMP_OPT env var 2020-01-15 15:49:51 -05:00
_test_locality tests: Increase timeout for shutdown for running with valgrind 2018-10-01 12:52:20 -04:00
_test_migration_key tests: Check expected error output against expected error message 2018-10-08 06:43:30 -04:00
_test_migration_key_2 tests: Run tests also on socket interfaces 2017-07-11 14:04:40 -04:00
_test_print_capabilities swtpm_setup: Get rid of 'c' code and support changing user in python 2020-09-09 09:53:05 -04:00
_test_resume_volatile tests: Call function rather than running 'ps aux' to display proceses 2018-09-27 10:19:09 -04:00
_test_save_load_encrypted_state tests: Convert existing test case to use file descriptor for reading password 2019-06-24 07:27:39 -04:00
_test_save_load_state tests: Increase timeout for shutdown for running with valgrind 2018-10-01 12:52:20 -04:00
_test_setbuffersize tests: Check expected error output against expected error message 2018-10-08 06:43:30 -04:00
_test_swtpm_bios tests: wait for files to appear or disappear after starting swtpm 2018-10-01 12:52:20 -04:00
_test_tpm2_derived_keys tests: Skip derived key test 1st part on big endian machines 2020-05-27 13:18:54 -04:00
_test_tpm2_encrypted_state tests: Adapt test cases' expected PCR result due to libtpms TPM 2 fix 2020-06-29 08:18:23 -04:00
_test_tpm2_getcap tests: Check expected error output against expected error message 2018-10-08 06:43:30 -04:00
_test_tpm2_hashing tests: Increase timeout for shutdown for running with valgrind 2018-10-01 12:52:20 -04:00
_test_tpm2_hashing2 tests: Check expected error output against expected error message 2018-10-08 06:43:30 -04:00
_test_tpm2_hashing3 tests: Adapt test cases' expected PCR result due to libtpms TPM 2 fix 2020-06-29 08:18:23 -04:00
_test_tpm2_init tests: Allow seccomp override w/ SWTPM_TEST_SECCOMP_OPT env var 2020-01-15 15:49:51 -05:00
_test_tpm2_locality tests: Increase timeout for shutdown for running with valgrind 2018-10-01 12:52:20 -04:00
_test_tpm2_migration_key tests: Check expected error output against expected error message 2018-10-08 06:43:30 -04:00
_test_tpm2_print_capabilities swtpm_setup: Get rid of 'c' code and support changing user in python 2020-09-09 09:53:05 -04:00
_test_tpm2_probe tests: Extend tests cases with test for active seccomp profiles 2019-03-18 15:43:44 -04:00
_test_tpm2_resume_volatile tests: Call function rather than running 'ps aux' to display proceses 2018-09-27 10:19:09 -04:00
_test_tpm2_save_load_encrypted_state tests: Adapt test cases' expected PCR result due to libtpms TPM 2 fix 2020-06-29 08:18:23 -04:00
_test_tpm2_save_load_state tests: Increase timeout for shutdown for running with valgrind 2018-10-01 12:52:20 -04:00
_test_tpm2_save_load_state_da_timeout tests: Fix tests for slow/busy system by taking time again (DA timeout test) 2020-08-26 21:34:16 -04:00
_test_tpm2_savestate tests: Adapt test cases' expected PCR result due to libtpms TPM 2 fix 2020-06-29 08:18:23 -04:00
_test_tpm2_setbuffersize tests: Check expected error output against expected error message 2018-10-08 06:43:30 -04:00
_test_tpm2_swtpm_bios tests: wait for files to appear or disappear after starting swtpm 2018-10-01 12:52:20 -04:00
_test_tpm2_volatilestate tests: Adapt test cases' expected PCR result due to libtpms TPM 2 fix 2020-06-29 08:18:23 -04:00
_test_tpm2_wrongorder tests: Check expected error output against expected error message 2018-10-08 06:43:30 -04:00
_test_tpm_probe tests: Extend tests cases with test for active seccomp profiles 2019-03-18 15:43:44 -04:00
_test_volatilestate tests: Increase timeout for shutdown for running with valgrind 2018-10-01 12:52:20 -04:00
_test_wrongorder tests: Increase timeout for shutdown for running with valgrind 2018-10-01 12:52:20 -04:00
common tests: Allow 'ss' as an alternative to 'netstat' 2020-10-02 15:56:42 -04:00
create_certs.sh scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
load_vtpm_proxy tests: Skip CUSE TPM related tests if cuse module is not available 2017-02-02 09:01:55 -05:00
Makefile.am swtpm_setup: Switch over to new python tool and get rid of the bash script 2020-08-28 16:27:15 -04:00
softhsm_setup tests: Enable softhsm_setup to work with a temporary directory 2020-08-27 20:26:27 -04:00
swtpm_setup.conf treewide: remove executable bit from config files and c-code 2018-01-17 10:45:25 -05:00
test_clientfds.py tests: Allow seccomp override w/ SWTPM_TEST_SECCOMP_OPT env var 2020-01-15 15:49:51 -05:00
test_commandline swtpm_setup: Switch over to new python tool and get rid of the bash script 2020-08-28 16:27:15 -04:00
test_common test: Add --log parameter to test logging 2017-02-03 15:15:31 -05:00
test_config.in build: remove hardcoded tss user and group 2015-11-02 20:47:37 -05:00
test_ctrlchannel tests: Adjust tests to use new startup options 2020-02-08 18:19:08 -05:00
test_ctrlchannel2 tests: Allow seccomp override w/ SWTPM_TEST_SECCOMP_OPT env var 2020-01-15 15:49:51 -05:00
test_ctrlchannel3 tests: Allow seccomp override w/ SWTPM_TEST_SECCOMP_OPT env var 2020-01-15 15:49:51 -05:00
test_ctrlchannel4 tests: Allow seccomp override w/ SWTPM_TEST_SECCOMP_OPT env var 2020-01-15 15:49:51 -05:00
test_cuse tests: Skip CUSE tests if not compiled with CUSE interface 2018-06-11 10:35:14 -04:00
test_encrypted_state scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_getcap scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_hashing scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_hashing2 scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_init scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_locality scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_migration_key scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_parameters swtpm_setup: Get rid of 'c' code and support changing user in python 2020-09-09 09:53:05 -04:00
test_print_capabilities tests: Add test case for --print-capabilities test 2019-07-12 14:18:20 -04:00
test_resume_volatile scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_samples_create_tpmca tests: Try with tcsd.conf ownership of root:tss if tss:tss did not work 2020-11-09 08:51:08 -05:00
test_save_load_encrypted_state scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_save_load_state scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_setbuffersize scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_setdatafd.py tests: Make python test code independent of python 2 or 3 2018-08-07 12:19:47 -04:00
test_swtpm_bios scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_swtpm_cert swtpm_cert: Allow passing signing key and parent key via new option 2020-01-30 08:52:58 -05:00
test_swtpm_setup_create_cert swtpm_setup: Get rid of 'c' code and support changing user in python 2020-09-09 09:53:05 -04:00
test_tpm2_ctrlchannel2 tests: Adapt test cases' expected PCR result due to libtpms TPM 2 fix 2020-06-29 08:18:23 -04:00
test_tpm2_derived_keys tests: Ensure that derived keys are always the same for the same state 2019-06-14 22:18:48 -04:00
test_tpm2_encrypted_state scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_getcap scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_hashing scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_hashing2 scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_hashing3 scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_ibmtss2 tests: Use the IBM TSS2 v1.5.0's test suite 2020-07-13 11:10:56 -04:00
test_tpm2_init scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_locality scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_migration_key scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_parameters swtpm_setup: Get rid of 'c' code and support changing user in python 2020-09-09 09:53:05 -04:00
test_tpm2_print_capabilities tests: Add test case for 'swtpm <iface> --tpm2 --print-capabilities' 2020-04-23 16:02:47 -04:00
test_tpm2_probe scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_resume_volatile scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_samples_create_tpmca tests: start tpm2-abrmd for test case 2020-09-22 11:40:57 -04:00
test_tpm2_samples_swtpm_localca samples: Apply password for signing key when creating platform cert (bugfix) 2020-09-15 21:08:32 -04:00
test_tpm2_samples_swtpm_localca_pkcs11 swtpm_setup: Switch over to new python tool and get rid of the bash script 2020-08-28 16:27:15 -04:00
test_tpm2_save_load_encrypted_state scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_save_load_state tests: Assign unique ports 65452/65453 to test_tpm2_save_load_state 2020-08-06 15:37:10 -04:00
test_tpm2_save_load_state_2 tests: Pass -pc 80 to tssgetcapability to see all 65 handles 2020-04-25 13:43:10 -04:00
test_tpm2_save_load_state_3 tests: Revert accidental port change from commit 0194fb22a 2020-04-22 16:54:19 -04:00
test_tpm2_save_load_state_da_timeout scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_savestate scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_setbuffersize tests: Assign unique ports 65448/65449 to test_tpm2_setbuffersize 2020-08-06 15:37:10 -04:00
test_tpm2_swtpm_bios scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_swtpm_cert tests: Allow passing SWTPM_CERT from command line 2018-11-17 16:37:03 -05:00
test_tpm2_swtpm_cert_ecc tests: Allow passing SWTPM_CERT from command line 2018-11-17 16:37:03 -05:00
test_tpm2_swtpm_setup_create_cert swtpm_setup: Get rid of 'c' code and support changing user in python 2020-09-09 09:53:05 -04:00
test_tpm2_volatilestate scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm2_vtpm_proxy tests: Adapt test cases' expected PCR result due to libtpms TPM 2 fix 2020-06-29 08:18:23 -04:00
test_tpm2_wrongorder scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_tpm12 tests: Repeat download of TPM 1.2 test suite with random wait intervals 2020-04-24 12:56:08 -04:00
test_tpm_probe scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_volatilestate scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00
test_vtpm_proxy swtpm: Fix vtpm proxy case without startup flags 2020-03-07 09:09:14 -05:00
test_wrongorder scripting: Use #!/usr/bin/env bash rather than /bin/bash 2018-09-10 16:49:12 +00:00