summaryrefslogtreecommitdiff
path: root/units/firewire
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2017-09-18 20:56:16 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2017-09-18 20:56:16 +0200
commit06ebc0457992bddfca74c3decc554d70ffdd310d (patch)
treeddc2038690c7e0bbd7146b3375681b919e91ab95 /units/firewire
parenta2cbc59e55ed21f755f45a5db2df5695a2220315 (diff)
Move all jobs definition files into pxu units
Diffstat (limited to 'units/firewire')
-rw-r--r--units/firewire/jobs.pxu44
1 files changed, 44 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
+