]> git.proxmox.com Git - swtpm.git/commit - tests/test_tpm2_swtpm_localca
Move swtpm_localca sources from samples/ to src/
authorNick Chevsky <nchevsky@users.noreply.github.com>
Sat, 24 Jul 2021 18:54:40 +0000 (13:54 -0500)
committerStefan Berger <stefanb@us.ibm.com>
Sun, 25 Jul 2021 12:52:13 +0000 (08:52 -0400)
commitddc7521653385280d03fe2b0c2ea633ee058977e
tree1a0702c209fe4f1b6e1552655216c08591c65d75
parentedfb8d8ad9ae8453d8285e9c884078cec0819c2e
Move swtpm_localca sources from samples/ to src/

- Move swtpm_localca's sources out of samples/ (where they no longer
  belong now that swtpm_localca is a binary) to src/swtpm_localca/.
- Tests now call the swtpm_localca binary directly at the location
  where it was built, as they do with all other compiled programs.
- Simplify samples/swtpm-localca.in and delete swtpm-localca.2inst,
  removing the now-unnecessary logic to selectively call swtpm_localca
  from different locations (samples/ when running tests vs. /usr/bin/
  post-installation).

Signed-off-by: Nick Chevsky <nchevsky@users.noreply.github.com>
26 files changed:
.gitignore
configure.ac
samples/Makefile.am
samples/swtpm-localca.2inst.in [deleted file]
samples/swtpm-localca.in
samples/swtpm_localca.c [deleted file]
samples/swtpm_localca.h [deleted file]
samples/swtpm_localca_conf.h.in [deleted file]
samples/swtpm_localca_utils.c [deleted file]
samples/swtpm_localca_utils.h [deleted file]
src/Makefile.am
src/swtpm_localca/Makefile.am [new file with mode: 0644]
src/swtpm_localca/swtpm_localca.c [new file with mode: 0644]
src/swtpm_localca/swtpm_localca.h [new file with mode: 0644]
src/swtpm_localca/swtpm_localca_conf.h.in [new file with mode: 0644]
src/swtpm_localca/swtpm_localca_utils.c [new file with mode: 0644]
src/swtpm_localca/swtpm_localca_utils.h [new file with mode: 0644]
tests/Makefile.am
tests/test_samples_create_tpmca
tests/test_swtpm_setup_create_cert
tests/test_tpm2_samples_create_tpmca
tests/test_tpm2_samples_swtpm_localca [deleted file]
tests/test_tpm2_samples_swtpm_localca_pkcs11 [deleted file]
tests/test_tpm2_swtpm_localca [new file with mode: 0755]
tests/test_tpm2_swtpm_localca_pkcs11 [new file with mode: 0755]
tests/test_tpm2_swtpm_setup_create_cert