Skip to content

Commit

Permalink
tests/tpm-vm: Update long device name
Browse files Browse the repository at this point in the history
This even longer name tests for problems with device ID trmming on QEMU and tests using `/` in TPM names

Signed-off-by: hamistao <[email protected]>
  • Loading branch information
hamistao committed Jun 27, 2024
1 parent 28aafc1 commit b39b80e
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 b39b80e

Please sign in to comment.