summaryrefslogtreecommitdiff
path: root/common/dmidecode.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'common/dmidecode.yaml')
-rw-r--r--common/dmidecode.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/dmidecode.yaml b/common/dmidecode.yaml
new file mode 100644
index 0000000..38c5d09
--- /dev/null
+++ b/common/dmidecode.yaml
@@ -0,0 +1,30 @@
+metadata:
+ name: dmidecode
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "DMI Decode Test"
+ version: 1.0
+ os:
+ - ubuntu
+ - openembedded
+ devices:
+ - arndale
+ - panda
+ - beaglebone-black
+ - beagle-xm
+ - mx53loco
+ - rtsm_fvp_base-aemv8a
+ scope:
+ - functional
+
+install:
+ deps:
+ - dmidecode
+ - grep
+run:
+ steps:
+ - lava-test-case kernel-space-sysfs-dmi-exist --shell ls /sys/class/dmi/
+ - lava-test-case kernel-space-sysfs-dmi-id-exist --shell ls /sys/class/dmi/id
+ - lava-test-case kernel-space-sysfs-bios-date --shell cat /sys/class/dmi/id/bios_date
+ - lava-test-case kernel-space-sysfs-bios-vendor --shell cat /sys/class/dmi/id/bios_vendor
+ - lava-test-case kernel-space-sysfs-bios-version --shell cat /sys/class/dmi/id/bios_version
+ - ./common/scripts/dmidecode.sh