Skip to content

Commit

Permalink
Merge pull request #211 from hamistao/update_tpm_tests
Browse files Browse the repository at this point in the history
Update long device name on TPM tests
  • Loading branch information
tomponline authored Jul 3, 2024
2 parents 45fca24 + b39b80e commit 4578bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tpm-vm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ lxc stop "${vmName}" --force

# TPM names are included on the swtpm socket path and long socket paths can cause problems if not handled correctly.
echo "==> Test handling TPMs with long names"
longName="tpm-device-with-long-name-for-testing"
longName="device-with-very-long-name-and-/-4-qemu-property-handling-test_"
# XXX: LXD releases 5.21 and earlier don't support long names (yet)
if echo "${LXD_SNAP_CHANNEL}" | grep -E '^([45]\.0|5\.21)/'; then
echo "::warning::${LXD_SNAP_CHANNEL} detected, using a shorter name"
Expand Down

0 comments on commit 4578bf5

Please sign in to comment.