diff options
author | PMR <pmr@pmr-lander> | 2017-04-06 09:05:00 +0000 |
---|---|---|
committer | PMR <pmr@pmr-lander> | 2017-04-06 09:05:00 +0000 |
commit | 0b8af69d69af9885902753dcb4d11fb06c381810 (patch) | |
tree | e5cbfe35abb95d874ada5b04a477c101f77f537f | |
parent | af7c972ea51e8ddcfbd800b5e1d640d809c697e8 (diff) | |
parent | 8ec9087948a297c6449cd6f4ad271ebf95cfb8c7 (diff) |
Merge #321439 from ~kissiel/plainbox-provider-checkbox:apste-support-job
-rw-r--r-- | jobs/disk.txt.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/jobs/disk.txt.in b/jobs/disk.txt.in index 8d22fb3..c1df7e3 100644 --- a/jobs/disk.txt.in +++ b/jobs/disk.txt.in @@ -1,3 +1,8 @@ +# This is for disk/apste_support_on_* +unit: packaging meta-data +os-id: debian +Depends: nvme-cli + plugin: shell category_id: 2013.com.canonical.plainbox::disk id: disk/detect @@ -128,3 +133,13 @@ _description: The verification of this test is automated. Do not change the automatically selected result. +unit: template +template-resource: device +template-filter: device.driver == 'nvme' and device.category == 'OTHER' +plugin: shell +category_id: 2013.com.canonical.plainbox::disk +id: disk/apste_support_on_{name} +estimated_duration: 1.0 +user: root +command: nvme get-feature -f 0x0c -H /dev/{name} | grep '(APSTE).*Enabled' && test -e /sys/class/nvme/{name}/power/pm_qos_latency_tolerance_us +_summary: Check support for Autonomous Power State Transition on {name} |