diff options
author | Jonathan Cave <jonathan.cave@canonical.com> | 2019-08-20 16:31:58 +0100 |
---|---|---|
committer | Jonathan Cave <jonathan.cave@canonical.com> | 2019-08-21 11:04:44 +0100 |
commit | 83a6a879f5fd80a053803f7d407603565f569350 (patch) | |
tree | 369f70069800904c0a101bfe8ae8e4f3a985307f /units/kernel-snap | |
parent | 468119847d1d7e4841c68b56589dcf1921ef6376 (diff) |
kernel-snap: import from p-p-snappy
Diffstat (limited to 'units/kernel-snap')
-rw-r--r-- | units/kernel-snap/category.pxu | 3 | ||||
-rw-r--r-- | units/kernel-snap/jobs.pxu | 17 | ||||
-rw-r--r-- | units/kernel-snap/test-plan.pxu | 22 |
3 files changed, 42 insertions, 0 deletions
diff --git a/units/kernel-snap/category.pxu b/units/kernel-snap/category.pxu new file mode 100644 index 0000000..361df99 --- /dev/null +++ b/units/kernel-snap/category.pxu @@ -0,0 +1,3 @@ +unit: category +id: kernel-snap +_name: Kernel snap tests diff --git a/units/kernel-snap/jobs.pxu b/units/kernel-snap/jobs.pxu new file mode 100644 index 0000000..5b573fd --- /dev/null +++ b/units/kernel-snap/jobs.pxu @@ -0,0 +1,17 @@ + +id: kernel-snap/booted-kernel-matches-current +category_id: kernel-snap +_summary: The booted kernel image matches image in current kernel snap +_description: + On some Ubuntu Core deviecs it is necessary for the kernel image to be + extracted from the kernel snap and placed in the boot partition (notably + device using full disk encryption). This checks the images are in sync. +plugin: shell +user: root +estimated_duration: 2.0 +command: + booted_kernel_tests.py +imports: + from com.canonical.certification import ubuntu_core_features +requires: + ubuntu_core_features.force_kernel_extraction == 'True' diff --git a/units/kernel-snap/test-plan.pxu b/units/kernel-snap/test-plan.pxu new file mode 100644 index 0000000..7bd4dc8 --- /dev/null +++ b/units/kernel-snap/test-plan.pxu @@ -0,0 +1,22 @@ + +id: kernel-snap-full +unit: test plan +_name: Kernel Snap tests +_description: Kernel Snap test for Ubuntu Core devices +include: +nested_part: + kernel-snap-manual + kernel-snap-automated + +id: kernel-snap-automated +unit: test plan +_name: Automated Kernel Snap tests +_description: Automated Kernel Snap tests for Ubuntu Core devices +include: + kernel-snap/booted-kernel-matches-current + +id: kernel-snap-manual +unit: test plan +_name: Manual Kernel Snap tests +_description: Manual Kernel Snap tests for Ubuntu Core devices +include: |