diff options
| author | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2014-06-11 16:18:57 +0800 |
|---|---|---|
| committer | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2014-06-11 16:18:57 +0800 |
| commit | 418c060c963595084654e50925b153c20714ce75 (patch) | |
| tree | b137eb237ff04fc67c27291272a0f47b048150ce /jobs | |
| parent | c50d971c1e6b7ff804f1b8e7d6f7a371893578aa (diff) | |
Adapted pointing test for input devices basic functionality test after suspend
Diffstat (limited to 'jobs')
| -rw-r--r-- | jobs/suspend.txt.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/jobs/suspend.txt.in b/jobs/suspend.txt.in index 4cfc4b1..51eb4b5 100644 --- a/jobs/suspend.txt.in +++ b/jobs/suspend.txt.in @@ -2140,3 +2140,24 @@ _description: Takes multiple pictures based on the resolutions supported by the camera and validates their size and that they are of a valid format after suspend +plugin: local +_summary: Pointing device tests after suspend. +id: suspend/pointing-after-suspend +requires: + device.category == 'MOUSE' or device.category == 'TOUCHPAD' or device.category == 'TOUCHSCREEN' +_description: Pointing device tests after suspend. +depends: suspend/suspend_advanced +command: + cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=MOUSE" -w "category=TOUCHPAD" -w "category=TOUCHSCREEN"' + plugin: manual + id: suspend/pointing-after-suspend_`echo "${product}_${category}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'`_`basename $path` + requires: device.path == "$path" + description: + PURPOSE: + This will test your $product device after suspend. + STEPS: + 1. Move the cursor with your $product. + VERIFICATION: + Did the cursor move? + EOF + |
