Skip to content

Commit 3ccfe8b

Browse files
committed
Add --force to all mv commands to skip interactive prompt
Signed-off-by: Filip Gołaś <[email protected]>
1 parent f0b206e commit 3ccfe8b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

dasharo-compatibility/os-pfsense.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ PFS006.502 Preseed operating system installer (pfSense)
117117
Execute Command In Terminal
118118
... awk ${awk_args} /usr/libexec/bsdinstall/zfsboot > /tmp/zfsboot
119119
Execute Command In Terminal mount -u /
120-
Execute Command In Terminal mv /tmp/zfsboot /usr/libexec/bsdinstall/zfsboot
120+
Execute Command In Terminal mv --force /tmp/zfsboot /usr/libexec/bsdinstall/zfsboot
121121
Execute Command In Terminal chmod +x /usr/libexec/bsdinstall/zfsboot
122122
Execute Command In Terminal sync
123123
${output}= Execute Command In Terminal grep PFBOOT /usr/libexec/bsdinstall/zfsboot

dasharo-stability/capsule-update.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ Upload Required Files
300300
# Move the directory to ESP partition so the tests work even if root
301301
# file-system is part of LVM
302302
Execute Command In Terminal rm -r /boot/efi/capsule_testing
303-
Execute Command In Terminal mv /capsule_testing /boot/efi
303+
Execute Command In Terminal mv --force /capsule_testing /boot/efi
304304
# Make sure file-system data is pushed to disks before resetting a platform
305305
Execute Command In Terminal sync
306306
ELSE IF ${TESTS_IN_WINDOWS_SUPPORT}

lib/dcu.robot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ DCU Smbios Set UUID In File
2020
${result}= Run cd dcu; ./dcuc smbios -u ${uuid} ./coreboot.rom; cd ..
2121

2222
Log ${result}
23-
Run mv dcu/${filename} ${fw_file}
23+
Run mv --force dcu/${filename} ${fw_file}
2424
Should Contain ${result} Success
2525

2626
DCU Smbios Set Serial In File
@@ -32,7 +32,7 @@ DCU Smbios Set Serial In File
3232
${result}= Run cd dcu; ./dcuc smbios -s ${serial} ./coreboot.rom; cd ..
3333

3434
Log ${result}
35-
Run mv dcu/${filename} ${fw_file}
35+
Run mv --force dcu/${filename} ${fw_file}
3636
Should Contain ${result} Success
3737

3838
DCU Logo Set In File

lib/network.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Send File To DUT
3737

3838
${issuer}= Execute Command In Terminal whoami
3939
IF '${issuer}' != 'root' Switch To Root User
40-
Execute Command In Terminal mv ${tmp_target} ${target_path}
40+
Execute Command In Terminal mv --force ${tmp_target} ${target_path}
4141
Execute Command In Terminal chown ${issuer}:${issuer} ${target_path}
4242
IF '${issuer}' != 'root' Exit From Root User
4343

0 commit comments

Comments
 (0)