diff options
| author | Thomas Huth <thuth@redhat.com> | 2024-11-05 17:09:26 +0100 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2024-11-08 06:13:34 +0100 |
| commit | dd6402b34fa71e7c576909afac6602eb32b5ed37 (patch) | |
| tree | 1dab670880b2ae2374bd26c87c727348b77360ee /tests/functional/test_ppc64_hv.py | |
| parent | feda2611b98ae962efbcacce9352636798213e5f (diff) | |
| download | focaccia-qemu-dd6402b34fa71e7c576909afac6602eb32b5ed37.tar.gz focaccia-qemu-dd6402b34fa71e7c576909afac6602eb32b5ed37.zip | |
tests/functional: Fix the ppc64_hv and the ppc_40p test for read-only assets
Since commit 786bc2255256, cached asset files are read-only, so now we've
got to use "read-only=true" in tests that try to use these files directly.
Fixes: 786bc22552 ("tests/functional: make cached asset files read-only")
Message-ID: <20241105160926.393852-1-thuth@redhat.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/functional/test_ppc64_hv.py')
| -rwxr-xr-x | tests/functional/test_ppc64_hv.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional/test_ppc64_hv.py b/tests/functional/test_ppc64_hv.py index 1a6e4b6d07..312248bbfe 100755 --- a/tests/functional/test_ppc64_hv.py +++ b/tests/functional/test_ppc64_hv.py @@ -99,7 +99,8 @@ class HypervisorTest(QemuSystemTest): self.vm.add_args("-kernel", self.vmlinuz) self.vm.add_args("-initrd", self.initramfs) self.vm.add_args("-smp", "4", "-m", "2g") - self.vm.add_args("-drive", f"file={self.iso_path},format=raw,if=none,id=drive0") + self.vm.add_args("-drive", f"file={self.iso_path},format=raw,if=none," + "id=drive0,read-only=true") self.vm.launch() wait_for_console_pattern(self, 'Welcome to Alpine Linux 3.18') |