Firmware Version
Check the ESRT Firmware version entry on the DUT. The DUT needs sudo. The firmware must publish an ESRT, which Linux shows in /sys/firmware/efi/esrt.
| Attribute | Type | Required | Default | Description |
|---|
cmd | const | Yes | firmware version | Command Name |
name | string | Yes | | Name to uniquely identify the teststep. This name will show up in reports, logs and the WebUI |
transport | TransportObject | Yes | | Additional transport options |
options | OptionsObject | No | | Additional command options |
parameters | FirmwareVersionOptions | Yes | | Options passed into the firmware version cmd |
Firmware Version Options
| Attribute | Type | Required | Default | Description |
|---|
format | string | No | number | Format of the tool’s output. Available options: number, hex, pair, triplet, quad. |
expect | Firmware Version Expect Options | Yes | | Expected Options |
Firmware Version Expect Options
| Attribute | Type | Required | Default | Description |
|---|
version | string | Yes | expect | Expected firmware version in the specified format. |
Firmware Version Example
cmd: firmware version
name: Get firmware version (ESRT)
transport: *transport
parameters:
format: pair
expect:
version: "1.11"