diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2017-09-26 10:27:20 +0200 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2017-09-26 10:27:20 +0200 |
commit | 78012795b553ba0b5ad0c2977d80d8f16831ae00 (patch) | |
tree | 72bc986d7b32d1de0d6c34fc66c30dab133a8de1 /units/firewire | |
parent | 2515d92d9abd6f8fb7d13b6647e9d1f9a9a88061 (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/firewire')
-rw-r--r-- | units/firewire/jobs.pxu | 44 | ||||
-rw-r--r-- | units/firewire/test-plan.pxu | 17 |
2 files changed, 61 insertions, 0 deletions
diff --git a/units/firewire/jobs.pxu b/units/firewire/jobs.pxu new file mode 100644 index 0000000..9a0df3f --- /dev/null +++ b/units/firewire/jobs.pxu @@ -0,0 +1,44 @@ +plugin: user-interact +category_id: com.canonical.plainbox::firewire +id: firewire/insert +require: device.category == 'FIREWIRE' +command: removable_storage_watcher insert firewire +_description: + PURPOSE: + This test will check the system can detect the insertion of a FireWire 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 a FireWire HDD into an available FireWire port. + VERIFICATION: + The verification of this test is automated. Do not change the automatically + selected result + +plugin: shell +category_id: com.canonical.plainbox::firewire +id: firewire/storage-test +user: root +require: device.category == 'FIREWIRE' +depends: firewire/insert +command: removable_storage_test -s 268400000 firewire +_description: + This is an automated test which performs read/write operations on an attached + FireWire HDD + +plugin: user-interact +category_id: com.canonical.plainbox::firewire +id: firewire/remove +depends: firewire/insert +require: device.category == 'FIREWIRE' +command: removable_storage_watcher remove firewire +_description: + PURPOSE: + This test will check the system can detect the removal of a FireWire 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 FireWire HDD from the FireWire port. + VERIFICATION: + The verification of this test is automated. Do not change the automatically + selected result + diff --git a/units/firewire/test-plan.pxu b/units/firewire/test-plan.pxu new file mode 100644 index 0000000..ecb6084 --- /dev/null +++ b/units/firewire/test-plan.pxu @@ -0,0 +1,17 @@ +id: firewire-cert-full +unit: test plan +_name: Firewire tests +_description: Firewire tests +include: + firewire/insert certification-status=blocker + firewire/storage-test certification-status=blocker + firewire/remove certification-status=blocker + +id: firewire-cert-blockers +unit: test plan +_name: Firewire tests (certification blockers only) +_description: Firewire tests (certification blockers only) +include: + firewire/insert certification-status=blocker + firewire/storage-test certification-status=blocker + firewire/remove certification-status=blocker |