summaryrefslogtreecommitdiff
path: root/units/esata
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2017-09-26 10:27:20 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2017-09-26 10:27:20 +0200
commit78012795b553ba0b5ad0c2977d80d8f16831ae00 (patch)
tree72bc986d7b32d1de0d6c34fc66c30dab133a8de1 /units/esata
parent2515d92d9abd6f8fb7d13b6647e9d1f9a9a88061 (diff)
Import plainbox-provider-checkbox_0.40.0~rc2.orig.tar.gzupstream-0.40.0_rc2patched-0.40.0_rc2-1
Diffstat (limited to 'units/esata')
-rw-r--r--units/esata/jobs.pxu41
-rw-r--r--units/esata/test-plan.pxu17
2 files changed, 58 insertions, 0 deletions
diff --git a/units/esata/jobs.pxu b/units/esata/jobs.pxu
new file mode 100644
index 0000000..65778eb
--- /dev/null
+++ b/units/esata/jobs.pxu
@@ -0,0 +1,41 @@
+plugin: user-interact
+category_id: com.canonical.plainbox::esata
+id: esata/insert
+command: removable_storage_watcher insert ata_serial_esata
+_description:
+ PURPOSE:
+ This test will check the system can detect the insertion of an eSATA HDD
+ STEPS:
+ 1. Click 'Test' to begin the test. This test will
+ timeout and fail if the insertion has not been detected within 20 seconds.
+ 2. Plug an eSATA HDD into an available eSATA port.
+ VERIFICATION:
+ The verification of this test is automated. Do not change the automatically
+ selected result
+
+plugin: shell
+category_id: com.canonical.plainbox::esata
+id: esata/storage-test
+user: root
+depends: esata/insert
+command: removable_storage_test -s 268400000 ata_serial_esata
+_description:
+ This is an automated test which performs read/write operations on an attached
+ eSATA HDD
+
+plugin: user-interact
+category_id: com.canonical.plainbox::esata
+id: esata/remove
+depends: esata/insert
+command: removable_storage_watcher remove ata_serial_esata
+_description:
+ PURPOSE:
+ This test will check the system can detect the removal of an eSATA HDD
+ STEPS:
+ 1. Click 'Test' to begin the test. This test will timeout and fail if
+ the removal has not been detected within 20 seconds.
+ 2. Remove the previously attached eSATA HDD from the eSATA port.
+ VERIFICATION:
+ The verification of this test is automated. Do not change the automatically
+ selected result
+
diff --git a/units/esata/test-plan.pxu b/units/esata/test-plan.pxu
new file mode 100644
index 0000000..b7e59cd
--- /dev/null
+++ b/units/esata/test-plan.pxu
@@ -0,0 +1,17 @@
+id: esata-cert-full
+unit: test plan
+_name: eSATA tests
+_description: eSATA tests
+include:
+ esata/insert certification-status=blocker
+ esata/storage-test certification-status=blocker
+ esata/remove certification-status=blocker
+
+id: esata-cert-blockers
+unit: test plan
+_name: eSATA tests (certification blockers only)
+_description: eSATA tests (certification blockers only)
+include:
+ esata/insert certification-status=blocker
+ esata/storage-test certification-status=blocker
+ esata/remove certification-status=blocker