-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[checkbox-ce-oem] Add thermal test in strict confinement mode(New) (#…
…1084) * Add thermal test in strict confinement mode
- Loading branch information
1 parent
bb5ae8d
commit 50df261
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
contrib/checkbox-provider-ce-oem/units/strict-confinement/thermal-strict-confinement.pxu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
unit: template | ||
template-engine: jinja2 | ||
template-resource: thermal_zones | ||
template-id: strict-confine/temperature-test | ||
id: strict-confine/temperature_{{ name }}_{{ type }} | ||
_summary: Check Thermal temperature of {{ name }} - {{ type }} | ||
_description: | ||
Test a thermal temperature for {{ name }} - {{ type }}. | ||
category_id: thermal | ||
plugin: shell | ||
estimated_duration: 5m | ||
flags: also-after-suspend | ||
imports: | ||
from com.canonical.certification import snap | ||
from com.canonical.certification import lsb | ||
requires: | ||
lsb.distributor_id == 'Ubuntu Core' | ||
snap.name == 'test-strict-confinement' | ||
command: | ||
test-strict-confinement.thermal-test monitor -n {{ name }} --extra-commands "dd if=/dev/zero of=/dev/null" |