mirror of
https://github.com/Dasharo/open-source-firmware-validation.git
synced 2026-06-13 10:16:18 -07:00
restore-disk*.robot: apply pre-commit fixes
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
*** Settings ***
|
||||
Library OperatingSystem
|
||||
Library OperatingSystem
|
||||
|
||||
|
||||
*** Variables ***
|
||||
${CLONEZILLA_IPXE_SERVER}= http://192.168.10.217:8080
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user