summaryrefslogtreecommitdiff
path: root/units/rtc
diff options
authorPMR <pmr@pmr-lander>2019-09-21 10:43:07 +0200
committerPMR <pmr@pmr-lander>2019-09-21 10:43:07 +0200
commitc6d07afdb7d11b84158135b097cb82f741c42487 (patch)
tree02bb32d8b3a8772e5aa01cfd00cfc87606498b3e /units/rtc
parent1b0b735fca3a3a96662aeaadc7253ae9002905c9 (diff)
Import plainbox-provider-checkbox_0.49.0~rc3.orig.tar.gzupstream-0.49.0_rc3patched-0.49.0_rc3-1
Diffstat (limited to 'units/rtc')
-rw-r--r--units/rtc/category.pxu3
-rw-r--r--units/rtc/jobs.pxu16
-rw-r--r--units/rtc/test-plan.pxu20
3 files changed, 39 insertions, 0 deletions
diff --git a/units/rtc/category.pxu b/units/rtc/category.pxu
new file mode 100644
index 0000000..683e64e
--- /dev/null
+++ b/units/rtc/category.pxu
@@ -0,0 +1,3 @@
+unit: category
+id: rtc_category
+_name: Real Time Clock (RTC)
diff --git a/units/rtc/jobs.pxu b/units/rtc/jobs.pxu
new file mode 100644
index 0000000..0740d19
--- /dev/null
+++ b/units/rtc/jobs.pxu
@@ -0,0 +1,16 @@
+id: rtc/battery
+_summary: RTC battery tracks the time
+_purpose:
+ RTC battery backup power can send system wakeup event
+_steps:
+ 1. Start the test to poweroff the system (wakeup scheduled in 30s)
+_verification:
+ RTC can wake up the system successfully
+command:
+ rtcwake -v -m disable
+ rtcwake -v -m off -s 30
+plugin: user-interact
+user: root
+category_id: rtc_category
+estimated_duration: 40
+flags: noreturn
diff --git a/units/rtc/test-plan.pxu b/units/rtc/test-plan.pxu
new file mode 100644
index 0000000..3b37bf0
--- /dev/null
+++ b/units/rtc/test-plan.pxu
@@ -0,0 +1,20 @@
+id: rtc-full
+unit: test plan
+_name: RTC tests
+_description: QA RTC tests for Snappy Ubuntu Core devices
+include:
+nested_part:
+ rtc-manual
+
+id: rtc-manual
+unit: test plan
+_name: Manual RTC tests
+_description: Manual RTC tests for Snappy Ubuntu Core devices
+include:
+ rtc/battery
+
+id: rtc-automated
+unit: test plan
+_name: Automated RTC tests
+_description: Automated RTC tests for Snappy Ubuntu Core devices
+include: