swtpm/tests/_test_migration_key_2
Stefan Berger 5b51dc6a58 tests: Fix issues related to SC2164
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2023-01-13 21:02:51 -05:00

18 lines
393 B
Bash
Executable File

#!/bin/bash
# Run the test_save_load_encrypted_state with swtpm_ioctl using the
# read/write interface rather than ioctl
export VTPM_NAME="vtpm-test2-migration-key"
cd "$(dirname "$0")" || exit 1
export SWTPM_IOCTL_BUFFERSIZE=100
bash test_migration_key
ret=$?
[ $ret -ne 0 ] && exit $ret
export SWTPM_IOCTL_BUFFERSIZE=4096
bash test_migration_key
ret=$?
[ $ret -ne 0 ] && exit $ret
exit 0