diff options
author | Cédric Le Goater <clg@redhat.com> | 2024-11-05 14:23:39 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-11-08 06:13:34 +0100 |
commit | feda2611b98ae962efbcacce9352636798213e5f (patch) | |
tree | aa5ca1a94f68dd94105cbb0cc3f853f42d5e8fdd /tests | |
parent | 6a564c8a183fb585d8fedf055b3566cb1f7a9b07 (diff) |
test/functional: Fix Aspeed buildroot tests
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>
Diffstat (limited to 'tests')
-rwxr-xr-x[-rw-r--r--] | tests/functional/test_arm_aspeed.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/test_arm_aspeed.py b/tests/functional/test_arm_aspeed.py index 9761fc06a4..19853161b2 100644..100755 --- a/tests/functional/test_arm_aspeed.py +++ b/tests/functional/test_arm_aspeed.py @@ -125,7 +125,7 @@ class AST2x00Machine(LinuxKernelTest): 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() |