From b39b80e715e84b76b18941dbdbcde83b2d3f7b9b Mon Sep 17 00:00:00 2001 From: hamistao Date: Thu, 27 Jun 2024 01:31:38 -0300 Subject: [PATCH] tests/tpm-vm: Update long device name This even longer name tests for problems with device ID trmming on QEMU and tests using `/` in TPM names Signed-off-by: hamistao --- tests/tpm-vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tpm-vm b/tests/tpm-vm index 3c8ccf130..bb9ec0296 100755 --- a/tests/tpm-vm +++ b/tests/tpm-vm @@ -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"