You've already forked open-source-firmware-validation
mirror of
https://github.com/Dasharo/open-source-firmware-validation.git
synced 2026-06-13 10:16:18 -07:00
3706508f0d
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
24 lines
729 B
Plaintext
24 lines
729 B
Plaintext
*** Settings ***
|
|
Library OperatingSystem
|
|
|
|
|
|
*** Variables ***
|
|
${CLONEZILLA_IPXE_SERVER}= http://192.168.10.217:8080
|
|
${DISKS_NFS_IP}= 192.168.10.217
|
|
${DISKS_NFS_PATH}= /srv/nfs/disk-images
|
|
${TIME_LIMIT}= 40m
|
|
|
|
|
|
*** Keywords ***
|
|
Get Envvar
|
|
[Arguments] ${name} ${optional}=${FALSE}
|
|
${status}= Run Keyword And Return Status Get Environment Variable ${name}
|
|
IF not (${optional} or ${status})
|
|
Log To Console Environment variable ${name} must be set.
|
|
Fail Environment variable ${name} is not set
|
|
ELSE IF ${status}
|
|
${var}= Get Environment Variable ${name}
|
|
RETURN ${var}
|
|
END
|
|
RETURN ${EMPTY}
|