restore-disk*.robot: apply pre-commit fixes

Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
This commit is contained in:
Filip Gołaś
2025-08-28 09:06:57 +02:00
parent 88a58b3f77
commit 3706508f0d
3 changed files with 4 additions and 6 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
*** Settings ***
Library OperatingSystem
Library OperatingSystem
*** Variables ***
${CLONEZILLA_IPXE_SERVER}= http://192.168.10.217:8080
+2 -2
View File
@@ -7,7 +7,6 @@ Resource ../lib/clonezilla.robot
Suite Setup Run Keywords
... Prepare Test Suite
# Test suite used to quickly flash disk images with preinstalled OSes using Clonezilla.
# Two environment variables must be set prior to running it:
# - SOURCE_IMAGE
@@ -21,6 +20,7 @@ Suite Setup Run Keywords
# - The same, but redirect the Clonezilla's output onto ttyS0 if video output is not available:
# SOURCE_IMAGE=1_windows_ubuntu TARGET_DISK=nvme0n1 CLONEZILLA_TTY=ttyS0 ./scripts/run.sh util/restore-disk-auto.robot
*** Test Cases ***
Restore Disk Clonezilla
${clonezilla_tty}= Get Envvar CLONEZILLA_TTY optional=${TRUE}
@@ -37,7 +37,7 @@ Restore Disk Clonezilla
... chain ${CLONEZILLA_IPXE_SERVER}/boot.ipxe?image=${source_image}&disk=${target_disk}
... interval=0.5
Press Enter
VAR ${msg}= Disk cloning has started.
VAR ${msg}= Disk cloning has started.
... No tty was configured - running clonezilla on the device's display.
... No serial logs will be collected, so the process must be monitored manually.
... The test case will end now.
-3
View File
@@ -7,18 +7,15 @@ Resource ../lib/clonezilla.robot
Suite Setup Run Keywords
... Prepare Test Suite
# Test suite used to quickly flash disk images with preinstalled OSes.
# An environment variables must be set prior to running it:
# Optional:
# - CLONEZILLA_TTY
# Example usage:
# - Launch clonezilla in manual mode over chosen serial console (for restore or upload):
# CLONEZILLA_TTY=ttyUSB0 ./scripts/run.sh util/restore-disk-manual.robot
*** Test Cases ***
Restore Disk Manually Clonezilla
${clonezilla_tty}= Get Envvar CLONEZILLA_TTY ${TRUE}