[Concept,03/17] test: Add newlines at the end of the img functions

Message ID 20250915104705.937780-4-sjg@u-boot.org
State New
Headers
Series mouse: Provide some support for using a mouse |

Commit Message

Simon Glass Sept. 15, 2025, 10:46 a.m. UTC
  From: Simon Glass <sjg@chromium.org>

The functions which create images lack a newline at the end of the file.
Add one, for consistency.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 test/py/img/android.py   | 2 +-
 test/py/img/armbian.py   | 2 +-
 test/py/img/cedit.py     | 2 +-
 test/py/img/chromeos.py  | 2 +-
 test/py/img/common.py    | 2 +-
 test/py/img/efi.py       | 2 +-
 test/py/img/fedora.py    | 2 +-
 test/py/img/localboot.py | 2 +-
 test/py/img/ubuntu.py    | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)
  

Patch

diff --git a/test/py/img/android.py b/test/py/img/android.py
index 44d15fe35a7..a703a68f790 100644
--- a/test/py/img/android.py
+++ b/test/py/img/android.py
@@ -143,4 +143,4 @@  def setup_android_image(config, log):
 
     print(f'wrote to {fname}')
 
-    return fname
\ No newline at end of file
+    return fname
diff --git a/test/py/img/armbian.py b/test/py/img/armbian.py
index 4db40fd5070..e1ae9b0aae9 100644
--- a/test/py/img/armbian.py
+++ b/test/py/img/armbian.py
@@ -129,4 +129,4 @@  booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
     img = DiskHelper(config, mmc_dev, 'mmc', True)
     img.add_fs(fsh, DiskHelper.EXT4)
     img.create()
-    fsh.cleanup()
\ No newline at end of file
+    fsh.cleanup()
diff --git a/test/py/img/cedit.py b/test/py/img/cedit.py
index dd6c5de44bb..564cb985dc1 100644
--- a/test/py/img/cedit.py
+++ b/test/py/img/cedit.py
@@ -22,4 +22,4 @@  def setup_cedit_file(config, log):
     expo_tool = os.path.join(config.source_dir, 'tools/expo.py')
     outfname = 'cedit.dtb'
     utils.run_and_log_no_ubman(
-        log, f'{expo_tool} -e {inhname} -l {infname} -o {outfname}')
\ No newline at end of file
+        log, f'{expo_tool} -e {inhname} -l {infname} -o {outfname}')
diff --git a/test/py/img/chromeos.py b/test/py/img/chromeos.py
index 6217b5310f1..24884402c92 100644
--- a/test/py/img/chromeos.py
+++ b/test/py/img/chromeos.py
@@ -151,4 +151,4 @@  def setup_cros_image(config, log):
     with open(fname, 'wb') as outf:
         outf.write(disk_data)
 
-    return fname
\ No newline at end of file
+    return fname
diff --git a/test/py/img/common.py b/test/py/img/common.py
index 80f9c124fc8..c9be6a22362 100644
--- a/test/py/img/common.py
+++ b/test/py/img/common.py
@@ -85,4 +85,4 @@  def setup_extlinux_image(config, log, devnum, basename, vmlinux, initrd, dtbdir,
 
     img.add_fs(ext4, DiskHelper.EXT4)
     img.create()
-    fsh.cleanup()
\ No newline at end of file
+    fsh.cleanup()
diff --git a/test/py/img/efi.py b/test/py/img/efi.py
index fbb39c24063..8239b4c247f 100644
--- a/test/py/img/efi.py
+++ b/test/py/img/efi.py
@@ -34,4 +34,4 @@  def setup_efi_image(config):
     img = DiskHelper(config, devnum, 'flash', True)
     img.add_fs(fsh, DiskHelper.VFAT)
     img.create()
-    fsh.cleanup()
\ No newline at end of file
+    fsh.cleanup()
diff --git a/test/py/img/fedora.py b/test/py/img/fedora.py
index ffa546d1cfe..8d3407d065e 100644
--- a/test/py/img/fedora.py
+++ b/test/py/img/fedora.py
@@ -32,4 +32,4 @@  label Fedora-Workstation-armhfp-31-1.9 (5.3.7-301.fc31.armv7hl)
         fdtdir /%s/
         initrd /%s''' % (vmlinux, dtbdir, initrd)
     setup_extlinux_image(config, log, devnum, basename, vmlinux,
-                         initrd, dtbdir, script)
\ No newline at end of file
+                         initrd, dtbdir, script)
diff --git a/test/py/img/localboot.py b/test/py/img/localboot.py
index 62a65f33cf0..e83a0cbaa82 100644
--- a/test/py/img/localboot.py
+++ b/test/py/img/localboot.py
@@ -24,4 +24,4 @@  LABEL local
     vmlinux = 'vmlinuz'
     initrd = 'initrd.img'
     setup_extlinux_image(config, log, mmc_dev, 'mmc', vmlinux, initrd, None,
-                         script)
\ No newline at end of file
+                         script)
diff --git a/test/py/img/ubuntu.py b/test/py/img/ubuntu.py
index 4fe54cb679b..06e8251c05b 100644
--- a/test/py/img/ubuntu.py
+++ b/test/py/img/ubuntu.py
@@ -44,4 +44,4 @@  label l0r
 	initrd /boot/%s
 ''' % (vmlinux, initrd, vmlinux, initrd)
     setup_extlinux_image(config, log, devnum, basename, vmlinux, initrd, dtbdir,
-                         script)
\ No newline at end of file
+                         script)