]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/functional: switch over to using self.scratch_file()
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 17 Dec 2024 15:59:35 +0000 (15:59 +0000)
committerThomas Huth <thuth@redhat.com>
Tue, 17 Dec 2024 18:39:53 +0000 (19:39 +0100)
commitbeaf88c895a5eda649777757c80ab4171de777ff
tree2997421894760cd20018be141d93c1b72ea4e73f
parentbd96e460d3a1fb882e01b385d695070659078ba6
tests/functional: switch over to using self.scratch_file()

Replace any instances of

  os.path.join(self.workdir, ".../...")
  self.workdir + "/.../..."

with

  self.scratch_file("...", "...")

which is more compact and portable

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20241217155953.3950506-15-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
45 files changed:
tests/functional/qemu_test/linuxkernel.py
tests/functional/qemu_test/tuxruntest.py
tests/functional/test_aarch64_aspeed.py
tests/functional/test_aarch64_raspi3.py
tests/functional/test_aarch64_raspi4.py
tests/functional/test_aarch64_sbsaref.py
tests/functional/test_aarch64_virt.py
tests/functional/test_acpi_bits.py
tests/functional/test_alpha_clipper.py
tests/functional/test_arm_aspeed_ast1030.py
tests/functional/test_arm_aspeed_ast2500.py
tests/functional/test_arm_aspeed_ast2600.py
tests/functional/test_arm_bflt.py
tests/functional/test_arm_bpim2u.py
tests/functional/test_arm_canona1100.py
tests/functional/test_arm_cubieboard.py
tests/functional/test_arm_emcraft_sf2.py
tests/functional/test_arm_integratorcp.py
tests/functional/test_arm_orangepi.py
tests/functional/test_arm_raspi2.py
tests/functional/test_arm_smdkc210.py
tests/functional/test_arm_vexpress.py
tests/functional/test_m68k_mcf5208evb.py
tests/functional/test_m68k_nextcube.py
tests/functional/test_microblaze_s3adsp1800.py
tests/functional/test_microblazeel_s3adsp1800.py
tests/functional/test_mips64el_malta.py
tests/functional/test_mips_malta.py
tests/functional/test_mipsel_malta.py
tests/functional/test_or1k_sim.py
tests/functional/test_ppc64_e500.py
tests/functional/test_ppc64_hv.py
tests/functional/test_ppc_amiga.py
tests/functional/test_ppc_bamboo.py
tests/functional/test_ppc_mac.py
tests/functional/test_ppc_mpc8544ds.py
tests/functional/test_ppc_virtex_ml507.py
tests/functional/test_rx_gdbsim.py
tests/functional/test_s390x_ccw_virtio.py
tests/functional/test_s390x_topology.py
tests/functional/test_sh4_r2d.py
tests/functional/test_sh4eb_r2d.py
tests/functional/test_sparc64_sun4u.py
tests/functional/test_sparc_sun4m.py
tests/functional/test_xtensa_lx60.py