summary refs log tree commit diff stats
path: root/python
diff options
context:
space:
mode:
authorCleber Rosa <crosa@redhat.com>2024-07-26 09:44:33 -0400
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-31 00:14:22 +0200
commit4ec88f164067c399ef2296c353209f9e49166b1a (patch)
treed3d9344dd3c3785b7a40685d5fc8738a8dcb1f16 /python
parent085ea2b868ab02536320f11a7bc2326d8c26dcd3 (diff)
downloadfocaccia-qemu-4ec88f164067c399ef2296c353209f9e49166b1a.tar.gz
focaccia-qemu-4ec88f164067c399ef2296c353209f9e49166b1a.zip
tests/avocado: test_arm_emcraft_sf2: handle RW requirements for asset
The asset used in the mentioned test gets truncated before it's used
in the test.  This means that the file gets modified, and thus the
asset's expected hash doesn't match anymore.  This causes cache misses
and re-downloads every time the test is re-run.

Let's make a copy of the asset so that the one in the cache is
preserved and the cache sees a hit on re-runs.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20240726134438.14720-9-crosa@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions