test/functional: Fix Aspeed buildroot tests
Since commit786bc22552
, cached asset files are read-only. Adjust the QEMU command line for buildroot tests to reflect the new constraint on the flash drive. Fixes:f04cb2d00d
("tests/functional: Convert most Aspeed machine tests") Suggested-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241105132339.2967202-1-clg@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
6a564c8a18
commit
feda2611b9
2
tests/functional/test_arm_aspeed.py
Normal file → Executable file
2
tests/functional/test_arm_aspeed.py
Normal file → Executable file
@ -125,7 +125,7 @@ class AST2x00Machine(LinuxKernelTest):
|
|||||||
def do_test_arm_aspeed_buildroot_start(self, image, cpu_id, pattern='Aspeed EVB'):
|
def do_test_arm_aspeed_buildroot_start(self, image, cpu_id, pattern='Aspeed EVB'):
|
||||||
self.require_netdev('user')
|
self.require_netdev('user')
|
||||||
self.vm.set_console()
|
self.vm.set_console()
|
||||||
self.vm.add_args('-drive', 'file=' + image + ',if=mtd,format=raw',
|
self.vm.add_args('-drive', 'file=' + image + ',if=mtd,format=raw,read-only=true',
|
||||||
'-net', 'nic', '-net', 'user')
|
'-net', 'nic', '-net', 'user')
|
||||||
self.vm.launch()
|
self.vm.launch()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user