[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/10] test/functional: Fix Aspeed buildroot tests
From: |
Thomas Huth |
Subject: |
[PULL 03/10] test/functional: Fix Aspeed buildroot tests |
Date: |
Fri, 8 Nov 2024 11:43:03 +0100 |
From: Cédric Le Goater <clg@redhat.com>
Since commit 786bc2255256, cached asset files are read-only. Adjust
the QEMU command line for buildroot tests to reflect the new
constraint on the flash drive.
Fixes: f04cb2d00d5c ("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>
---
tests/functional/test_arm_aspeed.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
mode change 100644 => 100755 tests/functional/test_arm_aspeed.py
diff --git a/tests/functional/test_arm_aspeed.py
b/tests/functional/test_arm_aspeed.py
old mode 100644
new mode 100755
index 9761fc06a4..19853161b2
--- a/tests/functional/test_arm_aspeed.py
+++ b/tests/functional/test_arm_aspeed.py
@@ -125,7 +125,7 @@ def test_arm_ast2500_romulus_openbmc_v2_9_0(self):
def do_test_arm_aspeed_buildroot_start(self, image, cpu_id,
pattern='Aspeed EVB'):
self.require_netdev('user')
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')
self.vm.launch()
--
2.47.0
- [PULL 00/10] Functional test fixes & next-cube cleanup, Thomas Huth, 2024/11/08
- [PULL 01/10] scripts/checkpatch.pl: Ignore ObjC #import lines for operator spacing, Thomas Huth, 2024/11/08
- [PULL 03/10] test/functional: Fix Aspeed buildroot tests,
Thomas Huth <=
- [PULL 02/10] tests/functional: Convert the riscv_opensbi avocado test into a standalone test, Thomas Huth, 2024/11/08
- [PULL 04/10] tests/functional: Fix the ppc64_hv and the ppc_40p test for read-only assets, Thomas Huth, 2024/11/08
- [PULL 05/10] tests/functional: Provide the user with hints where to find more log files, Thomas Huth, 2024/11/08
- [PULL 06/10] tests/functional: Bump timeouts of functional tests, Thomas Huth, 2024/11/08
- [PULL 07/10] tests/functional: Split the test_aarch64_sbsaref test, Thomas Huth, 2024/11/08
- [PULL 08/10] tests: refresh package lists with latest libvirt-ci, Thomas Huth, 2024/11/08
- [PULL 09/10] next-kbd: convert to use qemu_input_handler_register(), Thomas Huth, 2024/11/08
- [PULL 10/10] ui/input-legacy.c: remove unused legacy qemu_add_kbd_event_handler() function, Thomas Huth, 2024/11/08
- Re: [PULL 00/10] Functional test fixes & next-cube cleanup, Peter Maydell, 2024/11/09