summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2016-05-02 21:01:49 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2016-05-02 21:01:49 +0200
commitfc1c98eab1e30cd29dfd03e075ed1bd65f6bcc47 (patch)
treed02e7ba965b67da3c319b22f0ec84581b0a3950b /jobs
parentfeb9d52ae1b01e3e5c227e07349adca145fa35ff (diff)
providers:checkbox: New job meant to check devices reported by udev
This new job relies on the udev_resource command to list devices by categories. It will help the tester to review the SUT manifest and fail/comment on the test if devices are missing.
Diffstat (limited to 'jobs')
-rw-r--r--jobs/miscellanea.txt.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/jobs/miscellanea.txt.in b/jobs/miscellanea.txt.in
index d50d870..ea1efe5 100644
--- a/jobs/miscellanea.txt.in
+++ b/jobs/miscellanea.txt.in
@@ -286,3 +286,17 @@ user: root
command: get_make_and_model
_description: Retrieve the computer's make and model for easier access than digging through the dmidecode output.
_summary: Gather info on the SUT's make and model
+
+plugin: user-interact-verify
+category_id: 2013.com.canonical.plainbox::miscellanea
+estimated_duration: 5.0
+id: miscellanea/device_check
+command: udev_resource -l VIDEO NETWORK WIRELESS DISK | tee >([[ $DISPLAY ]] && zenity --text-info --title="Device report")
+_summary: Device Check
+_purpose:
+ Device check
+_steps:
+ 1. Commence the test
+ 2. Compare items on System Manifest to the devices known to udev
+_verification:
+ Do the devices reported by udev match the devices on the Manifest?