Skip to content

Commit

Permalink
tests: Use 'cp -f' for copying over existing files (Travis issue)
Browse files Browse the repository at this point in the history
Use 'cp -f' to force-copy over existing files. This solves an issue
seen only on Travis.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
  • Loading branch information
stefanberger committed Apr 15, 2020
1 parent f30e202 commit ebd3688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/_test_tpm2_derived_keys
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ echo "Testing new CryptAdjustPrimeCandidate implementation"
# copy all the state files; the files need libtpms (0.8.0) with
# TPM 2.0 revsion 155; there the seeds are setup so that the fixed
# RSA key generation algorithm is used
cp ${TESTDIR}/data/tpm2state4/* ${TPM_PATH}
cp -f ${TESTDIR}/data/tpm2state4/* ${TPM_PATH}

run_swtpm ${SWTPM_INTERFACE} --tpm2

Expand Down

0 comments on commit ebd3688

Please sign in to comment.