lshw¶
lshw is a small tool to extract detailed information on the hardware configuration of the machine.
What It Tests¶
lshw-run: validate
lshw
could be executed successfullylshw-system: validate
lshw -class system
could be executed successfullylshw-bus: validate
lshw -class bus
could be executed successfullylshw-processor: validate
lshw -class processor
could be executed successfullylshw-memory: validate
lshw -class memory
could be executed successfullylshw-network: validate
lshw -class network
could be executed successfully
Preconditions¶
For
ostree enabled
image, it shall be unlocked viaostree admin unlock --hotfix
Test Parameters¶
Parameter |
Default |
Description |
---|---|---|
|
|
skip the install |
|
|
The classes to be listed by lshw |
Test Steps¶
cd ./automated/linux/lshw/
./lshw.sh -s "${SKIP_INSTALL}" -c "${CLASSES}"
Refer to lshw.yaml
for complete test definition and execution details.
Expected Results¶
All the lshw commands are executed successfully, and the log files are generated.