summary refs log tree commit diff stats
path: root/tests/functional/test_arm_emcraft_sf2.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/test_arm_emcraft_sf2.py')
-rwxr-xr-xtests/functional/test_arm_emcraft_sf2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/test_arm_emcraft_sf2.py b/tests/functional/test_arm_emcraft_sf2.py
index ada4dfd82e..f9f3f069e2 100755
--- a/tests/functional/test_arm_emcraft_sf2.py
+++ b/tests/functional/test_arm_emcraft_sf2.py
@@ -28,7 +28,7 @@ class EmcraftSf2Machine(LinuxKernelTest):
 
         uboot_path = self.ASSET_UBOOT.fetch()
         spi_path = self.ASSET_SPI.fetch()
-        spi_path_rw = os.path.join(self.workdir, 'spi.bin')
+        spi_path_rw = self.scratch_file('spi.bin')
         shutil.copy(spi_path, spi_path_rw)
         os.chmod(spi_path_rw, 0o600)