summaryrefslogtreecommitdiff
path: root/units/esata
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/esata
parenta2cbc59e55ed21f755f45a5db2df5695a2220315 (diff)
Move all jobs definition files into pxu units
Diffstat (limited to 'units/esata')
-rw-r--r--units/esata/jobs.pxu41
1 files changed, 41 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
+