Browse Source

tests/functional/arm/test_aspeed_ast2600_sdk_otp: Update test ASPEED OpenBMC SDK v11.01

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20260303063930.2878300-7-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
master
Jamin Lin 4 weeks ago
committed by Cédric Le Goater
parent
commit
81dfadfab1
  1. 10
      tests/functional/arm/test_aspeed_ast2600_sdk_otp.py

10
tests/functional/arm/test_aspeed_ast2600_sdk_otp.py

@ -12,15 +12,15 @@ from qemu_test import exec_command_and_wait_for_pattern
class AST2600Machine(AspeedTest):
ASSET_SDK_V1100_AST2600 = Asset(
'https://github.com/AspeedTech-BMC/openbmc/releases/download/v11.00/ast2600-default-obmc.tar.gz',
'64d8926a7d01b649168be96c986603b5690f06391286c438a3a772c8c7039e93')
ASSET_SDK_V1101_AST2600 = Asset(
'https://github.com/AspeedTech-BMC/openbmc/releases/download/v11.01/ast2600-default-image.tar.gz',
'3c5b4d4ccf27b0d208a073f98426db54cd751b96143180cd15df1a83978f832c')
def test_arm_ast2600_otp_blockdev_device(self):
self.vm.set_machine("ast2600-evb")
self.require_netdev('user')
image_path = self.archive_extract(self.ASSET_SDK_V1100_AST2600)
image_path = self.archive_extract(self.ASSET_SDK_V1101_AST2600)
otp_img = self.generate_otpmem_image()
self.vm.set_console()
@ -29,7 +29,7 @@ class AST2600Machine(AspeedTest):
"-global", "aspeed-otp.drive=otp",
)
self.vm.add_args('-drive', 'file=' +
self.scratch_file("ast2600-default", "image-bmc") +
self.scratch_file("ast2600-default-image", "image-bmc") +
',if=mtd,format=raw',
'-net', 'nic', '-net', 'user', '-snapshot')
self.vm.launch()

Loading…
Cancel
Save