Merge lp:~bladernr/opencompute/ocp-cleanup into lp:opencompute/checkbox

Proposed by Jeff Lane 
Status: Merged
Approved by: Jeff Marcom
Approved revision: 2146
Merged at revision: 2142
Proposed branch: lp:~bladernr/opencompute/ocp-cleanup
Merge into: lp:opencompute/checkbox
Diff against target: 17770 lines (+6/-17115)
103 files modified
debian/changelog (+4/-0)
jobs/audio.txt.in (+0/-222)
jobs/bluetooth.txt.in (+0/-90)
jobs/camera.txt.in (+0/-48)
jobs/codecs.txt.in (+0/-29)
jobs/daemons.txt.in (+0/-66)
jobs/esata.txt.in (+0/-37)
jobs/expresscard.txt.in (+0/-10)
jobs/fingerprint.txt.in (+0/-29)
jobs/firewire.txt.in (+0/-38)
jobs/floppy.txt.in (+0/-13)
jobs/graphics.txt.in (+0/-223)
jobs/hibernate.txt.in (+0/-34)
jobs/input.txt.in (+0/-67)
jobs/install.txt.in (+0/-19)
jobs/keys.txt.in (+0/-145)
jobs/led.txt.in (+0/-197)
jobs/local.txt.in (+0/-210)
jobs/mediacard.txt.in (+0/-662)
jobs/mobilebroadband.txt.in (+0/-21)
jobs/monitor.txt.in (+0/-105)
jobs/panel_clock_test.txt.in (+0/-29)
jobs/panel_reboot.txt.in (+0/-11)
jobs/peripheral.txt.in (+0/-38)
jobs/piglit.txt.in (+0/-72)
jobs/rendercheck.txt.in (+0/-13)
jobs/server-services.txt.in (+0/-39)
jobs/suspend.txt.in (+0/-1237)
jobs/touchpad.txt.in (+0/-68)
jobs/touchscreen.txt.in (+0/-58)
jobs/user_apps.txt.in (+0/-505)
jobs/wireless.txt.in (+0/-221)
po/POTFILES.in (+0/-32)
scripts/accelerometer_test (+0/-347)
scripts/alsa_info (+0/-939)
scripts/alsa_record_playback (+0/-7)
scripts/audio_driver_info (+0/-109)
scripts/audio_settings (+0/-9)
scripts/audio_test (+0/-635)
scripts/battery_test (+0/-175)
scripts/bluetooth_scan (+0/-7)
scripts/bluetooth_test (+0/-47)
scripts/brightness_test (+0/-165)
scripts/camera_test (+0/-558)
scripts/check_is_laptop (+0/-29)
scripts/cking_suite (+0/-105)
scripts/color_depth_info (+0/-76)
scripts/connect_wireless (+0/-45)
scripts/create_connection (+0/-280)
scripts/cycle_vts (+0/-32)
scripts/display_resource (+0/-84)
scripts/floppy_test (+0/-105)
scripts/fresh_rate_info (+0/-76)
scripts/gcov_tarball (+0/-11)
scripts/glob_test (+0/-121)
scripts/gpu_test (+0/-207)
scripts/gputest_benchmark (+0/-27)
scripts/graphic_memory_info (+0/-81)
scripts/graphics_driver (+0/-354)
scripts/graphics_modes_info (+0/-74)
scripts/graphics_stress_test (+0/-467)
scripts/gst_pipeline_test (+0/-67)
scripts/hal_resource (+0/-475)
scripts/key_test (+0/-409)
scripts/keyboard_test (+0/-86)
scripts/lamp_test (+0/-31)
scripts/led_hdd_test (+0/-20)
scripts/max_diskspace_used (+0/-34)
scripts/memory_info (+0/-35)
scripts/mm-test (+0/-527)
scripts/network_bandwidth_test (+0/-671)
scripts/network_printer_test (+0/-57)
scripts/network_reconnect_resume_test (+0/-102)
scripts/network_restart (+0/-346)
scripts/network_wait (+0/-20)
scripts/obex_send (+0/-84)
scripts/oem_config_test (+0/-172)
scripts/package_resource (+0/-129)
scripts/piglit_test (+0/-98)
scripts/pm_log_check (+0/-267)
scripts/pm_test (+0/-799)
scripts/process_wait (+0/-73)
scripts/pts_run (+0/-34)
scripts/rendercheck_test (+0/-263)
scripts/resolution_test (+0/-49)
scripts/rotation_test (+0/-73)
scripts/samba_test (+0/-38)
scripts/sleep_test (+0/-393)
scripts/sleep_test_log_check (+0/-72)
scripts/sleep_time_check (+0/-62)
scripts/sources_test (+0/-28)
scripts/suspend_test (+0/-611)
scripts/tomcat_test (+0/-24)
scripts/touchpad_driver_info (+0/-82)
scripts/touchpad_test (+0/-195)
scripts/volume_test (+0/-138)
scripts/wifi_time2reconnect (+0/-55)
scripts/window_test (+0/-342)
scripts/xen_test (+0/-74)
scripts/xinput_resource (+0/-74)
scripts/xml_sanitize (+0/-46)
scripts/xrandr_cycle (+0/-168)
setup.cfg (+2/-32)
To merge this branch: bzr merge lp:~bladernr/opencompute/ocp-cleanup
Reviewer Review Type Date Requested Status
Jeff Marcom (community) Approve
Jeff Lane  Needs Resubmitting
Review via email: mp+179783@code.launchpad.net

Commit message

Merged Jeff Lane's OCP-Checkbox cleanup branch

To post a comment you must log in.
Revision history for this message
Jeff Lane  (bladernr) wrote :

jobs: removed unnecessary jobs files
scripts: removed unnecessary scripts
po/POTFILES.in: removed refs to deleted job files

Revision history for this message
Jeff Marcom (jeffmarcom) wrote :

Some of the files removed from the scripts directory seem to be still in po/POTFILES.in,

like this one:
scripts/keyboard_test

Also, please make sure that whatever jobs are removed here, the corresponding unittest for them are removed as well.

Sorry :/

review: Needs Fixing
Revision history for this message
Jeff Lane  (bladernr) wrote :

Oh... snap. Good points, I didn't think that there would be actual
scripts in the POTILEs list...

Nor did I think about unit tests for them... good call.

On Sat, Aug 17, 2013 at 3:28 PM, Jeff Marcom <email address hidden> wrote:
> Review: Needs Fixing
>
> Some of the files removed from the scripts directory seem to be still in po/POTFILES.in,
>
> like this one:
> scripts/keyboard_test
>
>
> Also, please make sure that whatever jobs are removed here, the corresponding unittest for them are removed as well.
>
> Sorry :/
> --
> https://code.launchpad.net/~bladernr/opencompute/ocp-cleanup/+merge/179783
> You are the owner of lp:~bladernr/opencompute/ocp-cleanup.

--
Jeff Lane - Server and Cloud Certification and Tools Development
Ubuntu Ham: W4KDH
Freenode IRC: bladernr or bladernr_
gpg: 1024D/3A14B2DD 8C88 B076 0DD7 B404 1417 C466 4ABD 3635 3A14 B2DD

lp:~bladernr/opencompute/ocp-cleanup updated
2145. By Jeff Lane 

po/POTFILES.in - Removed refs to deleted scripts.

2146. By Jeff Lane 

Removed refs to deleted job files in setup.cfg. Verified unit tests don't error because of missing job files.

Revision history for this message
Jeff Lane  (bladernr) wrote :

fixed

Revision history for this message
Jeff Lane  (bladernr) wrote :

whoops resumit... heh

review: Needs Resubmitting
Revision history for this message
Jeff Marcom (jeffmarcom) wrote :

Awesome, thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-08-06 16:43:05 +0000
3+++ debian/changelog 2013-08-19 20:47:35 +0000
4@@ -12,5 +12,9 @@
5 * data/ - Cleanup, removed unnecessary data files, dirs and whitelists
6 bin/ - all checkbox launchers now default to
7 opencompute-ready-local.whitelist
8+ * jobs/, po/, scripts/ - Cleanup, removed unnecessary job and scritp files
9+ and their references in po/POTFILES.in
10+ checkbox/tests/ - Cleaned up unit tests that were looking for things
11+ removed in this merge.
12
13 -- Jeff Marcom <jeff.marcom@canonical.com> Wed, 31 Jul 2013 19:36:52 -0400
14
15=== removed file 'jobs/audio.txt.in'
16--- jobs/audio.txt.in 2013-07-05 16:43:48 +0000
17+++ jobs/audio.txt.in 1970-01-01 00:00:00 +0000
18@@ -1,222 +0,0 @@
19-plugin: shell
20-name: audio/list_devices
21-requires:
22- device.category == 'AUDIO'
23- package.name == 'alsa-base'
24-command: cat /proc/asound/cards
25-_description: Test to detect audio devices
26-
27-plugin: manual
28-name: audio/playback_auto
29-depends: audio/list_devices
30-requires:
31- device.category == 'AUDIO'
32- package.name == 'alsa-base'
33- package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
34- package.name == 'pulseaudio-utils'
35-command: audio_settings store --file=$CHECKBOX_DATA/pulseaudio_settings; audio_settings set --device=pci --volume=50; gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink'; EXIT_CODE=$?; audio_settings restore --file=$CHECKBOX_DATA/pulseaudio_settings; exit $EXIT_CODE
36-_description:
37- PURPOSE:
38- This test will check that internal speakers work correctly
39- STEPS:
40- 1. Make sure that no external speakers or headphones are connected
41- If testing a desktop, external speakers are allowed
42- 2. Click the Test button to play a brief tone on your audio device
43- VERIFICATION:
44- Did you hear a tone?
45-
46-plugin: manual
47-name: audio/playback_hdmi
48-requires:
49- device.category == 'AUDIO'
50- package.name == 'alsa-base'
51- package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
52- package.name == 'pulseaudio-utils'
53-command:
54- audio_settings store --verbose --file=$CHECKBOX_DATA/pulseaudio_settings; audio_settings set --verbose --device=hdmi --volume=50; gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink'; EXIT_CODE=$?; audio_settings restore --verbose --file=$CHECKBOX_DATA/pulseaudio_settings; exit $EXIT_CODE
55-_description:
56- PURPOSE:
57- HDMI audio interface verification
58- STEPS:
59- 1. Plug an external HDMI device with sound (Use only one HDMI/DisplayPort interface at a time for this test)
60- 2. Click the Test button
61- VERIFICATION:
62- Did you hear the sound from the HDMI device?
63-
64-plugin: manual
65-name: audio/playback_displayport
66-requires:
67- device.category == 'AUDIO'
68- package.name == 'alsa-base'
69- package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
70- package.name == 'pulseaudio-utils'
71-command:
72- audio_settings store --verbose --file=$CHECKBOX_DATA/pulseaudio_settings; audio_settings set --verbose --device=hdmi --volume=50; gst_pipeline_test -t 2 --device hdmi 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink'; EXIT_CODE=$?; audio_settings restore --verbose --file=$CHECKBOX_DATA/pulseaudio_settings; exit $EXIT_CODE
73-_description:
74- PURPOSE:
75- DisplayPort audio interface verification
76- STEPS:
77- 1. Plug an external DisplayPort device with sound (Use only one HDMI/DisplayPort interface at a time for this test)
78- 2. Click the Test button
79- VERIFICATION:
80- Did you hear the sound from the DisplayPort device?
81-
82-plugin: manual
83-name: audio/playback_headphones
84-depends: audio/list_devices
85-requires:
86- device.category == 'AUDIO'
87- package.name == 'alsa-base'
88- package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
89- package.name == 'pulseaudio-utils'
90-command: audio_settings store --file=$CHECKBOX_DATA/pulseaudio_settings; audio_settings set --device=pci --volume=50; gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink'; EXIT_CODE=$?; audio_settings restore --file=$CHECKBOX_DATA/pulseaudio_settings; exit $EXIT_CODE
91-_description:
92- PURPOSE:
93- This test will check that headphones connector works correctly
94- STEPS:
95- 1. Connect a pair of headphones to your audio device
96- 2. Click the Test button to play a sound to your audio device
97- VERIFICATION:
98- Did you hear a sound through the headphones and did the sound play without any distortion, clicks or other strange noises from your headphones?
99-
100-plugin: manual
101-name: audio/alsa_record_playback_internal
102-depends: audio/playback_auto
103-requires:
104- device.category == 'AUDIO'
105- package.name == 'alsa-base'
106- package.name == 'pulseaudio-utils'
107- package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good'
108-command: audio_settings store --file=$CHECKBOX_DATA/pulseaudio_settings; audio_settings set --device=pci --volume=50; alsa_record_playback; EXIT_CODE=$?; audio_settings restore --file=$CHECKBOX_DATA/pulseaudio_settings; exit $EXIT_CODE
109-_description:
110- PURPOSE:
111- This test will check that recording sound using the onboard microphone works correctly
112- STEPS:
113- 1. Disconnect any external microphones that you have plugged in
114- 2. Click "Test", then speak into your internal microphone
115- 3. After a few seconds, your speech will be played back to you.
116- VERIFICATION:
117- Did you hear your speech played back?
118-
119-plugin: manual
120-name: audio/alsa_record_playback_external
121-depends: audio/playback_headphones
122-requires:
123- device.category == 'AUDIO'
124- package.name == 'alsa-base'
125- package.name == 'pulseaudio-utils'
126- package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good'
127-command: audio_settings store --file=$CHECKBOX_DATA/pulseaudio_settings; audio_settings set --device=pci --volume=50; alsa_record_playback; EXIT_CODE=$?; audio_settings restore --file=$CHECKBOX_DATA/pulseaudio_settings; exit $EXIT_CODE
128-_description:
129- PURPOSE:
130- This test will check that recording sound using an external microphone works correctly
131- STEPS:
132- 1. Connect a microphone to your microphone port
133- 2. Click "Test", then speak into the external microphone
134- 3. After a few seconds, your speech will be played back to you
135- VERIFICATION:
136- Did you hear your speech played back?
137-
138-plugin: manual
139-name: audio/alsa_record_playback_usb
140-requires:
141- device.category == 'AUDIO'
142- package.name == 'alsa-base'
143- package.name == 'pulseaudio-utils'
144- package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good'
145-command: audio_settings store --file=$CHECKBOX_DATA/pulseaudio_settings; audio_settings set --device=usb --volume=50; alsa_record_playback; EXIT_CODE=$?; audio_settings restore --file=$CHECKBOX_DATA/pulseaudio_settings; exit $EXIT_CODE
146-_description:
147- PURPOSE:
148- This test will check that a USB audio device works correctly
149- STEPS:
150- 1. Connect a USB audio device to your system
151- 2. Click "Test", then speak into the microphone
152- 3. After a few seconds, your speech will be played back to you
153- VERIFICATION:
154- Did you hear your speech played back through the USB headphones?
155-
156-plugin: shell
157-name: audio/alsa_record_playback_automated
158-requires:
159- package.name == 'python3-gi'
160- package.name == 'gir1.2-gstreamer-1.0'
161- package.name == 'libgstreamer1.0-0'
162- package.name == 'gstreamer1.0-plugins-good'
163- package.name == 'gstreamer1.0-pulseaudio'
164- package.name == 'alsa-base'
165- device.category == 'AUDIO'
166-command: audio_test
167-_description:
168- Play back a sound on the default output and listen for it on the
169- default input.
170-
171-plugin: shell
172-name: audio/alsa_info_collect
173-command: alsa_info --no-dialog --no-upload --output ${CHECKBOX_DATA}/alsa_info.log
174-_description:
175- Collect audio-related system information. This data can be used to
176- simulate this computer's audio subsystem and perform more detailed tests
177- under a controlled environment.
178-
179-plugin: attachment
180-name: audio/alsa_info_attachment
181-depends: audio/alsa_info_collect
182-command: [ -e ${CHECKBOX_DATA}/alsa_info.log ] && cat ${CHECKBOX_DATA}/alsa_info.log
183-_description:
184- Attaches the audio hardware data collection log to the results.
185-
186-plugin: manual
187-name: audio/channels
188-command: speaker-test -c 2 -l 1 -t wav
189-_description:
190- PURPOSE:
191- Check that the various audio channels are working properly
192- STEPS:
193- 1. Click the Test button
194- VERIFICATION:
195- You should clearly hear a voice from the different audio channels
196-
197-plugin: shell
198-name: audio/check_volume
199-requires:
200- package.name == 'pulseaudio-utils'
201- device.category == 'AUDIO'
202-command: volume_test --minvol 1 --maxvol 100
203-_description:
204- This test will verify that the volume levels are at an acceptable level on
205- your local system. The test will validate that the volume is greater than
206- or equal to minvol and less than or equal to maxvol for all sources (inputs)
207- and sinks (outputs) recognized by PulseAudio. It will also validate that the
208- active source and sink are not muted. You should not manually adjust the
209- volume or mute before running this test.
210-
211-plugin: manual
212-name: audio/external-lineout
213-_description:
214- PURPOSE:
215- Check that external line out connection works correctly
216- STEPS:
217- 1. Insert cable to speakers (with built-in amplifiers) on the line out port
218- 2. Open system sound preferences, 'Output' tab, select 'Line-out' on the connector list. Click the Test button
219- 3. On the system sound preferences, select 'Internal Audio' on the device list and click 'Test Speakers' to check left and right channel
220- VERIFICATION:
221- 1. Do you hear a sound in the speakers? The internal speakers should *not* be muted automatically
222- 2. Do you hear the sound coming out on the corresponding channel?
223-
224-plugin: manual
225-name: audio/external-linein
226-requires:
227- device.category == 'AUDIO'
228- package.name == 'alsa-base'
229- package.name == 'pulseaudio-utils'
230- package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good'
231-command: audio_settings store --file=$CHECKBOX_DATA/pulseaudio_settings; audio_settings set --device=pci --volume=50; alsa_record_playback; EXIT_CODE=$?; audio_settings restore --file=$CHECKBOX_DATA/pulseaudio_settings; exit $EXIT_CODE
232-_description:
233- PURPOSE:
234- Check that external line in connection works correctly
235- STEPS:
236- 1. Use a cable to connect the line in port to an external line out source.
237- 2. Open system sound preferences, 'Input' tab, select 'Line-in' on the connector list. Click the Test button
238- 3. After a few seconds, your recording will be played back to you.
239- VERIFICATION:
240- Did you hear your recording?
241
242=== removed file 'jobs/bluetooth.txt.in'
243--- jobs/bluetooth.txt.in 2013-01-11 08:49:44 +0000
244+++ jobs/bluetooth.txt.in 1970-01-01 00:00:00 +0000
245@@ -1,90 +0,0 @@
246-
247-plugin: shell
248-name: bluetooth/detect-output
249-requires:
250- package.name == 'bluez'
251- device.category == 'BLUETOOTH'
252-command:
253- if rfkill list bluetooth | grep -q 'Hard blocked: yes'; then
254- echo "rfkill shows BT is hard blocked"
255- fi
256- if rfkill list bluetooth | grep -q 'Soft blocked: yes'; then
257- echo "rfkill shows BT is soft blocked, removing before testing"
258- rfkill unblock bluetooth
259- sleep 3
260- fi
261- output=$(hcitool dev | tail -n+2 | awk '{print $2}' | tee $CHECKBOX_DATA/bluetooth_address)
262- echo "$output"
263- if [ -z "$output" ]; then
264- "BT hardware not available"
265- exit 1
266- fi
267-_description:
268- Automated test to store bluetooth device information in checkbox report
269-
270-plugin: manual
271-name: bluetooth/browse-files
272-depends: bluetooth/detect-output
273-_description:
274- PURPOSE:
275- This test will check that bluetooth connection works correctly
276- STEPS:
277- 1. Enable bluetooth on any mobile device (PDA, smartphone, etc.)
278- 2. Click on the bluetooth icon in the menu bar
279- 3. Select 'Setup new device'
280- 4. Look for the device in the list and select it
281- 5. In the device write the PIN code automatically chosen by the wizard
282- 6. The device should pair with the computer
283- 7. Right-click on the bluetooth icon and select browse files
284- 8. Authorize the computer to browse the files in the device if needed
285- 9. You should be able to browse the files
286- VERIFICATION:
287- Did all the steps work?
288-
289-plugin: manual
290-name: bluetooth/file-transfer
291-depends: bluetooth/browse-files bluetooth/detect-output
292-_description:
293- PURPOSE:
294- This test will check that you can transfer information through a bluetooth connection
295- STEPS:
296- 1. Make sure that you're able to browse the files in your mobile device
297- 2. Copy a file from the computer to the mobile device
298- 3. Copy a file from the mobile device to the computer
299- VERIFICATION:
300- Were all files copied correctly?
301-
302-plugin: manual
303-name: bluetooth/audio
304-depends: bluetooth/detect-output
305-command: arecord -d 5 -D bluetooth -f S16_LE | aplay -D bluetooth -f S16_LE
306-_description:
307- PURPOSE:
308- This test will check that you can record and hear audio using a bluetooth audio device
309- STEPS:
310- 1. Enable the bluetooth headset
311- 2. Click on the bluetooth icon in the menu bar
312- 3. Select 'Setup new device'
313- 4. Look for the device in the list and select it
314- 5. In the device write the PIN code automatically chosen by the wizard
315- 6. The device should pair with the computer
316- 7. Click "Test" to record for five seconds and reproduce in the bluetooth device
317- VERIFICATION:
318- Did you hear the sound you recorded in the bluetooth
319-
320-plugin: manual
321-name: bluetooth/HID
322-depends: bluetooth/detect-output
323-command: keyboard_test
324-_description:
325- PURPOSE:
326- This test will check that you can use a BlueTooth HID device
327- STEPS:
328- 1. Enable either a BT mouse or keyboard
329- 2. Click on the bluetooth icon in the menu bar
330- 3. Select 'Setup new device'
331- 4. Look for the device in the list and select it
332- 5. For mice, perform actions such as moving the pointer, right and left button clicks and double clicks
333- 6. For keyboards, click the Test button to lauch a small tool. Enter some text into the tool and close it.
334- VERIFICATION:
335- Did the device work as expected?
336
337=== removed file 'jobs/camera.txt.in'
338--- jobs/camera.txt.in 2013-05-03 14:31:50 +0000
339+++ jobs/camera.txt.in 1970-01-01 00:00:00 +0000
340@@ -1,48 +0,0 @@
341-plugin: shell
342-name: camera/detect
343-requires:
344- device.category == 'CAPTURE'
345-command: camera_test detect
346-_description: This Automated test attempts to detect a camera.
347-
348-plugin: user-verify
349-name: camera/display
350-depends: camera/detect
351-requires:
352- device.category == 'CAPTURE'
353-command: camera_test display
354-_description:
355- PURPOSE:
356- This test will check that the built-in camera works
357- STEPS:
358- 1. Click on Test to display a video capture from the camera for ten seconds.
359- VERIFICATION:
360- Did you see the video capture?
361-
362-plugin: user-verify
363-name: camera/still
364-depends: camera/detect
365-requires:
366- package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
367- package.name == 'eog'
368- package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
369- device.category == 'CAPTURE'
370-command: camera_test still
371-_description:
372- PURPOSE:
373- This test will check that the built-in camera works
374- STEPS:
375- 1. Click on Test to display a still image from the camera for ten seconds.
376- VERIFICATION:
377- Did you see the image?
378-
379-plugin: shell
380-name: camera/multiple-resolution-images
381-depends: camera/detect
382-requires:
383- package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
384- device.category == 'CAPTURE'
385-command: camera_test resolutions
386-_description:
387- Takes multiple pictures based on the resolutions supported by the camera and
388- validates their size and that they are of a valid format.
389
390=== removed file 'jobs/codecs.txt.in'
391--- jobs/codecs.txt.in 2012-06-07 12:26:26 +0000
392+++ jobs/codecs.txt.in 1970-01-01 00:00:00 +0000
393@@ -1,29 +0,0 @@
394-plugin: manual
395-name: codecs/ogg-vorbis
396-requires:
397- package.name == 'gstreamer0.10-plugins-base' or package.name == 'gstreamer1.0-plugins-base'
398- package.name == 'totem' and package.name == 'ubuntu-sounds'
399-command: totem /usr/share/sounds/ubuntu/stereo/system-ready.ogg
400-_description:
401- PURPOSE:
402- This test will verify your system's ability to play Ogg Vorbis audio files.
403- STEPS:
404- 1. Click Test to play an Ogg Vorbis file (.ogg)
405- 2. Please close the player to proceed.
406- VERIFICATION:
407- Did the sample play correctly?
408-
409-plugin: manual
410-name: codecs/wav
411-requires:
412- package.name == 'gstreamer0.10-plugins-good' or package.name == 'gstreamer1.0-plugins-good'
413- package.name == 'totem' and package.name == 'alsa-utils'
414-command: totem /usr/share/sounds/alsa/Noise.wav
415-_description:
416- PURPOSE:
417- This test will verify your system's ability to play Wave Audio files.
418- STEPS:
419- 1. Select Test to play a Wave Audio format file (.wav)
420- 2. Please close the player to proceed.
421- VERIFICATION:
422- Did the sample play correctly?
423
424=== removed file 'jobs/daemons.txt.in'
425--- jobs/daemons.txt.in 2012-10-09 15:21:35 +0000
426+++ jobs/daemons.txt.in 1970-01-01 00:00:00 +0000
427@@ -1,66 +0,0 @@
428-plugin: shell
429-name: daemons/atd
430-requires: package.name == 'at'
431-command: pgrep -f '/usr/sbin/atd' >/dev/null
432-_description: Test if the atd daemon is running when the package is installed.
433-
434-plugin: shell
435-name: daemons/cron
436-requires: package.name == 'cron'
437-command: pgrep -f '/usr/sbin/cron' >/dev/null
438-_description: Test if the cron daemon is running when the package is installed.
439-
440-plugin: shell
441-name: daemons/cupsd
442-requires: package.name == 'cupsys'
443-command: pgrep -f '/usr/sbin/cupsd' >/dev/null
444-_description: Test if the cupsd daemon is running when the package is installed.
445-
446-plugin: shell
447-name: daemons/getty
448-requires: package.name == 'util-linux'
449-command: pgrep -f '/sbin/getty' >/dev/null
450-_description: Test if the getty daemon is running when the package is installed.
451-
452-plugin: shell
453-name: daemons/init
454-requires: package.name == 'upstart'
455-command: pgrep -f '/sbin/init' >/dev/null
456-_description: Test if the init daemon is running when the package is installed.
457-
458-plugin: shell
459-name: daemons/klogd
460-requires: package.name == 'klogd'
461-command: pgrep -f '/sbin/klogd' >/dev/null
462-_description: Test if the klogd daemon is running when the package is installed.
463-
464-plugin: shell
465-name: daemons/nmbd
466-requires: package.name == 'samba'
467-command: pgrep -f '/usr/sbin/nmbd' >/dev/null
468-_description: Test if the nmbd daemon is running when the package is installed.
469-
470-plugin: shell
471-name: daemons/smbd
472-requires: package.name == 'samba'
473-command: pgrep -f '/usr/sbin/smbd' >/dev/null
474-_description: Test if the smbd daemon is running when the package is installed.
475-
476-plugin: shell
477-name: daemons/syslogd
478-requires: package.name == 'syslogd'
479-command: pgrep -f '/sbin/syslogd' >/dev/null
480-_description: Test if the syslogd daemon is running when the package is installed.
481-
482-plugin: shell
483-name: daemons/udevd
484-requires:
485- package.name == 'udevd'
486-command: pgrep -f '/sbin/udevd' >/dev/null
487-_description: Test if the udevd daemon is running when the package is installed.
488-
489-plugin: shell
490-name: daemons/winbindd
491-requires: package.name == 'winbind'
492-command: pgrep -f '/usr/sbin/winbindd' >/dev/null
493-_description: Test if the winbindd daemon is running when the package is installed.
494
495=== removed file 'jobs/esata.txt.in'
496--- jobs/esata.txt.in 2013-03-07 07:46:10 +0000
497+++ jobs/esata.txt.in 1970-01-01 00:00:00 +0000
498@@ -1,37 +0,0 @@
499-plugin: user-interact
500-name: esata/insert
501-command: removable_storage_watcher insert ata_serial_esata
502-_description:
503- PURPOSE:
504- This test will check the system can detect the insertion of an eSATA HDD
505- STEPS:
506- 1. Click 'Test' to begin the test. This test will
507- timeout and fail if the insertion has not been detected within 20 seconds.
508- 2. Plug an eSATA HDD into an available eSATA port.
509- VERIFICATION:
510- The verification of this test is automated. Do not change the automatically
511- selected result
512-
513-plugin: shell
514-name: esata/storage-test
515-user: root
516-depends: esata/insert
517-command: removable_storage_test -s 268400000 ata_serial_esata
518-_description:
519- This is an automated test which performs read/write operations on an attached
520- eSATA HDD
521-
522-plugin: user-interact
523-name: esata/remove
524-depends: esata/storage-test
525-command: removable_storage_watcher remove ata_serial_esata
526-_description:
527- PURPOSE:
528- This test will check the system can detect the removal of an eSATA HDD
529- STEPS:
530- 1. Click 'Test' to begin the test. This test will timeout and fail if
531- the removal has not been detected within 20 seconds.
532- 2. Remove the previously attached eSATA HDD from the eSATA port.
533- VERIFICATION:
534- The verification of this test is automated. Do not change the automatically
535- selected result
536
537=== removed file 'jobs/expresscard.txt.in'
538--- jobs/expresscard.txt.in 2012-10-23 21:52:31 +0000
539+++ jobs/expresscard.txt.in 1970-01-01 00:00:00 +0000
540@@ -1,10 +0,0 @@
541-plugin: manual
542-name: expresscard/verification
543-_description:
544- PURPOSE:
545- This will verify that an ExpressCard slot can detect inserted devices.
546- If you do not have an ExpressCard slot, please skip test.
547- STEPS:
548- 1. Plug an ExpressCard device into the ExpressCard slot
549- VERIFICATION:
550- Was the device correctly detected?
551
552=== removed file 'jobs/fingerprint.txt.in'
553--- jobs/fingerprint.txt.in 2013-07-05 16:43:48 +0000
554+++ jobs/fingerprint.txt.in 1970-01-01 00:00:00 +0000
555@@ -1,29 +0,0 @@
556-plugin: manual
557-name: fingerprint/login
558-_description:
559- PURPOSE:
560- This test will verify that a fingerprint reader will work properly for logging into your system. This test case assumes that there's a testing account from which test cases are run and a personal account that the tester uses to verify the fingerprint reader
561- STEPS:
562- 1. Click on the User indicator on the left side of the panel (your user name).
563- 2. Select "Switch User Account"
564- 3. On the LightDM screen select your username.
565- 4. Use the fingerprint reader to login.
566- 5. Click on the user switcher applet.
567- 6. Select the testing account to continue running tests.
568- VERIFICATION:
569- Did the authentication procedure work correctly?
570-
571-plugin: manual
572-name: fingerprint/unlock
573-_description:
574- PURPOSE:
575- This test will verify that a fingerprint reader can be used to unlock a locked system.
576- STEPS:
577- 1. Click on the Session indicator (Cog icon on the Left side of the panel) .
578- 2. Select 'Lock screen'.
579- 3. Press any key or move the mouse.
580- 4. A window should appear that provides the ability to unlock either typing your password or using fingerprint authentication.
581- 5. Use the fingerprint reader to unlock.
582- 6. Your screen should be unlocked.
583- VERIFICATION:
584- Did the authentication procedure work correctly?
585
586=== removed file 'jobs/firewire.txt.in'
587--- jobs/firewire.txt.in 2013-03-07 07:46:10 +0000
588+++ jobs/firewire.txt.in 1970-01-01 00:00:00 +0000
589@@ -1,38 +0,0 @@
590-plugin: user-interact
591-name: firewire/insert
592-command: removable_storage_watcher insert firewire
593-_description:
594- PURPOSE:
595- This test will check the system can detect the insertion of a FireWire HDD
596- STEPS:
597- 1. Click 'Test' to begin the test. This test will
598- timeout and fail if the insertion has not been detected within 20 seconds.
599- 2. Plug a FireWire HDD into an available FireWire port.
600- VERIFICATION:
601- The verification of this test is automated. Do not change the automatically
602- selected result
603-
604-plugin: shell
605-name: firewire/storage-test
606-user: root
607-depends: firewire/insert
608-command: removable_storage_test -s 268400000 firewire
609-_description:
610- This is an automated test which performs read/write operations on an attached
611- FireWire HDD
612-
613-plugin: user-interact
614-name: firewire/remove
615-depends: firewire/storage-test
616-command: removable_storage_watcher remove firewire
617-_description:
618- PURPOSE:
619- This test will check the system can detect the removal of a FireWire HDD
620- STEPS:
621- 1. Click 'Test' to begin the test. This test will timeout and fail if
622- the removal has not been detected within 20 seconds.
623- 2. Remove the previously attached FireWire HDD from the FireWire port.
624- VERIFICATION:
625- The verification of this test is automated. Do not change the automatically
626- selected result
627-
628
629=== removed file 'jobs/floppy.txt.in'
630--- jobs/floppy.txt.in 2011-07-07 10:00:04 +0000
631+++ jobs/floppy.txt.in 1970-01-01 00:00:00 +0000
632@@ -1,13 +0,0 @@
633-plugin: local
634-name: floppy/check
635-requires: device.driver == 'floppy'
636-_description: Floppy test
637-command:
638- cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "driver=floppy"'
639- plugin: shell
640- name: floppy/check_`ls /sys$path/driver/*/*/*/block`
641- requires: device.path == "$path"
642- description: Floppy test for $product
643- user: root
644- command: floppy_test /dev/`ls /sys$path/driver/*/*/*/block`
645- EOF
646
647=== removed file 'jobs/graphics.txt.in'
648--- jobs/graphics.txt.in 2013-05-10 13:03:39 +0000
649+++ jobs/graphics.txt.in 1970-01-01 00:00:00 +0000
650@@ -1,223 +0,0 @@
651-plugin: shell
652-name: graphics/driver_version
653-command: graphics_driver
654-_description: Parses Xorg.0.Log and discovers the running X driver and version
655-
656-plugin: shell
657-name: graphics/xorg-version
658-requires: package.name == "x11-utils"
659-command: xdpyinfo | grep "^X.Org version" | cut -d ':' -f 2 | tr -d ' '
660-_description: Test to output the Xorg version
661-
662-plugin: manual
663-name: graphics/resolution-change
664-depends: graphics/xorg-version
665-_description:
666- PURPOSE:
667- This test will verify that the GUI is usable after manually changing resolution
668- STEPS:
669- 1. Open the Displays application
670- 2. Select a new resolution from the dropdown list
671- 3. Click on Apply
672- 4. Select the original resolution from the dropdown list
673- 5. Click on Apply
674- VERIFICATION:
675- Did the resolution change as expected?
676-
677-plugin: shell
678-name: graphics/xorg-process
679-requires:
680- package.name == 'xorg'
681- package.name == 'procps'
682-command: pgrep -f '/usr/bin/X' >/dev/null
683-_description: Test that the X process is running.
684-
685-plugin: shell
686-name: graphics/xorg-failsafe
687-requires: package.name == 'xorg'
688-command: ! test -e /var/log/Xorg.failsafe.log
689-_description: Test that the X is not running in failsafe mode.
690-
691-plugin: user-verify
692-name: graphics/resolution
693-requires:
694- device.category == 'VIDEO'
695-command: resolution_test
696-_description:
697- PURPOSE:
698- This test will verify the default display resolution
699- STEPS:
700- 1. This display is using the following resolution:
701- INFO:
702- $output
703- VERIFICATION:
704- Is this acceptable for your display?
705-
706-plugin: shell
707-name: graphics/minimum_resolution
708-requires:
709- device.category == 'VIDEO'
710-command: resolution_test --horizontal 800 --vertical 600
711-_description:
712- Ensure the current resolution meets or exceeds the recommended minimum
713- resolution (800x600). See here for details:
714- .
715- https://help.ubuntu.com/community/Installation/SystemRequirements
716-
717-name: graphics/modes
718-plugin: shell
719-command: graphics_modes_info
720-_description: Collect info on graphics modes (screen resolution and refresh rate)
721-
722-name: graphics/color_depth
723-plugin: shell
724-command: color_depth_info
725-_description: Collect info on color depth and pixel format.
726-
727-name: graphics/fresh_rate
728-plugin: shell
729-command: fresh_rate_info
730-_description: Collect info on fresh rate.
731-
732-name: graphics/graphic_memory
733-plugin: shell
734-command: graphic_memory_info
735-_description: Collect info on graphic memory.
736-
737-plugin: user-verify
738-name: graphics/display
739-requires:
740- package.name == 'xorg'
741- package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
742-command: gst_pipeline_test -t 2 'videotestsrc ! ffmpegcolorspace ! autovideosink'
743-_description:
744- PURPOSE:
745- This test will test the default display
746- STEPS:
747- 1. Click "Test" to display a video test.
748- VERIFICATION:
749- Do you see color bars and static?
750-
751-plugin: shell
752-name: graphics/VESA_drivers_not_in_use
753-command: cat /var/log/Xorg.0.log | perl -e '$a=0;while(<>){$a++ if /Loading.*vesa_drv\.so/;$a-- if /Unloading.*vesa/&&$a}exit 1 if $a'
754-_description: Check that VESA drivers are not in use
755-
756-plugin: user-verify
757-name: graphics/cycle_resolution
758-requires: package.name == 'xorg'
759-depends: graphics/VESA_drivers_not_in_use
760-command: xrandr_cycle --screenshot-dir $CHECKBOX_DATA
761-_description:
762- PURPOSE:
763- This test cycles through the detected video modes
764- STEPS:
765- 1. Click "Test" to start cycling through the video modes
766- VERIFICATION:
767- Did the screen appear to be working for each mode?
768-
769-plugin: user-verify
770-name: graphics/rotation
771-depends: graphics/xorg-version
772-command: rotation_test
773-_description:
774- PURPOSE:
775- This test will test display rotation
776- STEPS:
777- 1. Click "Test" to test display rotation. The display will be rotated every 4 seconds.
778- 2. Check if all rotations (normal right inverted left) took place without permanent screen corruption
779- VERIFICATION:
780- Did the display rotation take place without without permanent screen corruption?
781-
782-plugin: shell
783-name: graphics/compiz_check
784-requires: package.name == 'nux-tools'
785-command: set -o pipefail; /usr/lib/nux/unity_support_test -c -p | ansi_parser
786-_description: Check that hardware is able to run compiz
787-
788-plugin: shell
789-name: graphics/unity-support
790-requires: package.name == 'nux-tools'
791-command: set -o pipefail; /usr/lib/nux/unity_support_test -p | ansi_parser
792-_description: Check that hardware is able to run Unity 3D
793-
794-plugin: user-verify
795-name: graphics/glxgears
796-requires: package.name == 'mesa-utils'
797-command: glxgears; true
798-_description:
799- PURPOSE:
800- This test tests the basic 3D capabilities of your video card
801- STEPS:
802- 1. Click "Test" to execute an OpenGL demo. Press ESC at any time to close.
803- 2. Verify that the animation is not jerky or slow.
804- VERIFICATION:
805- 1. Did the 3d animation appear?
806- 2. Was the animation free from slowness/jerkiness?
807-
808-plugin: shell
809-name: graphics/3d_window_open_close
810-requires: package.name == 'mesa-utils'
811-command: window_test -t open-close -i 10
812-_description: Open and close a 3D window multiple times
813-
814-plugin: shell
815-name: graphics/3d_window_suspend_resume
816-requires: package.name == 'mesa-utils'
817-command: window_test -t suspend-resume -i 10
818-_description: Open, suspend resume and close a 3D window multiple times
819-
820-plugin: shell
821-name: graphics/multi_3d_windows_open_close
822-requires: package.name == 'mesa-utils'
823-command: window_test -t open-close-multi -i 10 -w 4
824-_description: Open and close 4 3D windows multiple times
825-
826-plugin: shell
827-name: graphics/3d_window_move
828-requires: package.name == 'mesa-utils'
829-command: window_test -t move
830-_description: Move a 3D window around the screen
831-
832-plugin: shell
833-name: graphics/screenshot
834-requires: package.name == 'fswebcam'
835-command: set -o pipefail; camera_test still --device=/dev/external_webcam -f ${CHECKBOX_DATA}/screenshot.jpg -q 2>&1 | ansi_parser
836-_description:
837- PURPOSE:
838- Take a screengrab of the current screen (logged on Unity desktop)
839- STEPS:
840- 1. Take picture using USB webcam
841- VERIFICATION:
842- Review attachment manually later
843-
844-plugin: attachment
845-name: screenshot.jpg
846-depends: graphics/screenshot
847-command: base64 ${CHECKBOX_DATA}/screenshot.jpg
848-_description: Attaches the screenshot captured in graphics/screenshot.
849-
850-plugin: shell
851-name: graphics/screenshot_fullscreen_video
852-requires: package.name == 'fswebcam'
853-command:
854- dbus-launch gsettings set org.gnome.totem repeat true
855- totem --fullscreen ${CHECKBOX_SHARE}/data/video/Ogg_Theora_Video.ogv 2>/dev/null &
856- set -o pipefail
857- sleep 15 && camera_test still --device=/dev/external_webcam -f ${CHECKBOX_DATA}/screenshot_fullscreen_video.jpg -q 2>&1 | ansi_parser
858- sleep 5 && totem --quit 2>/dev/null
859- dbus-launch gsettings set org.gnome.totem repeat false
860-_description:
861- PURPOSE:
862- Take a screengrab of the current screen during fullscreen video playback
863- STEPS:
864- 1. Start a fullscreen video playback
865- 2. Take picture using USB webcam after a few seconds
866- VERIFICATION:
867- Review attachment manually later
868-
869-plugin: attachment
870-name: screenshot_fullscreen_video.jpg
871-depends: graphics/screenshot_fullscreen_video
872-command: base64 ${CHECKBOX_DATA}/screenshot_fullscreen_video.jpg
873-_description: Attaches the screenshot captured in graphics/screenshot_fullscreen_video.
874
875=== removed file 'jobs/hibernate.txt.in'
876--- jobs/hibernate.txt.in 2013-04-24 13:11:53 +0000
877+++ jobs/hibernate.txt.in 1970-01-01 00:00:00 +0000
878@@ -1,34 +0,0 @@
879-plugin: manual
880-name: power-management/hibernate_advanced
881-depends: power-management/rtc
882-environ: CHECKBOX_DATA
883-user: root
884-command:
885- if type -P fwts >/dev/null; then
886- echo "Calling fwts"
887- fwts_test -l $CHECKBOX_DATA/hibernate-single -f none -s s4 --s4-device-check --s4-device-check-delay=45 --s4-sleep-delay=120
888- else
889- echo "Calling sleep_test"
890- sleep_test -s disk -w 120
891- fi
892-_description:
893- PURPOSE:
894- This test will check to make sure your system can successfully hibernate (if supported)
895- STEPS:
896- 1. Click on Test
897- 2. The system will hibernate and should wake itself within 5 minutes
898- 3. If your system does not wake itself after 5 minutes, please press the power button to wake the system manually
899- 4. If the system fails to resume from hibernate, please restart System Testing and mark this test as Failed
900- VERIFICATION:
901- Did the system successfully hibernate and did it work properly after waking up?
902-
903-plugin: shell
904-name: power-management/hibernate-single-log-check
905-command: [ -e $CHECKBOX_DATA/hibernate-single.log ] && sleep_test_log_check -v s4 $CHECKBOX_DATA/hibernate-single.log
906-_description:
907- Automated check of the hibernate log for errors discovered by fwts
908-
909-plugin: attachment
910-name: power-management/hibernate-single-log-attach
911-command: [ -e $CHECKBOX_DATA/hibernate-single.log ] && cat $CHECKBOX_DATA/hibernate-single.log
912-description: attaches log from single hibernate/resume test to results
913
914=== removed file 'jobs/input.txt.in'
915--- jobs/input.txt.in 2013-03-15 20:31:24 +0000
916+++ jobs/input.txt.in 1970-01-01 00:00:00 +0000
917@@ -1,67 +0,0 @@
918-plugin: local
919-name: input/pointing
920-requires:
921- device.category == 'MOUSE' or device.category == 'TOUCH'
922-_description: Pointing device tests.
923-command:
924- cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=MOUSE" -w "category=TOUCH"'
925- plugin: manual
926- name: input/pointing_`basename $path`
927- requires: device.path == "$path"
928- description:
929- PURPOSE:
930- This will test your $product device
931- STEPS:
932- 1. Move the cursor with your $product.
933- VERIFICATION:
934- Did the cursor move?
935- EOF
936-
937-plugin: manual
938-name: input/mouse
939-_description:
940- PURPOSE:
941- This test will test your pointing device
942- STEPS:
943- 1. Move the cursor using the pointing device or touch the screen.
944- 2. Perform some single/double/right click operations.
945- VERIFICATION:
946- Did the pointing device work as expected?
947-
948-plugin: manual
949-name: input/keyboard
950-command: keyboard_test
951-requires: device.category == 'KEYBOARD'
952-_description:
953- PURPOSE:
954- This test will test your keyboard
955- STEPS:
956- 1. Click on Test
957- 2. On the open text area, use your keyboard to type something
958- VERIFICATION:
959- Is your keyboard working properly?
960-
961-plugin: manual
962-name: input/accelerometer_verify
963-_description:
964- PURPOSE:
965- Manual detection of accelerometer.
966- STEPS:
967- 1. Look at the specifications for your system.
968- VERIFICATION:
969- Is this system supposed to have an accelerometer?
970-
971-plugin: user-interact
972-name: input/accelerometer
973-user: root
974-depends: input/accelerometer_verify
975-command: accelerometer_test -m
976-_description:
977- PURPOSE:
978- This test will test your accelerometer to see if it is detected
979- and operational as a joystiq device.
980- STEPS:
981- 1. Click on Test
982- 2. Tilt your hardware in the directions onscreen until the axis threshold is met.
983- VERIFICATION:
984- Is your accelerometer properly detected? Can you use the device?
985
986=== removed file 'jobs/install.txt.in'
987--- jobs/install.txt.in 2012-08-27 20:04:37 +0000
988+++ jobs/install.txt.in 1970-01-01 00:00:00 +0000
989@@ -1,19 +0,0 @@
990-plugin: shell
991-name: install/apt-get-gets-updates
992-requires: package.name == 'apt'
993-user: root
994-command: apt-get -d -y --force-yes dist-upgrade
995-_description:
996- Tests to see that apt can access repositories and get updates (does
997- not install updates). This is done to confirm that you could recover
998- from an incomplete or broken update.
999-
1000-plugin: shell
1001-name: install/oem-config
1002-requires: package.name == 'oem-config-gtk' and package.name == 'python-xpresser'
1003-user: root
1004-environ: CHECKBOX_SHARE
1005-command: oem_config_test -u 'testaccount1' -p 'testaccount1' -d $CHECKBOX_SHARE/data/images/oem-config/
1006-_description:
1007- Tests oem-config using Xpresser, and then checks that the user has been created successfully.
1008- Cleans up the newly created user after the test has passed.
1009
1010=== removed file 'jobs/keys.txt.in'
1011--- jobs/keys.txt.in 2013-04-19 13:40:29 +0000
1012+++ jobs/keys.txt.in 1970-01-01 00:00:00 +0000
1013@@ -1,145 +0,0 @@
1014-plugin: manual
1015-name: keys/brightness
1016-requires: dmi.product in ['Notebook','Laptop','Portable']
1017-_description:
1018- PURPOSE:
1019- This test will test the brightness key
1020- STEPS:
1021- 1. Press the brightness buttons on the keyboard
1022- VERIFICATION:
1023- Did the brightness change following to your key presses?
1024-
1025-plugin: manual
1026-name: keys/volume
1027-requires:
1028- device.category == 'KEYBOARD'
1029-user: root
1030-command: key_test -s '0xe02e,0xe0ae:Volume Down' '0xe030,0xe0b0:Volume Up'
1031-_description:
1032- PURPOSE:
1033- This test will test the volume keys of your keyboard
1034- STEPS:
1035- 1. Click test to open a window on which to test the volume keys.
1036- 2. If all the keys work, the test will be marked as passed.
1037- 3. If your computer has no volume keys, Skip this test.
1038- VERIFICATION:
1039- Do the keys work as expected?
1040-
1041-plugin: manual
1042-name: keys/mute
1043-requires:
1044- device.category == 'KEYBOARD'
1045-user: root
1046-command: key_test -s '0xe020,0xe0a0:Mute'
1047-_description:
1048- PURPOSE:
1049- This test will test the mute key of your keyboard
1050- STEPS:
1051- 1. Click test to open a window on which to test the mute key.
1052- 2. If the key works, the test will pass and the window will close.
1053- VERIFICATION:
1054- Does the mute key work as expected?
1055-
1056-plugin: manual
1057-name: keys/sleep
1058-requires:
1059- device.category == 'KEYBOARD'
1060-depends: suspend/suspend_advanced
1061-_description:
1062- PURPOSE:
1063- This test will test the sleep key
1064- STEPS:
1065- 1. Press the sleep key on the keyboard
1066- 2. Wake your system up by pressing the power button
1067- VERIFICATION:
1068- Did the system go to sleep after pressing the sleep key?
1069-
1070-plugin: manual
1071-name: keys/battery-info
1072-requires: dmi.product in ['Notebook','Laptop','Portable']
1073-user: root
1074-command: key_test -s '0xe071,0xef1:Battery Info'
1075-_description:
1076- PURPOSE:
1077- This test will test the battery information key
1078- STEPS:
1079- If you do not have a Battery Button, skip this test
1080- 1. Click Test to begin
1081- 2. Press the Battery Info button (or combo like Fn+F3)
1082- 3: Close the Power Statistics tool if it opens
1083- VERIFICATION:
1084- Did the Battery Info key work as expected?
1085-
1086-plugin: manual
1087-name: keys/wireless
1088-requires: dmi.product in ['Notebook','Laptop','Portable']
1089-_description:
1090- PURPOSE:
1091- This test will test the wireless key
1092- STEPS:
1093- 1. Press the wireless key on the keyboard
1094- 2. Check that the wifi LED turns off or changes color
1095- 3. Check that wireless is disabled
1096- 4. Press the same key again
1097- 5. Check that the wifi LED turns on or changes color
1098- 6. Check that wireless is enabled
1099- VERIFICATION:
1100- Did the wireless turn off on the first press and on again on the second?
1101- (NOTE: the LED functionality will be reviewed in a following test. Please
1102- only consider the functionality of the wifi itself here.)
1103-
1104-plugin: user-interact
1105-name: keys/media-control
1106-requires:
1107- device.category == 'KEYBOARD'
1108-user: root
1109-command: key_test -s 0xe010,0xe090:Previous 0xe024,0xe0a4:Stop 0xe019,0xe099:Next 0xe022,0xe0a2:Play
1110-_description:
1111- PURPOSE:
1112- This test will test the media keys of your keyboard
1113- STEPS:
1114- 1. Click test to open a window on which to test the media keys.
1115- 2. If all the keys work, the test will be marked as passed.
1116- 3. If your computer has no media keys, Skip this test.
1117- VERIFICATION:
1118- Do the keys work as expected?
1119-
1120-plugin: user-interact
1121-name: keys/super
1122-requires:
1123- device.category == 'KEYBOARD'
1124-user: root
1125-command: key_test -s '0xe05b,0xe0db:Left Super Key'
1126-_description:
1127- PURPOSE:
1128- This test will test the super key of your keyboard
1129- STEPS:
1130- 1. Click test to open a window on which to test the super key.
1131- 2. If the key works, the test will pass and the window will close.
1132- VERIFICATION:
1133- Does the super key work as expected?
1134-
1135-plugin: manual
1136-name: keys/video-out
1137-requires: dmi.product in ['Notebook','Laptop','Portable']
1138-_description:
1139- PURPOSE:
1140- Validate that the External Video hot key is working as expected
1141- STEPS:
1142- 1. Plug in an external monitor
1143- 2. Press the display hot key to change the monitors configuration
1144- VERIFICATION:
1145- Check that the video signal can be mirrored, extended, displayed on external or onboard only.
1146-
1147-plugin: manual
1148-name: keys/touchpad
1149-requires: dmi.product in ['Notebook','Laptop','Portable']
1150-_description:
1151- PURPOSE:
1152- Verify touchpad hotkey toggles touchpad functionality on and off
1153- STEPS:
1154- 1. Verify the touchpad is functional
1155- 2. Tap the touchpad toggle hotkey
1156- 3. Tap the touchpad toggle hotkey again
1157- VERIFICATION:
1158- Verify the touchpad has been disabled and re-enabled.
1159
1160=== removed file 'jobs/led.txt.in'
1161--- jobs/led.txt.in 2013-04-24 03:40:17 +0000
1162+++ jobs/led.txt.in 1970-01-01 00:00:00 +0000
1163@@ -1,197 +0,0 @@
1164-plugin: manual
1165-name: led/power
1166-_description:
1167- PURPOSE:
1168- Power LED verification
1169- STEPS:
1170- 1. Power LED should be on while device is switched on
1171- VERIFICATION:
1172- Does the power LED light as expected?
1173-
1174-plugin: manual
1175-name: led/power-blink-suspend
1176-depends: suspend/suspend_advanced
1177-_description:
1178- PURPOSE:
1179- Power LED verification
1180- STEPS:
1181- 1. The Power LED should blink or change color while the system is suspended
1182- VERIFICATION:
1183- Did the Power LED blink or change color while the system was suspended for the previous suspend test?
1184-
1185-plugin: manual
1186-name: led/suspend
1187-_description:
1188- PURPOSE:
1189- Suspend LED verification. If your system does not have a dedicated Suspend
1190- LED, skip this test.
1191- STEPS:
1192- 1. The Suspend LED should blink or change color while the system is
1193- supended
1194- VERIFICATION
1195- Did the Suspend LED blink or change color while the system was suspended?
1196-
1197-plugin: manual
1198-name: led/battery-charging
1199-_description:
1200- PURPOSE:
1201- Validate that the battery light shows charging status
1202- STEPS:
1203- 1. Let system run on battery for a while
1204- 2. Plug in AC plug
1205- VERIFICATION:
1206- Did the battery indicator LED turn orange?
1207-
1208-plugin: manual
1209-name: led/battery-charged
1210-_description:
1211- PURPOSE:
1212- Validate that the battery LED properly displays charged status
1213- STEPS:
1214- 1. Let system run on battery for a short time
1215- 2. Plug in AC
1216- 3. Let system run on AC
1217- VERIFICATION:
1218- Does the orange battery LED shut off when system is fully charged?
1219-
1220-plugin: manual
1221-name: led/battery-low
1222-_description:
1223- PURPOSE:
1224- Validate that the battery LED indicated low power
1225- STEPS:
1226- 1. Let system run on battery for several hours
1227- 2. Monitor battery LED carefully
1228- VERIFICATION:
1229- Does the LED light orange when battery is low?
1230-
1231-plugin: manual
1232-name: led/hdd
1233-command: led_hdd_test
1234-_description:
1235- PURPOSE:
1236- HDD LED verification
1237- STEPS:
1238- 1. Select "Test" to write and read a temporary file for a few seconds
1239- 2. HDD LED should light when writing to/reading from HDD
1240- VERIFICATION:
1241- Did the HDD LED light?
1242-
1243-plugin: manual
1244-name: led/numeric-keypad
1245-command: keyboard_test
1246-_description:
1247- PURPOSE:
1248- Numeric keypad LED verification
1249- STEPS:
1250- 1. Press "Block Num" key to toggle numeric keypad LED
1251- 2. Click on the "Test" button to open a window to verify your typing
1252- 3. Type using the numeric keypad both when the LED is on and off
1253- VERIFICATION:
1254- 1. Numeric keypad LED status should toggle everytime the "Block Num" key is pressed
1255- 2. Numbers should only be entered in the keyboard verification window when the LED is on
1256-
1257-plugin: manual
1258-name: led/caps-lock
1259-_description:
1260- PURPOSE:
1261- Block cap keys LED verification
1262- STEPS:
1263- 1. Press "Block Cap Keys" to activate/deactivate cap keys blocking
1264- 2. Cap Keys LED should be switched on/off every time the key is pressed
1265- VERIFICATION:
1266- Did the Cap Keys LED light as expected?
1267-
1268-plugin: manual
1269-name: led/wlan
1270-depends: keys/wireless
1271-_description:
1272- PURPOSE:
1273- WLAN LED verification
1274- STEPS:
1275- 1. During the keys/wireless test you should have observed the
1276- wireless LED while turning wireless back on.
1277- 2. WLAN LED should light or change color when wireless is turned on
1278- VERIFICATION:
1279- Did the WLAN LED turn on or change color as expected?
1280-
1281-plugin: manual
1282-name: led/wlan-disabled
1283-depends: keys/wireless
1284-_description:
1285- PURPOSE:
1286- Validate that WLAN LED shuts off when disabled
1287- STEPS:
1288- 1. During the keys/wireless test you should have observed the WLAN LED
1289- while performing that test after turning wireless off.
1290- 2. WLAN LED should turn off or change color when wireless is turned off
1291- VERIFICATION:
1292- Did the WLAN LED turn off or change color as expected?
1293-
1294-plugin: manual
1295-name: led/bluetooth
1296-depends: bluetooth/detect-output
1297-_description:
1298- PURPOSE:
1299- Validate that the Bluetooth LED turns on and off when BT is enabled/disabled
1300- STEPS:
1301- 1. Switch bluetooth off from a hardware switch (if present)
1302- 2. Switch bluetooth back on
1303- 3. Switch bluetooth off from the panel applet
1304- 4. Switch bluetooth back on
1305- VERIFICATION:
1306- Did the bluetooth LED turn off and on twice?
1307-
1308-plugin: manual
1309-name: led/camera
1310-depends: camera/detect
1311-command: camera_test led
1312-_description:
1313- PURPOSE:
1314- Camera LED verification
1315- STEPS:
1316- 1. Select Test to activate camera
1317- 2. Camera LED should light for a few seconds
1318- VERIFICATION:
1319- Did the camera LED light?
1320-
1321-plugin: manual
1322-name: led/touchpad
1323-_description:
1324- PURPOSE:
1325- Touchpad LED verification
1326- STEPS:
1327- 1. Click on the touchpad button or press key combination to enable/disable touchpad button
1328- 2. Slide your finger on the touchpad
1329- VERIFICATION:
1330- 1. Touchpad LED status should toggle everytime the button is clicked or the key combination is pressed
1331- 2. When the LED is on, the mouse pointer should move on touchpad usage
1332- 3. When the LED is off, the mouse pointer should not move on touchpad usage
1333-
1334-plugin: manual
1335-name: led/wireless
1336-_description:
1337- PURPOSE:
1338- Wireless (WLAN + Bluetooth) LED verification
1339- STEPS:
1340- 1. Make sure WLAN connection is established and Bluetooth is enabled.
1341- 2. WLAN/Bluetooth LED should light
1342- 3. Switch WLAN and Bluetooth off from a hardware switch (if present)
1343- 4. Switch them back on
1344- 5. Switch WLAN and Bluetooth off from the panel applet
1345- 6. Switch them back on
1346- VERIFICATION:
1347- Did the WLAN/Bluetooth LED light as expected?
1348-
1349-plugin: manual
1350-name: led/mute
1351-depends: keys/mute
1352-_description:
1353- PURPOSE:
1354- Audio Mute LED verification. Skip this test if your system does not have
1355- a special Audio Mute LED
1356- STEPS:
1357- 1. Press the Mute key twice and observe the Audio LED to determine if it
1358- either turned off and on or changed colors.
1359- VERIFICATION:
1360- Did the Audio LED turn on and off change color as expected?
1361
1362=== modified file 'jobs/local.txt.in'
1363--- jobs/local.txt.in 2013-08-06 16:40:36 +0000
1364+++ jobs/local.txt.in 2013-08-19 20:47:35 +0000
1365@@ -1,10 +1,3 @@
1366-name: __audio__
1367-plugin: local
1368-_description: Audio tests
1369-command:
1370- shopt -s extglob
1371- cat $CHECKBOX_SHARE/jobs/audio.txt?(.in)
1372-
1373 name: __benchmarks__
1374 plugin: local
1375 _description: Benchmarks tests
1376@@ -12,27 +5,6 @@
1377 shopt -s extglob
1378 cat $CHECKBOX_SHARE/jobs/benchmarks.txt?(.in)
1379
1380-name: __bluetooth__
1381-plugin: local
1382-_description: Bluetooth tests
1383-command:
1384- shopt -s extglob
1385- cat $CHECKBOX_SHARE/jobs/bluetooth.txt?(.in)
1386-
1387-name: __camera__
1388-plugin: local
1389-_description: Camera tests
1390-command:
1391- shopt -s extglob
1392- cat $CHECKBOX_SHARE/jobs/camera.txt?(.in)
1393-
1394-name: __codecs__
1395-plugin: local
1396-_description: Codec tests
1397-command:
1398- shopt -s extglob
1399- cat $CHECKBOX_SHARE/jobs/codecs.txt?(.in)
1400-
1401 name: __cpu__
1402 plugin: local
1403 _description: CPU tests
1404@@ -40,13 +12,6 @@
1405 shopt -s extglob
1406 cat $CHECKBOX_SHARE/jobs/cpu.txt?(.in)
1407
1408-name: __daemons__
1409-plugin: local
1410-_description: System Daemon tests
1411-command:
1412- shopt -s extglob
1413- cat $CHECKBOX_SHARE/jobs/daemons.txt?(.in)
1414-
1415 name: __disk__
1416 plugin: local
1417 _description: Disk tests
1418@@ -61,48 +26,6 @@
1419 shopt -s extglob
1420 cat $CHECKBOX_SHARE/jobs/dcmi_in_band.txt?(.in)
1421
1422-name: __esata__
1423-plugin: local
1424-_description: eSATA disk tests
1425-command:
1426- shopt -s extglob
1427- cat $CHECKBOX_SHARE/jobs/esata.txt?(.in)
1428-
1429-name: __fingerprint__
1430-plugin: local
1431-_description: Fingerprint reader tests
1432-command:
1433- shopt -s extglob
1434- cat $CHECKBOX_SHARE/jobs/fingerprint.txt?(.in)
1435-
1436-name: __firewire__
1437-plugin: local
1438-_description: Firewire disk tests
1439-command:
1440- shopt -s extglob
1441- cat $CHECKBOX_SHARE/jobs/firewire.txt?(.in)
1442-
1443-name: __floppy__
1444-plugin: local
1445-_description: Floppy disk tests
1446-command:
1447- shopt -s extglob
1448- cat $CHECKBOX_SHARE/jobs/floppy.txt?(.in)
1449-
1450-name: __graphics__
1451-plugin: local
1452-_description: Graphics tests
1453-command:
1454- shopt -s extglob
1455- cat $CHECKBOX_SHARE/jobs/graphics.txt?(.in)
1456-
1457-name: __hibernate__
1458-plugin: local
1459-_description: Hibernation tests
1460-command:
1461- shopt -s extglob
1462- cat $CHECKBOX_SHARE/jobs/hibernate.txt?(.in)
1463-
1464 name: __info__
1465 plugin: local
1466 _description: Informational tests
1467@@ -110,20 +33,6 @@
1468 shopt -s extglob
1469 cat $CHECKBOX_SHARE/jobs/info.txt?(.in)
1470
1471-name: __input__
1472-plugin: local
1473-_description: Input Devices tests
1474-command:
1475- shopt -s extglob
1476- cat $CHECKBOX_SHARE/jobs/input.txt?(.in)
1477-
1478-name: __install__
1479-plugin: local
1480-_description: Software Installation tests
1481-command:
1482- shopt -s extglob
1483- cat $CHECKBOX_SHARE/jobs/install.txt?(.in)
1484-
1485 name: __ipmi_out_of_band__
1486 plugin: local
1487 _description: IPMI out of band tests
1488@@ -131,27 +40,6 @@
1489 shopt -s extglob
1490 cat $CHECKBOX_SHARE/jobs/ipmi_out_of_band.txt?(.in)
1491
1492-name: __keys__
1493-plugin: local
1494-_description: Hotkey tests
1495-command:
1496- shopt -s extglob
1497- cat $CHECKBOX_SHARE/jobs/keys.txt?(.in)
1498-
1499-name: __led__
1500-plugin: local
1501-_description: LED tests
1502-command:
1503- shopt -s extglob
1504- cat $CHECKBOX_SHARE/jobs/led.txt?(.in)
1505-
1506-name: __mediacard__
1507-plugin: local
1508-_description: Media Card tests
1509-command:
1510- shopt -s extglob
1511- cat $CHECKBOX_SHARE/jobs/mediacard.txt?(.in)
1512-
1513 name: __memory__
1514 plugin: local
1515 _description: Memory tests
1516@@ -159,13 +47,6 @@
1517 shopt -s extglob
1518 cat $CHECKBOX_SHARE/jobs/memory.txt?(.in)
1519
1520-name: __rendercheck__
1521-plugin: local
1522-_description: Rendercheck tests
1523-command:
1524- shopt -s extglob
1525- cat $CHECKBOX_SHARE/jobs/rendercheck.txt?(.in)
1526-
1527 name: __miscellanea__
1528 plugin: local
1529 _description: Miscellaneous tests
1530@@ -173,13 +54,6 @@
1531 shopt -s extglob
1532 cat $CHECKBOX_SHARE/jobs/miscellanea.txt?(.in)
1533
1534-name: __monitor__
1535-plugin: local
1536-_description: Monitor tests
1537-command:
1538- shopt -s extglob
1539- cat $CHECKBOX_SHARE/jobs/monitor.txt?(.in)
1540-
1541 name: __networking__
1542 plugin: local
1543 _description: Networking tests
1544@@ -194,41 +68,6 @@
1545 shopt -s extglob
1546 cat $CHECKBOX_SHARE/jobs/optical.txt?(.in)
1547
1548-name: __panel_clock__
1549-plugin: local
1550-_description: Panel Clock Verification tests
1551-command:
1552- shopt -s extglob
1553- cat $CHECKBOX_SHARE/jobs/panel_clock_test.txt?(.in)
1554-
1555-name: __panel_reboot__
1556-plugin: local
1557-_description: Panel Reboot Verification tests
1558-command:
1559- shopt -s extglob
1560- cat $CHECKBOX_SHARE/jobs/panel_reboot.txt?(.in)
1561-
1562-name: __expresscard__
1563-plugin: local
1564-_description: ExpressCard tests
1565-command:
1566- shopt -s extglob
1567- cat $CHECKBOX_SHARE/jobs/expresscard.txt?(.in)
1568-
1569-name: __peripheral__
1570-plugin: local
1571-_description: Peripheral tests
1572-command:
1573- shopt -s extglob
1574- cat $CHECKBOX_SHARE/jobs/peripheral.txt?(.in)
1575-
1576-name: __piglit__
1577-plugin: local
1578-_description: Piglit tests
1579-command:
1580- shopt -s extglob
1581- cat $CHECKBOX_SHARE/jobs/piglit.txt?(.in)
1582-
1583 name: __power-management__
1584 plugin: local
1585 _description: Power Management tests
1586@@ -236,34 +75,6 @@
1587 shopt -s extglob
1588 cat $CHECKBOX_SHARE/jobs/power-management.txt?(.in)
1589
1590-name: __server-services__
1591-plugin: local
1592-_description: Server Services checks
1593-command:
1594- shopt -s extglob
1595- cat $CHECKBOX_SHARE/jobs/server-services.txt?(.in)
1596-
1597-name: __suspend__
1598-plugin: local
1599-_description: Suspend tests
1600-command:
1601- shopt -s extglob
1602- cat $CHECKBOX_SHARE/jobs/suspend.txt?(.in)
1603-
1604-name: __touchpad__
1605-plugin: local
1606-_description: Touchpad tests
1607-command:
1608- shopt -s extglob
1609- cat $CHECKBOX_SHARE/jobs/touchpad.txt?(.in)
1610-
1611-name: __touchscreen__
1612-plugin: local
1613-_description: Touchscreen tests
1614-command:
1615- shopt -s extglob
1616- cat $CHECKBOX_SHARE/jobs/touchscreen.txt?(.in)
1617-
1618 name: __usb__
1619 plugin: local
1620 _description: USB tests
1621@@ -271,13 +82,6 @@
1622 shopt -s extglob
1623 cat $CHECKBOX_SHARE/jobs/usb.txt?(.in)
1624
1625-name: __user_apps__
1626-plugin: local
1627-_description: User Applications
1628-command:
1629- shopt -s extglob
1630- cat $CHECKBOX_SHARE/jobs/user_apps.txt?(.in)
1631-
1632 name: __virtualization__
1633 plugin: local
1634 _description: Virtualization tests
1635@@ -285,20 +89,6 @@
1636 shopt -s extglob
1637 cat $CHECKBOX_SHARE/jobs/virtualization.txt?(.in)
1638
1639-name: __wireless__
1640-plugin: local
1641-_description: Wireless networking tests
1642-command:
1643- shopt -s extglob
1644- cat $CHECKBOX_SHARE/jobs/wireless.txt?(.in)
1645-
1646-name: __mobilebroadband__
1647-plugin: local
1648-_description: Mobile broadband tests
1649-command:
1650- shopt -s extglob
1651- cat $CHECKBOX_SHARE/jobs/mobilebroadband.txt?(.in)
1652-
1653 name: __stress__
1654 plugin: local
1655 _description: Stress tests
1656
1657=== removed file 'jobs/mediacard.txt.in'
1658--- jobs/mediacard.txt.in 2013-05-06 21:44:33 +0000
1659+++ jobs/mediacard.txt.in 1970-01-01 00:00:00 +0000
1660@@ -1,662 +0,0 @@
1661-plugin: user-interact
1662-name: mediacard/mmc-insert
1663-command: removable_storage_watcher --memorycard insert sdio usb scsi
1664-_description:
1665- PURPOSE:
1666- This test will check that the systems media card reader can
1667- detect the insertion of a Multimedia Card (MMC) media
1668- STEPS:
1669- 1. Click "Test" and insert an MMC card into the reader.
1670- If a file browser opens up, you can safely close it.
1671- (Note: this test will time-out after 20 seconds.)
1672- 2. Do not remove the device after this test.
1673- VERIFICATION:
1674- The verification of this test is automated. Do not change the
1675- automatically selected result.
1676-
1677-plugin: shell
1678-name: mediacard/mmc-storage
1679-depends: mediacard/mmc-insert
1680-user: root
1681-command: removable_storage_test -s 67120000 --memorycard sdio usb scsi
1682-_description:
1683- This test is automated and executes after the mediacard/mmc-insert
1684- test is run. It tests reading and writing to the MMC card.
1685-
1686-plugin: user-interact
1687-name: mediacard/mmc-remove
1688-depends: mediacard/mmc-insert
1689-command: removable_storage_watcher --memorycard remove sdio usb scsi
1690-_description:
1691- PURPOSE:
1692- This test will check that the system correctly detects
1693- the removal of the MMC card from the systems card reader.
1694- STEPS:
1695- 1. Click "Test" and remove the MMC card from the reader.
1696- (Note: this test will time-out after 20 seconds.)
1697- VERIFICATION:
1698- The verification of this test is automated. Do not change the
1699- automatically selected result.
1700-
1701-plugin: user-interact
1702-name: mediacard/mmc-insert-after-suspend
1703-depends: suspend/suspend_advanced
1704-command: removable_storage_watcher --memorycard insert sdio usb scsi
1705-_description:
1706- PURPOSE:
1707- This test will check that the systems media card reader can
1708- detect the insertion of an MMC card after the system has been suspended
1709- STEPS:
1710- 1. Click "Test" and insert an MMC card into the reader.
1711- If a file browser opens up, you can safely close it.
1712- (Note: this test will time-out after 20 seconds.)
1713- 2. Do not remove the device after this test.
1714- VERIFICATION:
1715- The verification of this test is automated. Do not change the
1716- automatically selected result.
1717-
1718-plugin: shell
1719-name: mediacard/mmc-storage-after-suspend
1720-depends: mediacard/mmc-insert-after-suspend
1721-user: root
1722-command: removable_storage_test -s 67120000 --memorycard sdio usb scsi
1723-_description:
1724- This test is automated and executes after the mediacard/mmc-insert-after-suspend test
1725- is run. It tests reading and writing to the MMC card after the system has been suspended.
1726-
1727-plugin: user-interact
1728-name: mediacard/mmc-remove-after-suspend
1729-depends: mediacard/mmc-insert-after-suspend
1730-command: removable_storage_watcher --memorycard remove sdio usb scsi
1731-_description:
1732- PURPOSE:
1733- This test will check that the system correctly detects the removal
1734- of an MMC card from the systems card reader after the system has been suspended.
1735- STEPS:
1736- 1. Click "Test" and remove the MMC card from the reader.
1737- (Note: this test will time-out after 20 seconds.)
1738- VERIFICATION:
1739- The verification of this test is automated. Do not change the
1740- automatically selected result.
1741-
1742-plugin: user-interact
1743-name: mediacard/sd-insert
1744-command: removable_storage_watcher --memorycard insert sdio usb scsi
1745-_description:
1746- PURPOSE:
1747- This test will check that the systems media card reader can
1748- detect the insertion of an UNLOCKED Secure Digital (SD) media card
1749- STEPS:
1750- 1. Click "Test" and insert an UNLOCKED SD card into the reader.
1751- If a file browser opens up, you can safely close it.
1752- (Note: this test will time-out after 20 seconds.)
1753- 2. Do not remove the device after this test.
1754- VERIFICATION:
1755- The verification of this test is automated. Do not change the
1756- automatically selected result.
1757-
1758-plugin: shell
1759-name: mediacard/sd-storage
1760-depends: mediacard/sd-insert
1761-user: root
1762-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
1763-_description:
1764- This test is automated and executes after the mediacard/sd-insert
1765- test is run. It tests reading and writing to the SD card.
1766-
1767-plugin: user-interact
1768-name: mediacard/sd-remove
1769-depends: mediacard/sd-insert
1770-command: removable_storage_watcher --memorycard remove sdio usb scsi
1771-_description:
1772- PURPOSE:
1773- This test will check that the system correctly detects
1774- the removal of an SD card from the systems card reader.
1775- STEPS:
1776- 1. Click "Test" and remove the SD card from the reader.
1777- (Note: this test will time-out after 20 seconds.)
1778- VERIFICATION:
1779- The verification of this test is automated. Do not change the
1780- automatically selected result.
1781-
1782-plugin: user-interact
1783-name: mediacard/sd-insert-after-suspend
1784-depends: suspend/suspend_advanced
1785-command: removable_storage_watcher --memorycard insert sdio usb scsi
1786-_description:
1787- PURPOSE:
1788- This test will check that the systems media card reader can
1789- detect the insertion of an UNLOCKED SD card after the system
1790- has been suspended
1791- STEPS:
1792- 1. Click "Test" and insert an UNLOCKED SD card into the reader.
1793- If a file browser opens up, you can safely close it.
1794- (Note: this test will time-out after 20 seconds.)
1795- 2. Do not remove the device after this test.
1796- VERIFICATION:
1797- The verification of this test is automated. Do not change the
1798- automatically selected result.
1799-
1800-plugin: shell
1801-name: mediacard/sd-storage-after-suspend
1802-depends: mediacard/sd-insert-after-suspend
1803-user: root
1804-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
1805-_description:
1806- This test is automated and executes after the mediacard/sd-insert-after-suspend test
1807- is run. It tests reading and writing to the SD card after the system has been suspended.
1808-
1809-plugin: user-interact
1810-name: mediacard/sd-remove-after-suspend
1811-depends: mediacard/sd-insert-after-suspend
1812-command: removable_storage_watcher --memorycard remove sdio usb scsi
1813-_description:
1814- PURPOSE:
1815- This test will check that the system correctly detects
1816- the removal of an SD card from the systems card reader
1817- after the system has been suspended.
1818- STEPS:
1819- 1. Click "Test" and remove the SD card from the reader.
1820- (Note: this test will time-out after 20 seconds.)
1821- VERIFICATION:
1822- The verification of this test is automated. Do not change the
1823- automatically selected result.
1824-
1825-plugin: shell
1826-name: mediacard/sd-preinserted
1827-user: root
1828-requires: device.category == 'CARDREADER'
1829-command: removable_storage_test -s 268400000 --memorycard -l sdio usb scsi && removable_storage_test --memorycard sdio usb scsi
1830-_description:
1831- This is a fully automated version of mediacard/sd-automated and assumes that the
1832- system under test has a memory card device plugged in prior to checkbox execution.
1833- It is intended for SRU automated testing.
1834-
1835-plugin: user-interact
1836-name: mediacard/sdhc-insert
1837-command: removable_storage_watcher --memorycard insert sdio usb scsi
1838-_description:
1839- PURPOSE:
1840- This test will check that the systems media card reader can
1841- detect the insertion of a UNLOCKED Secure Digital High-Capacity
1842- (SDHC) media card
1843- STEPS:
1844- 1. Click "Test" and insert an UNLOCKED SDHC card into the reader.
1845- If a file browser opens up, you can safely close it.
1846- (Note: this test will time-out after 20 seconds.)
1847- 2. Do not remove the device after this test.
1848- VERIFICATION:
1849- The verification of this test is automated. Do not change the
1850- automatically selected result.
1851-
1852-plugin: shell
1853-name: mediacard/sdhc-storage
1854-depends: mediacard/sdhc-insert
1855-user: root
1856-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
1857-_description:
1858- This test is automated and executes after the mediacard/sdhc-insert
1859- test is run. It tests reading and writing to the SDHC card.
1860-
1861-plugin: user-interact
1862-name: mediacard/sdhc-remove
1863-depends: mediacard/sdhc-insert
1864-command: removable_storage_watcher --memorycard remove sdio usb scsi
1865-_description:
1866- PURPOSE:
1867- This test will check that the system correctly detects
1868- the removal of an SDHC card from the systems card reader.
1869- STEPS:
1870- 1. Click "Test" and remove the SDHC card from the reader.
1871- (Note: this test will time-out after 20 seconds.)
1872- VERIFICATION:
1873- The verification of this test is automated. Do not change the
1874- automatically selected result.
1875-
1876-plugin: user-interact
1877-name: mediacard/sdhc-insert-after-suspend
1878-depends: suspend/suspend_advanced
1879-command: removable_storage_watcher --memorycard insert sdio usb scsi
1880-_description:
1881- PURPOSE:
1882- This test will check that the systems media card reader can
1883- detect the insertion of an UNLOCKED SDHC media card after the
1884- system has been suspended
1885- STEPS:
1886- 1. Click "Test" and insert an UNLOCKED SDHC card into the reader.
1887- If a file browser opens up, you can safely close it.
1888- (Note: this test will time-out after 20 seconds.)
1889- 2. Do not remove the device after this test.
1890- VERIFICATION:
1891- The verification of this test is automated. Do not change the
1892- automatically selected result.
1893-
1894-plugin: shell
1895-name: mediacard/sdhc-storage-after-suspend
1896-depends: mediacard/sdhc-insert-after-suspend
1897-user: root
1898-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
1899-_description:
1900- This test is automated and executes after the mediacard/sdhc-insert-after-suspend test
1901- is run. It tests reading and writing to the SDHC card after the system has been suspended.
1902-
1903-plugin: user-interact
1904-name: mediacard/sdhc-remove-after-suspend
1905-depends: mediacard/sdhc-insert-after-suspend
1906-command: removable_storage_watcher --memorycard remove sdio usb scsi
1907-_description:
1908- PURPOSE:
1909- This test will check that the system correctly detects the removal
1910- of an SDHC card from the systems card reader after the system has been suspended.
1911- STEPS:
1912- 1. Click "Test" and remove the SDHC card from the reader.
1913- (Note: this test will time-out after 20 seconds.)
1914- VERIFICATION:
1915- The verification of this test is automated. Do not change the
1916- automatically selected result.
1917-
1918-plugin: user-interact
1919-name: mediacard/cf-insert
1920-command: removable_storage_watcher --memorycard insert sdio usb scsi
1921-_description:
1922- PURPOSE:
1923- This test will check that the systems media card reader can
1924- detect the insertion of a Compact Flash (CF) media card
1925- STEPS:
1926- 1. Click "Test" and insert a CF card into the reader.
1927- If a file browser opens up, you can safely close it.
1928- (Note: this test will time-out after 20 seconds.)
1929- 2. Do not remove the device after this test.
1930- VERIFICATION:
1931- The verification of this test is automated. Do not change the
1932- automatically selected result.
1933-
1934-plugin: shell
1935-name: mediacard/cf-storage
1936-depends: mediacard/cf-insert
1937-user: root
1938-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
1939-_description:
1940- This test is automated and executes after the mediacard/cf-insert
1941- test is run. It tests reading and writing to the CF card.
1942-
1943-plugin: user-interact
1944-name: mediacard/cf-remove
1945-depends: mediacard/cf-storage
1946-command: removable_storage_watcher --memorycard remove sdio usb scsi
1947-_description:
1948- PURPOSE:
1949- This test will check that the system correctly detects
1950- the removal of a CF card from the systems card reader.
1951- STEPS:
1952- 1. Click "Test" and remove the CF card from the reader.
1953- (Note: this test will time-out after 20 seconds.)
1954- VERIFICATION:
1955- The verification of this test is automated. Do not change the
1956- automatically selected result.
1957-
1958-plugin: user-interact
1959-name: mediacard/cf-insert-after-suspend
1960-depends: suspend/suspend_advanced
1961-command: removable_storage_watcher --memorycard insert sdio usb scsi
1962-_description:
1963- PURPOSE:
1964- This test will check that the systems media card reader can
1965- detect the insertion of a CF card after the system has been suspended
1966- STEPS:
1967- 1. Click "Test" and insert a CF card into the reader.
1968- If a file browser opens up, you can safely close it.
1969- (Note: this test will time-out after 20 seconds.)
1970- 2. Do not remove the device after this test.
1971- VERIFICATION:
1972- The verification of this test is automated. Do not change the
1973- automatically selected result.
1974-
1975-plugin: shell
1976-name: mediacard/cf-storage-after-suspend
1977-depends: mediacard/cf-insert-after-suspend
1978-user: root
1979-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
1980-_description:
1981- This test is automated and executes after the mediacard/cf-insert-after-suspend test
1982- is run. It tests reading and writing to the CF card after the system has been suspended.
1983-
1984-plugin: user-interact
1985-name: mediacard/cf-remove-after-suspend
1986-depends: mediacard/cf-insert-after-suspend
1987-command: removable_storage_watcher --memorycard remove sdio usb scsi
1988-_description:
1989- PURPOSE:
1990- This test will check that the system correctly detects the removal
1991- of a CF card from the systems card reader after the system has been suspended.
1992- STEPS:
1993- 1. Click "Test" and remove the CF card from the reader.
1994- (Note: this test will time-out after 20 seconds.)
1995- VERIFICATION:
1996- The verification of this test is automated. Do not change the
1997- automatically selected result.
1998-
1999-plugin: user-interact
2000-name: mediacard/sdxc-insert
2001-command: removable_storage_watcher --memorycard insert sdio usb scsi
2002-_description:
2003- PURPOSE:
2004- This test will check that the systems media card reader can
2005- detect the insertion of a Secure Digital Extended Capacity (SDXC) media card
2006- STEPS:
2007- 1. Click "Test" and insert a SDXC card into the reader.
2008- If a file browser opens up, you can safely close it.
2009- (Note: this test will time-out after 20 seconds.)
2010- 2. Do not remove the device after this test.
2011- VERIFICATION:
2012- The verification of this test is automated. Do not change the
2013- automatically selected result.
2014-
2015-plugin: shell
2016-name: mediacard/sdxc-storage
2017-depends: mediacard/sdxc-insert
2018-user: root
2019-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
2020-_description:
2021- This test is automated and executes after the mediacard/sdxc-insert
2022- test is run. It tests reading and writing to the SDXC card.
2023-
2024-plugin: user-interact
2025-name: mediacard/sdxc-remove
2026-depends: mediacard/sdxc-insert
2027-command: removable_storage_watcher --memorycard remove sdio usb scsi
2028-_description:
2029- PURPOSE:
2030- This test will check that the system correctly detects
2031- the removal of a SDXC card from the systems card reader.
2032- STEPS:
2033- 1. Click "Test" and remove the SDXC card from the reader.
2034- (Note: this test will time-out after 20 seconds.)
2035- VERIFICATION:
2036- The verification of this test is automated. Do not change the
2037- automatically selected result.
2038-
2039-plugin: user-interact
2040-name: mediacard/sdxc-insert-after-suspend
2041-depends: suspend/suspend_advanced
2042-command: removable_storage_watcher --memorycard insert sdio usb scsi
2043-_description:
2044- PURPOSE:
2045- This test will check that the systems media card reader can
2046- detect the insertion of a SDXC card after the system has been suspended
2047- STEPS:
2048- 1. Click "Test" and insert a SDXC card into the reader.
2049- If a file browser opens up, you can safely close it.
2050- (Note: this test will time-out after 20 seconds.)
2051- 2. Do not remove the device after this test.
2052- VERIFICATION:
2053- The verification of this test is automated. Do not change the
2054- automatically selected result.
2055-
2056-plugin: shell
2057-name: mediacard/sdxc-storage-after-suspend
2058-depends: mediacard/sdxc-insert-after-suspend
2059-user: root
2060-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
2061-_description:
2062- This test is automated and executes after the mediacard/sdxc-insert-after-suspend test
2063- is run. It tests reading and writing to the SDXC card after the system has been suspended.
2064-
2065-plugin: user-interact
2066-name: mediacard/sdxc-remove-after-suspend
2067-depends: mediacard/sdxc-insert-after-suspend
2068-command: removable_storage_watcher --memorycard remove sdio usb scsi
2069-_description:
2070- PURPOSE:
2071- This test will check that the system correctly detects the removal
2072- of a SDXC card from the systems card reader after the system has been suspended.
2073- STEPS:
2074- 1. Click "Test" and remove the SDXC card from the reader.
2075- If a file browser opens up, you can safely close it.
2076- (Note: this test will time-out after 20 seconds.)
2077- VERIFICATION:
2078- The verification of this test is automated. Do not change the
2079- automatically selected result.
2080-
2081-plugin: user-interact
2082-name: mediacard/ms-insert
2083-command: removable_storage_watcher --memorycard insert sdio usb scsi
2084-_description:
2085- PURPOSE:
2086- This test will check that the systems media card reader can
2087- detect the insertion of a Memory Stick (MS) media card
2088- STEPS:
2089- 1. Click "Test" and insert a MS card into the reader.
2090- If a file browser opens up, you can safely close it.
2091- (Note: this test will time-out after 20 seconds.)
2092- 2. Do not remove the device after this test.
2093- VERIFICATION:
2094- The verification of this test is automated. Do not change the
2095- automatically selected result.
2096-
2097-plugin: shell
2098-name: mediacard/ms-storage
2099-depends: mediacard/ms-insert
2100-user: root
2101-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
2102-_description:
2103- This test is automated and executes after the mediacard/ms-insert
2104- test is run. It tests reading and writing to the MS card.
2105-
2106-plugin: user-interact
2107-name: mediacard/ms-remove
2108-depends: mediacard/ms-insert
2109-command: removable_storage_watcher --memorycard remove sdio usb scsi
2110-_description:
2111- PURPOSE:
2112- This test will check that the system correctly detects
2113- the removal of a MS card from the systems card reader.
2114- STEPS:
2115- 1. Click "Test" and remove the MS card from the reader.
2116- (Note: this test will time-out after 20 seconds.)
2117- VERIFICATION:
2118- The verification of this test is automated. Do not change the
2119- automatically selected result.
2120-
2121-plugin: user-interact
2122-name: mediacard/ms-insert-after-suspend
2123-depends: suspend/suspend_advanced
2124-command: removable_storage_watcher --memorycard insert sdio usb scsi
2125-_description:
2126- PURPOSE:
2127- This test will check that the systems media card reader can
2128- detect the insertion of a MS card after the system has been suspended
2129- STEPS:
2130- 1. Click "Test" and insert a MS card into the reader.
2131- If a file browser opens up, you can safely close it.
2132- (Note: this test will time-out after 20 seconds.)
2133- 2. Do not remove the device after this test.
2134- VERIFICATION:
2135- The verification of this test is automated. Do not change the
2136- automatically selected result.
2137-
2138-plugin: shell
2139-name: mediacard/ms-storage-after-suspend
2140-depends: mediacard/ms-insert-after-suspend
2141-user: root
2142-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
2143-_description:
2144- This test is automated and executes after the mediacard/ms-insert-after-suspend test
2145- is run. It tests reading and writing to the MS card after the system has been suspended.
2146-
2147-plugin: user-interact
2148-name: mediacard/ms-remove-after-suspend
2149-depends: mediacard/ms-insert-after-suspend
2150-command: removable_storage_watcher --memorycard remove sdio usb scsi
2151-_description:
2152- PURPOSE:
2153- This test will check that the system correctly detects the removal
2154- of a MS card from the systems card reader after the system has been suspended.
2155- STEPS:
2156- 1. Click "Test" and remove the MS card from the reader.
2157- (Note: this test will time-out after 20 seconds.)
2158- VERIFICATION:
2159- The verification of this test is automated. Do not change the
2160- automatically selected result.
2161-
2162-plugin: user-interact
2163-name: mediacard/msp-insert
2164-command: removable_storage_watcher --memorycard insert sdio usb scsi
2165-_description:
2166- PURPOSE:
2167- This test will check that the systems media card reader can
2168- detect the insertion of a Memory Stick Pro (MSP) media card
2169- STEPS:
2170- 1. Click "Test" and insert a MSP card into the reader.
2171- If a file browser opens up, you can safely close it.
2172- (Note: this test will time-out after 20 seconds.)
2173- 2. Do not remove the device after this test.
2174- VERIFICATION:
2175- The verification of this test is automated. Do not change the
2176- automatically selected result.
2177-
2178-plugin: shell
2179-name: mediacard/msp-storage
2180-depends: mediacard/msp-insert
2181-user: root
2182-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
2183-_description:
2184- This test is automated and executes after the mediacard/msp-insert
2185- test is run. It tests reading and writing to the MSP card.
2186-
2187-plugin: user-interact
2188-name: mediacard/msp-remove
2189-depends: mediacard/msp-insert
2190-command: removable_storage_watcher --memorycard remove sdio usb scsi
2191-_description:
2192- PURPOSE:
2193- This test will check that the system correctly detects
2194- the removal of a MSP card from the systems card reader.
2195- STEPS:
2196- 1. Click "Test" and remove the MSP card from the reader.
2197- (Note: this test will time-out after 20 seconds.)
2198- VERIFICATION:
2199- The verification of this test is automated. Do not change the
2200- automatically selected result.
2201-
2202-plugin: user-interact
2203-name: mediacard/msp-insert-after-suspend
2204-depends: suspend/suspend_advanced
2205-command: removable_storage_watcher --memorycard insert sdio usb scsi
2206-_description:
2207- PURPOSE:
2208- This test will check that the systems media card reader can
2209- detect the insertion of a MSP card after the system has been suspended
2210- STEPS:
2211- 1. Click "Test" and insert a MSP card into the reader.
2212- If a file browser opens up, you can safely close it.
2213- (Note: this test will time-out after 20 seconds.)
2214- 2. Do not remove the device after this test.
2215- VERIFICATION:
2216- The verification of this test is automated. Do not change the
2217- automatically selected result.
2218-
2219-plugin: shell
2220-name: mediacard/msp-storage-after-suspend
2221-depends: mediacard/msp-insert-after-suspend
2222-user: root
2223-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
2224-_description:
2225- This test is automated and executes after the mediacard/msp-insert-after-suspend test
2226- is run. It tests reading and writing to the MSP card after the system has been suspended.
2227-
2228-plugin: user-interact
2229-name: mediacard/msp-remove-after-suspend
2230-depends: mediacard/msp-insert-after-suspend
2231-command: removable_storage_watcher --memorycard remove sdio usb scsi
2232-_description:
2233- PURPOSE:
2234- This test will check that the system correctly detects the removal
2235- of a MSP card from the systems card reader after the system has been suspended.
2236- STEPS:
2237- 1. Click "Test" and remove the MSP card from the reader.
2238- (Note: this test will time-out after 20 seconds.)
2239- VERIFICATION:
2240- The verification of this test is automated. Do not change the
2241- automatically selected result.
2242-
2243-plugin: user-interact
2244-name: mediacard/xd-insert
2245-command: removable_storage_watcher --memorycard insert sdio usb scsi
2246-_description:
2247- PURPOSE:
2248- This test will check that the systems media card reader can
2249- detect the insertion of a Extreme Digital (xD) media card
2250- STEPS:
2251- 1. Click "Test" and insert a xD card into the reader.
2252- If a file browser opens up, you can safely close it.
2253- (Note: this test will time-out after 20 seconds.)
2254- 2. Do not remove the device after this test.
2255- VERIFICATION:
2256- The verification of this test is automated. Do not change the
2257- automatically selected result.
2258-
2259-plugin: shell
2260-name: mediacard/xd-storage
2261-depends: mediacard/xd-insert
2262-user: root
2263-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
2264-_description:
2265- This test is automated and executes after the mediacard/xd-insert
2266- test is run. It tests reading and writing to the xD card.
2267-
2268-plugin: user-interact
2269-name: mediacard/xd-remove
2270-depends: mediacard/xd-insert
2271-command: removable_storage_watcher --memorycard remove sdio usb scsi
2272-_description:
2273- PURPOSE:
2274- This test will check that the system correctly detects
2275- the removal of a xD card from the systems card reader.
2276- STEPS:
2277- 1. Click "Test" and remove the xD card from the reader.
2278- (Note: this test will time-out after 20 seconds.)
2279- VERIFICATION:
2280- The verification of this test is automated. Do not change the
2281- automatically selected result.
2282-
2283-plugin: user-interact
2284-name: mediacard/xd-insert-after-suspend
2285-depends: suspend/suspend_advanced
2286-command: removable_storage_watcher --memorycard insert sdio usb scsi
2287-_description:
2288- PURPOSE:
2289- This test will check that the systems media card reader can
2290- detect the insertion of a xD card after the system has been suspended
2291- STEPS:
2292- 1. Click "Test" and insert a xD card into the reader.
2293- If a file browser opens up, you can safely close it.
2294- (Note: this test will time-out after 20 seconds.)
2295- 2. Do not remove the device after this test.
2296- VERIFICATION:
2297- The verification of this test is automated. Do not change the
2298- automatically selected result.
2299-
2300-plugin: shell
2301-name: mediacard/xd-storage-after-suspend
2302-depends: mediacard/xd-insert-after-suspend
2303-user: root
2304-command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
2305-_description:
2306- This test is automated and executes after the mediacard/xd-insert-after-suspend test
2307- is run. It tests reading and writing to the xD card after the system has been suspended.
2308-
2309-plugin: user-interact
2310-name: mediacard/xd-remove-after-suspend
2311-depends: mediacard/xd-insert-after-suspend
2312-command: removable_storage_watcher --memorycard remove sdio usb scsi
2313-_description:
2314- PURPOSE:
2315- This test will check that the system correctly detects the removal
2316- of a xD card from the systems card reader after the system has been suspended.
2317- STEPS:
2318- 1. Click "Test" and remove the xD card from the reader.
2319- (Note: this test will time-out after 20 seconds.)
2320- VERIFICATION:
2321- The verification of this test is automated. Do not change the
2322- automatically selected result.
2323
2324=== removed file 'jobs/mobilebroadband.txt.in'
2325--- jobs/mobilebroadband.txt.in 2013-04-17 20:18:21 +0000
2326+++ jobs/mobilebroadband.txt.in 1970-01-01 00:00:00 +0000
2327@@ -1,21 +0,0 @@
2328-plugin: shell
2329-name: mobilebroadband/gsm_connection
2330-requires:
2331- package.name == 'network-manager'
2332- package.name == 'modemmanager'
2333- mobilebroadband.gsm == 'supported'
2334-user: root
2335-environ: GSM_CONN_NAME GSM_APN GSM_USERNAME GSM_PASSWORD
2336-command: trap "nmcli con delete id $GSM_CONN_NAME" EXIT; create_connection mobilebroadband gsm `if [ ${GSM_APN} ]; then echo "--apn=$GSM_APN"; fi` `if [ ${GSM_CONN_NAME} ]; then echo "--name=$GSM_CONN_NAME"; fi` `if [ ${GSM_USERNAME} ]; then echo "--username=$GSM_USERNAME"; fi` `if [ ${GSM_PASSWORD} ]; then echo "--password=$GSM_PASSWORD"; fi` && curl http://start.ubuntu.com/connectivity-check.html --interface `nmcli dev status | awk '/gsm/ {print $1}'`
2337-_description: Creates a mobile broadband connection for a GSM based modem and checks the connection to ensure it's working.
2338-
2339-plugin: shell
2340-name: mobilebroadband/cdma_connection
2341-requires:
2342- package.name == 'network-manager'
2343- package.name == 'modemmanager'
2344- mobilebroadband.cdma == 'supported'
2345-user: root
2346-environ: CDMA_CONN_NAME CDMA_USERNAME CDMA_PASSWORD
2347-command: trap "nmcli con delete id $CDMA_CONN_NAME" EXIT; create_connection mobilebroadband cdma `if [ ${CDMA_CONN_NAME} ]; then echo "--name=$CDMA_CONN_NAME"; fi` `if [ ${CDMA_USERNAME} ]; then echo "--username=$CDMA_USERNAME"; fi` `if [ ${CDMA_PASSWORD} ]; then echo "--password=$CDMA_PASSWORD"; fi` && curl http://start.ubuntu.com/connectivity-check.html --interface `nmcli dev status | awk '/gsm/ {print $1}'`
2348-_description: Creates a mobile broadband connection for a CDMA based modem and checks the connection to ensure it's working.
2349
2350=== removed file 'jobs/monitor.txt.in'
2351--- jobs/monitor.txt.in 2013-05-03 20:18:33 +0000
2352+++ jobs/monitor.txt.in 1970-01-01 00:00:00 +0000
2353@@ -1,105 +0,0 @@
2354-plugin: manual
2355-name: monitor/vga
2356-requires: display.vga == 'supported'
2357-_description:
2358- PURPOSE:
2359- This test will check your VGA port. Skip if your system does not have a VGA port.
2360- STEPS:
2361- 1. Connect a display (if not already connected) to the VGA port on your system
2362- VERIFICATION:
2363- Was the desktop displayed correctly on both screens?
2364-
2365-plugin: manual
2366-name: monitor/dvi
2367-requires: display.dvi == 'supported'
2368-_description:
2369- PURPOSE:
2370- This test will check your DVI port. Skip if your system does not have a DVI port
2371- STEPS:
2372- 1. Connect a display (if not already connected) to the DVI port on your system
2373- VERIFICATION:
2374- Was the desktop displayed correctly on both screens?
2375-
2376-plugin: manual
2377-name: monitor/displayport
2378-requires: display.dp == 'supported'
2379-_description:
2380- PURPOSE:
2381- This test will check your DisplayPort port. Skip if your system does not have a DisplayPort port
2382- STEPS:
2383- 1. Connect a display (if not already connected) to the DisplayPort port on your system
2384- VERIFICATION:
2385- Was the desktop displayed correctly on both screens?
2386-
2387-plugin: manual
2388-name: monitor/hdmi
2389-requires: display.hdmi == 'supported'
2390-_description:
2391- PURPOSE:
2392- This test will check your HDMI port. Skip if your system does not have a HDMI port
2393- STEPS:
2394- 1. Connect a display (if not already connected) to the HDMI port on your system
2395- VERIFICATION:
2396- Was the desktop displayed correctly on both screens?
2397-
2398-plugin: manual
2399-name: monitor/svideo
2400-requires: display.svideo == 'supported'
2401-_description:
2402- PURPOSE:
2403- This test will check your S-VIDEO port. Skip if your system does not have a S-VIDEO port
2404- STEPS:
2405- 1. Connect a display (if not already connected) to the S-VIDEO port on your system
2406- VERIFICATION:
2407- Was the desktop displayed correctly on both screens?
2408-
2409-plugin: manual
2410-name: monitor/rca
2411-requires: display.rca == 'supported'
2412-_description:
2413- PURPOSE:
2414- This test will check your RCA port. Skip if your system does not have a RCA port
2415- STEPS:
2416- 1. Connect a display (if not already connected) to the RCA port on your system
2417- VERIFICATION:
2418- Was the desktop displayed correctly on both screens?
2419-
2420-plugin: manual
2421-name: monitor/multi-head
2422-requires: dmi.product in ['Desktop','Low Profile Desktop','Tower','Mini Tower']
2423-_description:
2424- PURPOSE:
2425- This test verifies that multi-monitor output works on your desktop system. This is NOT the same test as the external monitor tests you would run on your laptop. If your video card does not support multiple monitors, please skip this test. You will need two monitors to perform this test.
2426- STEPS:
2427- 1. If your second monitor is not already connected, connect it now
2428- 2. Open the "Displays" tool (open the dash and search for "Displays")
2429- 3. Configure your output to provide one desktop across both monitors
2430- 4. Open any application and drag it from one monitor to the next.
2431- VERIFICATION:
2432- Was the stretched desktop displayed correctly across both screens?
2433-
2434-plugin: manual
2435-name: monitor/powersaving
2436-command: xset dpms force off
2437-_description:
2438- PURPOSE:
2439- This test will check your monitor power saving capabilities
2440- STEPS:
2441- 1. Click "Test" to try the power saving capabilities of your monitor
2442- 2. Press any key or move the mouse to recover
2443- VERIFICATION:
2444- Did the monitor go blank and turn on again?
2445-
2446-plugin: manual
2447-name: monitor/dim_brightness
2448-user: root
2449-command: brightness_test
2450-_description:
2451- PURPOSE:
2452- This test will test changes to screen brightness
2453- STEPS:
2454- 1. Click "Test" to try to dim the screen.
2455- 2. Check if the screen was dimmed approximately to half of the maximum brightness.
2456- 3. The screen will go back to the original brightness in 2 seconds.
2457- VERIFICATION:
2458- Was your screen dimmed approximately to half of the maximum brightness?
2459
2460=== removed file 'jobs/panel_clock_test.txt.in'
2461--- jobs/panel_clock_test.txt.in 2012-05-10 13:12:45 +0000
2462+++ jobs/panel_clock_test.txt.in 1970-01-01 00:00:00 +0000
2463@@ -1,29 +0,0 @@
2464-name: panel_clock/verify
2465-plugin: manual
2466-requires: package.name == 'gnome-system-tools'
2467-_description:
2468- PURPOSE:
2469- This test will verify that the desktop clock displays the correct date and time
2470- STEPS:
2471- 1. Check the clock in the upper right corner of your desktop.
2472- VERIFICATION:
2473- Is the clock displaying the correct date and time for your timezone?
2474-
2475-name: panel_clock/test
2476-plugin: manual
2477-depends: panel_clock/verify
2478-requires: package.name == 'gnome-system-tools'
2479-user: root
2480-command: date -s "`date -d '1 hour'`"
2481-_description:
2482- PURPOSE:
2483- This test will verify that the desktop clock synchronizes with the system clock.
2484- STEPS:
2485- 1. Click the "Test" button and verify the clock moves ahead by 1 hour.
2486- Note: It may take a minute or so for the clock to refresh
2487- 2. Right click on the clock, then click on "Time & Date Settings..."
2488- 3. Ensure that your clock application is set to manual.
2489- 4. Change the time 1 hour back
2490- 5. Close the window and reboot
2491- VERIFICATION:
2492- Is your system clock displaying the correct date and time for your timezone?
2493
2494=== removed file 'jobs/panel_reboot.txt.in'
2495--- jobs/panel_reboot.txt.in 2012-10-09 15:21:35 +0000
2496+++ jobs/panel_reboot.txt.in 1970-01-01 00:00:00 +0000
2497@@ -1,11 +0,0 @@
2498-plugin: manual
2499-name: panel_reboot_test
2500-_description:
2501- PURPOSE:
2502- This test will verify that you can reboot your system from the desktop menu
2503- STEPS:
2504- 1. Click the Gear icon in the upper right corner of the desktop and click on "Shut Down"
2505- 2. Click the "Restart" button on the left side of the Shut Down dialog
2506- 3. After logging back in, restart System Testing and it should resume here
2507- VERIFICATION:
2508- Did your system restart and bring up the GUI login cleanly?
2509
2510=== removed file 'jobs/peripheral.txt.in'
2511--- jobs/peripheral.txt.in 2013-01-21 22:21:29 +0000
2512+++ jobs/peripheral.txt.in 1970-01-01 00:00:00 +0000
2513@@ -1,38 +0,0 @@
2514-plugin: manual
2515-name: peripheral/printer
2516-_description:
2517- PURPOSE:
2518- This test will verify that a network printer is usable
2519- STEPS:
2520- 1. Make sure that a printer is available in your network
2521- 2. Click on the Gear icon in the upper right corner and then click on Printers
2522- 3. If the printer isn't already listed, click on Add
2523- 4. The printer should be detected and proper configuration values should be displayed
2524- 5. Print a test page
2525- VERIFICATION:
2526- Were you able to print a test page to the network printer?
2527-
2528-plugin: manual
2529-name: peripheral/external-usb-modem
2530-command: network_check
2531-_description:
2532- PURPOSE:
2533- This test will verify that a USB DSL or Mobile Broadband modem works
2534- STEPS:
2535- 1. Connect the USB cable to the computer
2536- 2. Right click on the Network icon in the panel
2537- 3. Select 'Edit Connections'
2538- 4. Select the 'DSL' (for ADSL modem) or 'Mobile Broadband' (for 3G modem) tab
2539- 5. Click on 'Add' button
2540- 6. Configure the connection parameters properly
2541- 7. Notify OSD should confirm that the connection has been established
2542- 8. Select Test to verify that it's possible to establish an HTTP connection
2543- VERIFICATION:
2544- Was the connection correctly established?
2545-
2546-plugin: shell
2547-name: peripheral/external-usb-modem-http
2548-depends: peripheral/external-usb-modem
2549-command: wget -SO /dev/null http://$TRANSFER_SERVER
2550-_description:
2551- Automated test case to make sure that it's possible to download files through HTTP
2552
2553=== removed file 'jobs/piglit.txt.in'
2554--- jobs/piglit.txt.in 2012-12-11 12:09:53 +0000
2555+++ jobs/piglit.txt.in 1970-01-01 00:00:00 +0000
2556@@ -1,72 +0,0 @@
2557-plugin: shell
2558-name: piglit/fbo
2559-requires:
2560- package.name == 'piglit'
2561-command: piglit_test -t ^spec/EXT_framebuffer_object -n fbo
2562-_description:
2563- Runs piglit tests for checking support for framebuffer object operations, depth buffer and stencil buffer
2564-
2565-plugin: shell
2566-name: piglit/gl-2.1
2567-requires:
2568- package.name == 'piglit'
2569-command: piglit_test -t spec/'!OpenGL 2.1'/ -n gl-2.1
2570-_description:
2571- Runs piglit tests for checking OpenGL 2.1 support
2572-
2573-plugin: shell
2574-name: piglit/vbo
2575-requires:
2576- package.name == 'piglit'
2577-command: piglit_test -t spec/ARB_vertex_buffer_object/ -n vbo
2578-_description:
2579- Runs piglit tests for checking support for vertex buffer object operations
2580-
2581-plugin: shell
2582-name: piglit/glsl-fragment-shader
2583-requires:
2584- package.name == 'piglit'
2585-command: piglit_test -t ^shaders/glsl-arb-fragment -n glsl-fragment-shader
2586-_description:
2587- Runs piglit tests for checking support for GLSL fragment shader operations
2588-
2589-plugin: shell
2590-name: piglit/glsl-vertex-shader
2591-requires:
2592- package.name == 'piglit'
2593-command: piglit_test -t ^shaders/glsl-clamp-vertex-color -t ^shaders/glsl-max-vertex-attrib -t ^shaders/glsl-novertexdata -n glsl-vertex-shader
2594-_description:
2595- Runs piglit tests for checking support for GLSL vertex shader operations
2596-
2597-plugin: shell
2598-name: piglit/glx-tfp
2599-requires:
2600- package.name == 'piglit'
2601-command: piglit_test -t glx-tfp -n glx-tfp
2602-_description:
2603- Runs piglit tests for checking support for texture from pixmap
2604-
2605-plugin: shell
2606-name: piglit/stencil_buffer
2607-requires:
2608- package.name == 'piglit'
2609-command: piglit_test -t glx-visuals-stencil -t readpixels-24_8 -n stencil_buffer
2610-_description:
2611- Runs piglit_tests for checking support for stencil buffer operations
2612-
2613-plugin: shell
2614-name: piglit/summarize_results
2615-requires:
2616- package.name == 'piglit'
2617-command: [ -e $CHECKBOX_DATA/piglit-results ] && piglit-summary-html.py $CHECKBOX_DATA/piglit-summary/ `find $CHECKBOX_DATA/piglit-results/ -name main` && echo "Successfully summarized piglit results. They are available in $CHECKBOX_DATA/piglit-sumary/"
2618-_description:
2619- Runs the piglit results summarizing tool
2620-
2621-plugin: shell
2622-name: piglit/tarball
2623-requires:
2624- package.name == 'piglit'
2625-depends: piglit/summarize_results
2626-command: [ -e $CHECKBOX_DATA/piglit-summary ] && tar cvfz $CHECKBOX_DATA/piglit-results.tar.gz $CHECKBOX_DATA/piglit-summary/
2627-_description:
2628- Archives the piglit-summary directory into the piglit-results.tar.gz.
2629
2630=== removed file 'jobs/rendercheck.txt.in'
2631--- jobs/rendercheck.txt.in 2013-05-03 10:46:46 +0000
2632+++ jobs/rendercheck.txt.in 1970-01-01 00:00:00 +0000
2633@@ -1,13 +0,0 @@
2634-plugin: shell
2635-name: rendercheck/tests
2636-requires:
2637- package.name == 'x11-apps'
2638-command: ( rendercheck_test -b repeat -b gradients -d -o $CHECKBOX_DATA/rendercheck-results && echo "Rendercheck tests completed successfully" ) || ( echo "Error running rendercheck. Please see the log $CHECKBOX_DATA/rendercheck-results for details" >&2 && false )
2639-_description:
2640- Runs all of the rendercheck test suites. This test can take a few minutes.
2641-
2642-plugin: attachment
2643-name: rendercheck/tarball
2644-depends: rendercheck/tests
2645-command: [ -e $CHECKBOX_DATA/rendercheck-results ] && tar cvfz $CHECKBOX_DATA/rendercheck-results.tar.gz $CHECKBOX_DATA/rendercheck-results && cat $CHECKBOX_DATA/rendercheck-results.tar.gz
2646-_description: Attach log from rendercheck tests
2647
2648=== removed file 'jobs/server-services.txt.in'
2649--- jobs/server-services.txt.in 2011-10-05 21:01:59 +0000
2650+++ jobs/server-services.txt.in 1970-01-01 00:00:00 +0000
2651@@ -1,39 +0,0 @@
2652-plugin: shell
2653-name: services/open_ssh_test
2654-requires: package.name == 'ssh'
2655-command: pgrep sshd >/dev/null || (echo 'FAIL: sshd is not running.' 2>&1 && false)
2656-_description: Verifies that sshd is running.
2657-
2658-plugin: shell
2659-name: services/print_server_test
2660-requires: package.name == 'cups'
2661-command: pgrep cupsd >/dev/null || (echo 'FAIL: cupsd is not running.' 2>&1 && false)
2662-_description: Verifies that Print/CUPs server is running.
2663-
2664-plugin: shell
2665-name: services/dns_server_test
2666-requires: package.name == 'bind9' and package.name == 'dnsutils'
2667-user: root
2668-command: dns_server_test
2669-_description: Verifies that DNS server is running and working.
2670-
2671-plugin: shell
2672-name: services/samba_test
2673-requires: package.name == 'samba' and package.name == 'winbind'
2674-user: root
2675-command: samba_test
2676-_description: Verifies that Samba server is running.
2677-
2678-plugin: shell
2679-name: services/lamp_test
2680-requires: package.name == 'apache2' and package.name == 'php5-mysql' and package.name == 'libapache2-mod-php5' and package.name == 'mysql-server'
2681-user: root
2682-command: lamp_test
2683-_description: Verifies that the LAMP stack is running (Apache, MySQL and PHP).
2684-
2685-plugin: shell
2686-name: services/tomcat_test
2687-requires: package.name == 'tomcat6'
2688-user: root
2689-command: tomcat_test
2690-_description: Verifies that Tomcat server is running and working.
2691
2692=== removed file 'jobs/suspend.txt.in'
2693--- jobs/suspend.txt.in 2013-07-05 16:43:48 +0000
2694+++ jobs/suspend.txt.in 1970-01-01 00:00:00 +0000
2695@@ -1,1237 +0,0 @@
2696-plugin: shell
2697-name: suspend/network_before_suspend
2698-depends: networking/detect
2699-_description: Record the current network before suspending.
2700-command: set -o pipefail; internet_test | tee $CHECKBOX_DATA/network_before_suspend.txt
2701-
2702-plugin: shell
2703-name: suspend/resolution_before_suspend
2704-_description: Record the current resolution before suspending.
2705-command: xrandr -q |grep '*'| awk '{print $1}' > $CHECKBOX_DATA/resolution_before_suspend.txt
2706-
2707-plugin: shell
2708-name: suspend/audio_before_suspend
2709-requires:
2710- device.category == 'AUDIO'
2711- package.name == 'alsa-base'
2712-_description: Record mixer settings before suspending.
2713-command: audio_settings store --file=$CHECKBOX_DATA/audio_settings_before_suspend
2714-
2715-plugin: shell
2716-name: suspend/cpu_before_suspend
2717-_description: Verify that all the CPUs are online before suspending
2718-command: cpuinfo_resource > $CHECKBOX_DATA/cpuinfo_before_suspend
2719-
2720-plugin: shell
2721-name: suspend/memory_before_suspend
2722-_description:
2723- Dumps memory info to a file for comparison after suspend test has been run
2724-command: meminfo_resource > $CHECKBOX_DATA/meminfo_before_suspend
2725-
2726-plugin: shell
2727-name: suspend/wireless_before_suspend
2728-depends: wireless/wireless_connection
2729-requires: device.category == 'WIRELESS'
2730-command: nmcli -t -f UUID con status > $CHECKBOX_DATA/connections && connect_wireless && internet_test --interface=`nmcli dev list | grep -B 1 wireless | grep GENERAL.DEVICE | awk '{print $2}'` && for con in `cat $CHECKBOX_DATA/connections`; do nmcli con up uuid "$con"; done
2731-_description:
2732- This test disconnects all connections and then connects to the wireless
2733- interface. It then checks the connection to confirm it's working as expected.
2734-
2735-plugin: shell
2736-name: suspend/bluetooth_obex_before_suspend
2737-requires:
2738- package.name == 'bluez'
2739- package.name == 'obexd-client'
2740- device.category == 'BLUETOOTH'
2741-command:
2742- if [ -z "$BTDEVADDR" ]
2743- then
2744- echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
2745- exit 1
2746- fi
2747- if rfkill list bluetooth | grep -q 'Hard blocked: yes'
2748- then
2749- echo "rfkill shows BT is hard blocked"
2750- fi
2751- if rfkill list bluetooth | grep -q 'Soft blocked: yes'
2752- then
2753- echo "rfkill shows BT is soft blocked, removing before testing."
2754- rfkill unblock bluetooth
2755- sleep 3
2756- fi
2757- obex_send $BTDEVADDR $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
2758-_description:
2759- This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable.
2760-
2761-plugin: shell
2762-name: suspend/bluetooth_obex_send_before_suspend
2763-requires:
2764- package.name == 'bluez'
2765- package.name == 'obexftp'
2766- device.category == 'BLUETOOTH'
2767-command:
2768- if [ -z "$BTDEVADDR" ]
2769- then
2770- echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
2771- exit 1
2772- fi
2773- if rfkill list bluetooth | grep -q 'Hard blocked: yes'
2774- then
2775- echo "rfkill list shows BT is hard blocked"
2776- fi
2777- if rfkill list bluetooth | grep -q 'Soft blocked: yes'
2778- then
2779- echo "rfkill list shows BT is soft blocked, removing before testing"
2780- rfkill unblock bluetooth
2781- sleep 3
2782- fi
2783- set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser
2784-_description:
2785- This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable.
2786-
2787-plugin: shell
2788-name: suspend/bluetooth_obex_browse_before_suspend
2789-requires:
2790- package.name == 'bluez'
2791- package.name == 'obexftp'
2792- device.category == 'BLUETOOTH'
2793-command:
2794- if [ -z "$BTDEVADDR" ]
2795- then
2796- echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
2797- exit 1
2798- fi
2799- if rfkill list bluetooth | grep -q 'Hard blocked: yes'
2800- then
2801- echo "rfkill list shows BT is hard blocked"
2802- fi
2803- if rfkill list bluetooth | grep -q 'Soft blocked: yes'
2804- then
2805- echo "rfkill list shows BT is soft blocked, removing before testing"
2806- rfkill unblock bluetooth
2807- sleep 3
2808- fi
2809- set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser
2810-_description:
2811- This is an automated Bluetooth test. It emulates browsing on a remote device specified by the BTDEVADDR environment variable.
2812-
2813-plugin: shell
2814-name: suspend/bluetooth_obex_get_before_suspend
2815-requires:
2816- package.name == 'bluez'
2817- package.name == 'obexftp'
2818- device.category == 'BLUETOOTH'
2819-command:
2820- if [ -z "$BTDEVADDR" ]
2821- then
2822- echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
2823- exit 1
2824- fi
2825- if rfkill list bluetooth | grep -q 'Hard blocked: yes'
2826- then
2827- echo "rfkill list shows BT is hard blocked"
2828- fi
2829- if rfkill list bluetooth | grep -q 'Soft blocked: yes'
2830- then
2831- echo "rfkill list shows BT is soft blocked, removing before testing"
2832- rfkill unblock bluetooth
2833- sleep 3
2834- fi
2835- set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser
2836-_description:
2837- This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable
2838-
2839-plugin: manual
2840-name: suspend/bluetooth_obex_before_suspend_manual
2841-requires:
2842- package.name == 'bluez'
2843- package.name == 'obexd-client'
2844- device.category == 'BLUETOOTH'
2845-command: rfkill unblock bluetooth; obex_send `bluetooth_scan` $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
2846-_description:
2847- PURPOSE:
2848- This test will send the image 'JPEG_Color_Image_Ubuntu.jpg' to a specified device
2849- STEPS:
2850- 1. Make sure Bluetooth is enabled by checking the Bluetooth indicator applet
2851- 2. Click "Test" and you will be prompted to enter the Bluetooth device name of a device that can accept file transfers (It may take a few moments after entering the name for the file to begin sending)
2852- 3. Accept any prompts that appear on both devices
2853- VERIFICATION:
2854- Was the data correctly transferred?
2855-
2856-plugin: user-verify
2857-name: suspend/suspend_advanced
2858-depends: power-management/rtc
2859-requires:
2860- sleep.mem == 'supported'
2861-user: root
2862-environ: CHECKBOX_DATA
2863-command:
2864- if type -P fwts >/dev/null; then
2865- echo "Calling fwts"
2866- set -o pipefail; fwts_test -f none -l $CHECKBOX_DATA/suspend_single -s s3 --s3-sleep-delay=30 --s3-device-check --s3-device-check-delay=45 | tee $CHECKBOX_DATA/suspend_single_times.log
2867- else
2868- echo "Calling sleep_test"
2869- set -o pipefail; sleep_test -p | tee $CHECKBOX_DATA/suspend_single_times.log
2870- fi
2871-_description:
2872- PURPOSE:
2873- This test will check suspend and resume
2874- STEPS:
2875- 1. Click "Test" and your system will suspend for about 30 - 60 seconds
2876- 2. Observe the Power LED to see if it blinks or changes color during suspend
2877- 3. If your system does not wake itself up after 60 seconds, please press the power button momentarily to wake the system manually
2878- 4. If your system fails to wake at all and must be rebooted, restart System Testing after reboot and mark this test as Failed
2879- VERIFICATION:
2880- Did your system suspend and resume correctly?
2881- (NOTE: Please only consider whether the system successfully suspended and resumed. Power/Suspend LED verification will occur after this test is completed.)
2882-
2883-plugin: shell
2884-name: suspend/suspend_advanced_auto
2885-depends: power-management/rtc
2886-requires:
2887- sleep.mem == 'supported'
2888-_description:
2889- This is the automated version of suspend/suspend_advanced.
2890-user: root
2891-environ: CHECKBOX_DATA
2892-command: set -o pipefail; fwts_test -f none -l $CHECKBOX_DATA/suspend_single -s s3 --s3-sleep-delay=30 --s3-device-check --s3-device-check-delay=45 | tee $CHECKBOX_DATA/suspend_single_times.log
2893-
2894-plugin: shell
2895-name: suspend/suspend-single-log-check
2896-command: [ -e $CHECKBOX_DATA/suspend_single.log ] && sleep_test_log_check -v s3 $CHECKBOX_DATA/suspend_single.log
2897-_description:
2898- Automated check of the suspend log to look for errors reported by fwts
2899-
2900-plugin: attachment
2901-name: suspend/suspend-single-log-attach
2902-command: [ -e $CHECKBOX_DATA/suspend_single.log ] && cat $CHECKBOX_DATA/suspend_single.log
2903-_description:
2904- Attaches the log from the single suspend/resume test to the results
2905-
2906-plugin: shell
2907-name: suspend/suspend-time-check
2908-command: [ -e $CHECKBOX_DATA/suspend_single_times.log ] && sleep_time_check $CHECKBOX_DATA/suspend_single_times.log
2909-_description:
2910- Checks the sleep times to ensure that a machine suspends and resumes within a given threshold
2911-
2912-plugin: manual
2913-name: power-management/usb_wakeup_keyboard
2914-user: root
2915-depends: suspend/suspend_advanced
2916-command: pm-suspend
2917-_description:
2918- PURPOSE:
2919- Wake up by USB keyboard
2920- STEPS:
2921- 1. Enable "Wake by USB KB/Mouse" item in BIOS
2922- 2. Press "Test" to enter suspend (S3) mode
2923- 3. Press any key of USB keyboard to wake system up
2924- VERIFICATION:
2925- Did the system wake up from suspend mode when you pressed a keyboard key?
2926-
2927-plugin: manual
2928-name: power-management/usb_wakeup_mouse
2929-user: root
2930-depends: suspend/suspend_advanced
2931-command: pm-suspend
2932-_description:
2933- PURPOSE:
2934- Wake up by USB mouse
2935- STEPS:
2936- 1. Enable "Wake by USB KB/Mouse" item in BIOS
2937- 2. Press "Test" to enter suspend (S3) mode
2938- 3. Press any button of USB mouse to wake system up
2939- VERIFICATION:
2940- Did the system wake up from suspend mode when you pressed the mouse button?
2941-
2942-plugin: shell
2943-name: suspend/network_after_suspend
2944-depends: suspend/suspend_advanced suspend/network_before_suspend
2945-_description: Test the network after resuming.
2946-command: network_wait; internet_test | diff $CHECKBOX_DATA/network_before_suspend.txt -
2947-
2948-plugin: shell
2949-name: suspend/resolution_after_suspend
2950-depends: suspend/suspend_advanced suspend/resolution_before_suspend
2951-_description: Test to see that we have the same resolution after resuming as before.
2952-command: xrandr -q |grep '*'| awk '{print $1}' | diff $CHECKBOX_DATA/resolution_before_suspend.txt -
2953-
2954-plugin: shell
2955-name: suspend/audio_after_suspend
2956-requires:
2957- device.category == 'AUDIO'
2958- package.name == 'alsa-base'
2959-depends: suspend/suspend_advanced suspend/audio_before_suspend
2960-_description: Verify that mixer settings after suspend are the same as before suspend.
2961-command:
2962- audio_settings store --file=$CHECKBOX_DATA/audio_settings_after_suspend; diff $CHECKBOX_DATA/audio_settings_before_suspend $CHECKBOX_DATA/audio_settings_after_suspend
2963-
2964-plugin: shell
2965-name: suspend/audio_after_suspend_auto
2966-requires:
2967- device.category == 'AUDIO'
2968- package.name == 'alsa-base'
2969-depends: suspend/suspend_advanced_auto suspend/audio_before_suspend
2970-_description: Verify that mixer settings after suspend are the same as before suspend.
2971-command:
2972- audio_settings store --file=$CHECKBOX_DATA/audio_settings_after_suspend; diff $CHECKBOX_DATA/audio_settings_before_suspend $CHECKBOX_DATA/audio_settings_after_suspend
2973-
2974-plugin: shell
2975-name: suspend/cpu_after_suspend
2976-depends: suspend/suspend_advanced suspend/cpu_before_suspend
2977-_description: Verify that all CPUs are online after resuming.
2978-command: cpuinfo_resource | diff $CHECKBOX_DATA/cpuinfo_before_suspend -
2979-
2980-plugin: shell
2981-name: suspend/cpu_after_suspend_auto
2982-depends: suspend/suspend_advanced_auto suspend/cpu_before_suspend
2983-_description: Verify that all CPUs are online after resuming.
2984-command: cpuinfo_resource | diff $CHECKBOX_DATA/cpuinfo_before_suspend -
2985-
2986-plugin: shell
2987-name: suspend/memory_after_suspend
2988-depends: suspend/suspend_advanced suspend/memory_before_suspend
2989-_description:
2990- Verify that all memory is available after resuming from suspend.
2991-command: meminfo_resource | diff $CHECKBOX_DATA/meminfo_before_suspend -
2992-
2993-plugin: shell
2994-name: suspend/memory_after_suspend_auto
2995-depends: suspend/suspend_advanced_auto suspend/memory_before_suspend
2996-_description:
2997- Verify that all memory is available after resuming from suspend.
2998-command: meminfo_resource | diff $CHECKBOX_DATA/meminfo_before_suspend -
2999-
3000-plugin: manual
3001-name: suspend/display_after_suspend
3002-depends: suspend/suspend_advanced
3003-_description:
3004- PURPOSE:
3005- This test will check that the display is correct after suspend and resume
3006- STEPS:
3007- 1. Check that your display does not show up visual artifacts after resuming.
3008- VERIFICATION:
3009- Does the display work normally after resuming from suspend?
3010-
3011-plugin: shell
3012-name: suspend/wireless_after_suspend
3013-depends: suspend/suspend_advanced suspend/wireless_before_suspend
3014-requires:
3015- device.category == 'WIRELESS'
3016-command: connect_wireless && internet_test --interface=`nmcli dev list | grep -B 1 wireless | grep GENERAL.DEVICE | awk '{print $2}'` && for con in `cat $CHECKBOX_DATA/connections`; do nmcli con up uuid "$con"; done
3017-_description:
3018- This test checks that the wireless interface is working after suspending the system. It
3019- disconnects all interfaces and then connects to the wireless interface and checks that the
3020- connection is working as expected.
3021-
3022-plugin: shell
3023-name: suspend/wireless_connection_after_suspend_wpa_bg
3024-depends: suspend/suspend_advanced
3025-requires:
3026- device.category == 'WIRELESS'
3027- environment.ROUTERS == 'multiple'
3028-user: root
3029-environ: WPA_BG_SSID WPA_BG_PSK
3030-command: trap "rm -f /etc/NetworkManager/system-connections/$WPA_BG_SSID" EXIT; create_connection wifi $WPA_BG_SSID --security=wpa --key=$WPA_BG_PSK; internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
3031-_description:
3032- Tests that the systems wireless hardware can connect to a router using WPA
3033- security and the 802.11b/g protocols after the system has been suspended.
3034-
3035-plugin: shell
3036-name: suspend/wireless_connection_after_suspend_open_bg
3037-depends: suspend/suspend_advanced
3038-requires:
3039- device.category == 'WIRELESS'
3040- environment.ROUTERS == 'multiple'
3041-user: root
3042-environ: OPEN_BG_SSID
3043-command: trap "rm -f /etc/NetworkManager/system-connections/$OPEN_BG_SSID" EXIT; create_connection wifi $OPEN_BG_SSID; internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
3044-_description:
3045- Tests that the systems wireless hardware can connect to a router using no
3046- security and the 802.11b/g protocols after the system has been suspended.
3047-
3048-plugin: shell
3049-name: suspend/wireless_connection_after_suspend_wpa_n
3050-depends: suspend/suspend_advanced
3051-requires:
3052- device.category == 'WIRELESS'
3053- environment.ROUTERS == 'multiple'
3054-user: root
3055-environ: WPA_N_SSID WPA_N_PSK
3056-command: trap "rm -f /etc/NetworkManager/system-connections/$WPA_N_SSID" EXIT; create_connection wifi $WPA_N_SSID --security=wpa --key=$WPA_N_PSK; internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
3057-_description:
3058- Tests that the systems wireless hardware can connect to a router using WPA
3059- security and the 802.11n protocol after the system has been suspended.
3060-
3061-plugin: shell
3062-name: suspend/wireless_connection_after_suspend_open_n
3063-depends: suspend/suspend_advanced
3064-requires:
3065- device.category == 'WIRELESS'
3066- environment.ROUTERS == 'multiple'
3067-user: root
3068-environ: OPEN_N_SSID
3069-command: trap "rm -f /etc/NetworkManager/system-connections/$OPEN_N_SSID" EXIT; create_connection wifi $OPEN_N_SSID; internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
3070-_description:
3071- Tests that the systems wireless hardware can connect to a router using no
3072- security and the 802.11n protocol after the system has been suspended.
3073-
3074-plugin: shell
3075-name: suspend/wireless_connection_after_suspend_wpa_bg_auto
3076-depends: suspend/suspend_advanced_auto
3077-requires:
3078- device.category == 'WIRELESS'
3079- environment.ROUTERS == 'multiple'
3080-user: root
3081-environ: WPA_BG_SSID WPA_BG_PSK
3082-command: trap "rm -f /etc/NetworkManager/system-connections/$WPA_BG_SSID" EXIT; create_connection wifi $WPA_BG_SSID --security=wpa --key=$WPA_BG_PSK; internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
3083-_description:
3084- Tests that the systems wireless hardware can connect to a router using WPA
3085- security and the 802.11b/g protocols after the system has been suspended.
3086-
3087-plugin: shell
3088-name: suspend/wireless_connection_after_suspend_open_bg_auto
3089-depends: suspend/suspend_advanced_auto
3090-requires:
3091- device.category == 'WIRELESS'
3092- environment.ROUTERS == 'multiple'
3093-user: root
3094-environ: OPEN_BG_SSID
3095-command: trap "rm -f /etc/NetworkManager/system-connections/$OPEN_BG_SSID" EXIT; create_connection wifi $OPEN_BG_SSID; internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
3096-_description:
3097- Tests that the systems wireless hardware can connect to a router using no
3098- security and the 802.11b/g protocols after the system has been suspended.
3099-
3100-plugin: shell
3101-name: suspend/wireless_connection_after_suspend_wpa_n_auto
3102-depends: suspend/suspend_advanced_auto
3103-requires:
3104- device.category == 'WIRELESS'
3105- environment.ROUTERS == 'multiple'
3106-user: root
3107-environ: WPA_N_SSID WPA_N_PSK
3108-command: trap "rm -f /etc/NetworkManager/system-connections/$WPA_N_SSID" EXIT; create_connection wifi $WPA_N_SSID --security=wpa --key=$WPA_N_PSK; internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
3109-_description:
3110- Tests that the systems wireless hardware can connect to a router using WPA
3111- security and the 802.11n protocol after the system has been suspended.
3112-
3113-plugin: shell
3114-name: suspend/wireless_connection_after_suspend_open_n_auto
3115-depends: suspend/suspend_advanced_auto
3116-requires:
3117- device.category == 'WIRELESS'
3118- environment.ROUTERS == 'multiple'
3119-user: root
3120-environ: OPEN_N_SSID
3121-command: trap "rm -f /etc/NetworkManager/system-connections/$OPEN_N_SSID" EXIT; create_connection wifi $OPEN_N_SSID; internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
3122-_description:
3123- Tests that the systems wireless hardware can connect to a router using no
3124- security and the 802.11n protocol after the system has been suspended.
3125-
3126-plugin: manual
3127-name: suspend/wireless_connection_after_suspend_wpa_bg_manual
3128-depends: suspend/suspend_advanced
3129-requires:
3130- device.category == 'WIRELESS'
3131- environment.ROUTERS == 'single'
3132-user: root
3133-environ: ROUTER_SSID ROUTER_PSK
3134-command: trap "nmcli con delete id $ROUTER_SSID" EXIT; create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
3135-_description:
3136- PURPOSE:
3137- Tests that the systems wireless hardware can connect to a router using WPA
3138- security and the 802.11b/g protocols.
3139- STEPS:
3140- 1. Open your routers configuration tool
3141- 2. Change the settings to only accept connections on the B and G wireless bands
3142- 3. Make sure the SSID is set to ROUTER_SSID
3143- 4. Change the security settings to use WPA2 and ensure the PSK matches that set in ROUTER_PSK
3144- 5. Click the 'Test' button to create a connection to the router and test the connection
3145- VERIFICATION:
3146- Verification is automated, do not change the automatically selected result.
3147-
3148-plugin: manual
3149-name: suspend/wireless_connection_after_suspend_open_bg_manual
3150-depends: suspend/suspend_advanced
3151-requires:
3152- device.category == 'WIRELESS'
3153- environment.ROUTERS == 'single'
3154-user: root
3155-environ: ROUTER_SSID
3156-command: trap "nmcli con delete id $ROUTER_SSID" EXIT; create_connection wifi $ROUTER_SSID && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
3157-_description:
3158- PURPOSE:
3159- Tests that the systems wireless hardware can connect to a router using
3160- no security and the 802.11b/g protocols.
3161- STEPS:
3162- 1. Open your routers configuration tool
3163- 2. Change the settings to only accept connections on the B and G wireless bands
3164- 3. Make sure the SSID is set to ROUTER_SSID
3165- 4. Change the security settings to use no security
3166- 5. Click the 'Test' button to create a connection to the router and test the connection
3167- VERIFICATION:
3168- Verification is automated, do not change the automatically selected result.
3169-
3170-plugin: manual
3171-name: suspend/wireless_connection_after_suspend_wpa_n_manual
3172-depends: suspend/suspend_advanced
3173-requires:
3174- device.category == 'WIRELESS'
3175- environment.ROUTERS == 'single'
3176-user: root
3177-environ: ROUTER_SSID ROUTER_PSK
3178-command: trap "nmcli con delete id $ROUTER_SSID" EXIT; create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
3179-_description:
3180- PURPOSE:
3181- Tests that the systems wireless hardware can connect to a router using WPA
3182- security and the 802.11n protocols.
3183- STEPS:
3184- 1. Open your routers configuration tool
3185- 2. Change the settings to only accept connections on the N wireless band
3186- 3. Make sure the SSID is set to ROUTER_SSID
3187- 4. Change the security settings to use WPA2 and ensure the PSK matches that set in ROUTER_PSK
3188- 5. Click the 'Test' button to create a connection to the router and test the connection
3189- VERIFICATION:
3190- Verification is automated, do not change the automatically selected result.
3191-
3192-plugin: manual
3193-name: suspend/wireless_connection_after_suspend_open_n_manual
3194-depends: suspend/suspend_advanced
3195-requires:
3196- device.category == 'WIRELESS'
3197- environment.ROUTERS == 'single'
3198-user: root
3199-environ: ROUTER_SSID
3200-command: trap "nmcli con delete id $ROUTER_SSID" EXIT; create_connection wifi $ROUTER_SSID && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
3201-_description:
3202- PURPOSE:
3203- Tests that the systems wireless hardware can connect to a router using
3204- no security and the 802.11n protocol.
3205- STEPS:
3206- 1. Open your routers configuration tool
3207- 2. Change the settings to only accept connections on the N wireless band
3208- 3. Make sure the SSID is set to ROUTER_SSID
3209- 4. Change the security settings to use no security
3210- 5. Click the 'Test' button to create a connection to the router and test the connection
3211- VERIFICATION:
3212- Verification is automated, do not change the automatically selected result.
3213-
3214-plugin: shell
3215-name: suspend/bluetooth_detect_after_suspend
3216-depends: suspend/suspend_advanced bluetooth/detect-output
3217-requires:
3218- package.name == 'bluez'
3219- device.category == 'BLUETOOTH'
3220-command:
3221- if rfkill list bluetooth | grep -q 'Hard blocked: yes'; then
3222- echo "rfkill shows BT is hard blocked"
3223- fi
3224- if rfkill list bluetooth | grep -q 'Soft blocked: yes'; then
3225- echo "rfkill shows BT is soft blocked, removing before testing"
3226- rfkill unblock bluetooth
3227- sleep 3
3228- fi
3229- output=$(hcitool dev | tail -n+2 | awk '{print $2}')
3230- echo $output | diff $CHECKBOX_DATA/bluetooth_address -
3231- if [ -z "$output" ]; then
3232- echo "BT hardware not available"
3233- exit 1
3234- fi
3235-_description:
3236- This test grabs the hardware address of the bluetooth adapter after suspend and compares it to the address grabbed before suspend.
3237-
3238-plugin: shell
3239-name: suspend/bluetooth_obex_after_suspend
3240-depends: suspend/suspend_advanced suspend/bluetooth_obex_before_suspend
3241-requires:
3242- package.name == 'bluez'
3243- package.name == 'obexd-client'
3244- device.category == 'BLUETOOTH'
3245-command:
3246- if [ -z "$BTDEVADDR" ]
3247- then
3248- echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
3249- exit 1
3250- fi
3251- if rfkill list bluetooth | grep -q 'Hard blocked: yes'
3252- then
3253- echo "rfkill shows BT is hard blocked"
3254- fi
3255- if rfkill list bluetooth | grep -q 'Soft blocked: yes'
3256- then
3257- echo "rfkill shows BT is soft blocked, removing before testing."
3258- rfkill unblock bluetooth
3259- sleep 3
3260- fi
3261- obex_send $BTDEVADDR $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
3262-_description:
3263- This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable.
3264-
3265-plugin: shell
3266-name: suspend/bluetooth_obex_after_suspend_auto
3267-depends: suspend/suspend_advanced_auto suspend/bluetooth_obex_before_suspend
3268-requires:
3269- package.name == 'bluez'
3270- package.name == 'obexd-client'
3271- device.category == 'BLUETOOTH'
3272-command:
3273- if [ -z "$BTDEVADDR" ]
3274- then
3275- echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
3276- exit 1
3277- fi
3278- if rfkill list bluetooth | grep -q 'Hard blocked: yes'
3279- then
3280- echo "rfkill shows BT is hard blocked"
3281- fi
3282- if rfkill list bluetooth | grep -q 'Soft blocked: yes'
3283- then
3284- echo "rfkill shows BT is soft blocked, removing before testing."
3285- rfkill unblock bluetooth
3286- sleep 3
3287- fi
3288- obex_send $BTDEVADDR $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
3289-_description:
3290- This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable.
3291-
3292-plugin: shell
3293-name: suspend/bluetooth_obex_send_after_suspend
3294-depends: suspend/suspend_advanced
3295-requires:
3296- package.name == 'bluez'
3297- package.name == 'obexftp'
3298- device.category == 'BLUETOOTH'
3299-command:
3300- if [ -z "$BTDEVADDR" ]
3301- then
3302- echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
3303- exit 1
3304- fi
3305- if rfkill list bluetooth | grep -q 'Hard blocked: yes'
3306- then
3307- echo "rfkill list shows BT is hard blocked"
3308- fi
3309- if rfkill list bluetooth | grep -q 'Soft blocked: yes'
3310- then
3311- echo "rfkill list shows BT is soft blocked, removing before testing"
3312- rfkill unblock bluetooth
3313- sleep 3
3314- fi
3315- set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser
3316-_description:
3317- This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable.
3318-
3319-plugin: shell
3320-name: suspend/bluetooth_obex_send_after_suspend_auto
3321-depends: suspend/suspend_advanced_auto
3322-requires:
3323- package.name == 'bluez'
3324- package.name == 'obexftp'
3325- device.category == 'BLUETOOTH'
3326-command:
3327- if [ -z "$BTDEVADDR" ]
3328- then
3329- echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
3330- exit 1
3331- fi
3332- if rfkill list bluetooth | grep -q 'Hard blocked: yes'
3333- then
3334- echo "rfkill list shows BT is hard blocked"
3335- fi
3336- if rfkill list bluetooth | grep -q 'Soft blocked: yes'
3337- then
3338- echo "rfkill list shows BT is soft blocked, removing before testing"
3339- rfkill unblock bluetooth
3340- sleep 3
3341- fi
3342- set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser
3343-_description:
3344- This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable.
3345-
3346-plugin: shell
3347-name: suspend/bluetooth_obex_browse_after_suspend
3348-depends: suspend/suspend_advanced
3349-requires:
3350- package.name == 'bluez'
3351- package.name == 'obexftp'
3352- device.category == 'BLUETOOTH'
3353-command:
3354- if [ -z "$BTDEVADDR" ]
3355- then
3356- echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
3357- exit 1
3358- fi
3359- if rfkill list bluetooth | grep -q 'Hard blocked: yes'
3360- then
3361- echo "rfkill list shows BT is hard blocked"
3362- fi
3363- if rfkill list bluetooth | grep -q 'Soft blocked: yes'
3364- then
3365- echo "rfkill list shows BT is soft blocked, removing before testing"
3366- rfkill unblock bluetooth
3367- sleep 3
3368- fi
3369- set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser
3370-_description:
3371- This is an automated Bluetooth test. It emulates browsing on a remote device specified by the BTDEVADDR environment variable.
3372-
3373-plugin: shell
3374-name: suspend/bluetooth_obex_browse_after_suspend_auto
3375-depends: suspend/suspend_advanced_auto
3376-requires:
3377- package.name == 'bluez'
3378- package.name == 'obexftp'
3379- device.category == 'BLUETOOTH'
3380-command:
3381- if [ -z "$BTDEVADDR" ]
3382- then
3383- echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
3384- exit 1
3385- fi
3386- if rfkill list bluetooth | grep -q 'Hard blocked: yes'
3387- then
3388- echo "rfkill list shows BT is hard blocked"
3389- fi
3390- if rfkill list bluetooth | grep -q 'Soft blocked: yes'
3391- then
3392- echo "rfkill list shows BT is soft blocked, removing before testing"
3393- rfkill unblock bluetooth
3394- sleep 3
3395- fi
3396- set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser
3397-_description:
3398- This is an automated Bluetooth test. It emulates browsing on a remote device specified by the BTDEVADDR environment variable.
3399-
3400-plugin: shell
3401-name: suspend/bluetooth_obex_get_after_suspend
3402-depends: suspend/suspend_advanced
3403-requires:
3404- package.name == 'bluez'
3405- package.name == 'obexftp'
3406- device.category == 'BLUETOOTH'
3407-command:
3408- if [ -z "$BTDEVADDR" ]
3409- then
3410- echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
3411- exit 1
3412- fi
3413- if rfkill list bluetooth | grep -q 'Hard blocked: yes'
3414- then
3415- echo "rfkill list shows BT is hard blocked"
3416- fi
3417- if rfkill list bluetooth | grep -q 'Soft blocked: yes'
3418- then
3419- echo "rfkill list shows BT is soft blocked, removing before testing"
3420- rfkill unblock bluetooth
3421- sleep 3
3422- fi
3423- set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser
3424-_description:
3425- This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable
3426-
3427-plugin: shell
3428-name: suspend/bluetooth_obex_get_after_suspend_auto
3429-depends: suspend/suspend_advanced_auto
3430-requires:
3431- package.name == 'bluez'
3432- package.name == 'obexftp'
3433- device.category == 'BLUETOOTH'
3434-command:
3435- if [ -z "$BTDEVADDR" ]
3436- then
3437- echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
3438- exit 1
3439- fi
3440- if rfkill list bluetooth | grep -q 'Hard blocked: yes'
3441- then
3442- echo "rfkill list shows BT is hard blocked"
3443- fi
3444- if rfkill list bluetooth | grep -q 'Soft blocked: yes'
3445- then
3446- echo "rfkill list shows BT is soft blocked, removing before testing"
3447- rfkill unblock bluetooth
3448- sleep 3
3449- fi
3450- set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser
3451-_description:
3452- This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable
3453-
3454-plugin: manual
3455-name: suspend/bluetooth_obex_after_suspend_manual
3456-depends: suspend/suspend_advanced suspend/bluetooth_obex_before_suspend_manual
3457-requires:
3458- package.name == 'bluez'
3459- package.name == 'obexd-client'
3460- device.category == 'BLUETOOTH'
3461-command: rfkill unblock bluetooth; obex_send `bluetooth_scan` $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
3462-_description:
3463- PURPOSE:
3464- This test will send the image 'JPEG_Color_Image_Ubuntu.jpg' to a specified device
3465- STEPS:
3466- 1. Click "Test" and you will be prompted to enter the Bluetooth device name of a device that can accept file transfers (It may take a few moments after entering the name for the file to begin sending)
3467- 2. Accept any prompts that appear on both devices
3468- VERIFICATION:
3469- Was the data correctly transferred?
3470-
3471-plugin: manual
3472-name: suspend/cycle_resolutions_after_suspend
3473-requires: package.name == 'xorg'
3474-depends: suspend/suspend_advanced graphics/cycle_resolution
3475-command: xrandr_cycle --keyword=after_suspend --screenshot-dir $CHECKBOX_DATA
3476-_description:
3477- PURPOSE:
3478- This test will cycle through the detected display modes
3479- STEPS:
3480- 1. Click "Test" and the display will cycle trough the display modes
3481- VERIFICATION:
3482- Did your display look fine in the detected mode?
3483-
3484-plugin: shell
3485-name: suspend/cycle_resolutions_after_suspend_auto
3486-requires: package.name == 'xorg'
3487-depends: suspend/suspend_advanced_auto graphics/cycle_resolution
3488-_description:
3489- This test will check to make sure supported video modes work after a suspend and resume.
3490- This is done automatically by taking screenshots and uploading them as an attachment.
3491-command: xrandr_cycle --keyword=after_suspend --screenshot-dir $CHECKBOX_DATA
3492-
3493-plugin: attachment
3494-name: suspend/xrandr_screens_after_suspend.tar.gz
3495-depends: suspend/cycle_resolutions_after_suspend_auto
3496-command: [ -e $CHECKBOX_DATA/xrandr_screens_after_suspend.tgz ] && cat $CHECKBOX_DATA/xrandr_screens_after_suspend.tgz
3497-_description: This attaches screenshots from the suspend/cycle_resolutions_after_suspend_auto test to the results submission.
3498-
3499-plugin: shell
3500-name: suspend/record_playback_after_suspend
3501-depends: suspend/suspend_advanced
3502-requires:
3503- package.name == 'python3-gi'
3504- package.name == 'gir1.2-gstreamer-1.0'
3505- package.name == 'libgstreamer1.0-0'
3506- package.name == 'gstreamer1.0-plugins-good'
3507- package.name == 'gstreamer1.0-pulseaudio'
3508- package.name == 'alsa-base'
3509- device.category == 'AUDIO'
3510-command: audio_test
3511-_description:
3512- This will check to make sure that your audio device works properly after a suspend and resume. This may work fine with speakers and onboard microphone, however, it works best if used with a cable connecting the audio-out jack to the audio-in jack.
3513-
3514-plugin: shell
3515-name: suspend/record_playback_after_suspend_auto
3516-depends: suspend/suspend_advanced_auto
3517-requires:
3518- package.name == 'python3-gi'
3519- package.name == 'gir1.2-gstreamer-1.0'
3520- package.name == 'libgstreamer1.0-0'
3521- package.name == 'gstreamer1.0-plugins-good'
3522- package.name == 'gstreamer1.0-pulseaudio'
3523- package.name == 'alsa-base'
3524- device.category == 'AUDIO'
3525-command: audio_test
3526-_description:
3527- This will check to make sure that your audio device works properly after a suspend and resume. This may work fine with speakers and onboard microphone, however, it works best if used with a cable connecting the audio-out jack to the audio-in jack.
3528-
3529-plugin: attachment
3530-name: suspend/suspend-auto-single-log-attach
3531-command: [ -e $CHECKBOX_DATA/suspend_auto_single_log ] && cat $CHECKBOX_DATA/suspend_auto_single_log
3532-_description:
3533- Attaches the log from the single suspend/resume test to the results
3534-
3535-plugin: shell
3536-name: suspend/screenshot_after_suspend
3537-depends: suspend/suspend_advanced_auto
3538-requires: package.name == 'fswebcam'
3539-command: set -o pipefail; camera_test still --device=/dev/external_webcam -f ${CHECKBOX_DATA}/screenshot_after_suspend.jpg -q 2>&1 | ansi_parser
3540-_description:
3541- PURPOSE:
3542- Take a screengrab of the current screen after suspend (logged on Unity desktop)
3543- STEPS:
3544- 1. Take picture using USB webcam
3545- VERIFICATION:
3546- Review attachment manually later
3547-
3548-plugin: attachment
3549-name: screenshot_after_suspend.jpg
3550-depends: suspend/screenshot_after_suspend
3551-command: base64 ${CHECKBOX_DATA}/screenshot_after_suspend.jpg
3552-_description: Attaches the screenshot captured in graphics/screenshot.
3553-
3554-plugin: shell
3555-name: suspend/gpu_lockup_after_suspend
3556-requires:
3557- package.name == 'wmctrl'
3558- package.name == 'mesa-utils'
3559- package.name == 'firefox'
3560-depends: suspend/suspend_advanced_auto
3561-command: gpu_test
3562-_description:
3563- PURPOSE:
3564- Do some challenging operations then check for lockup on the GPU
3565- STEPS:
3566- 1. Create 2 glxgears windows and move them quickly
3567- 2. Switch workspaces with wmctrl
3568- 3. Launch an HTML5 video playback in firefox
3569- VERIFICATION:
3570- After a 60s workload, check kern.log for reported GPU errors
3571-
3572-plugin: shell
3573-name: suspend/wifi_resume_time
3574-depends: suspend/suspend_advanced
3575-requires:
3576- device.category == 'WIRELESS'
3577-command: network_reconnect_resume_test -t 20 -d wifi
3578-_description:
3579- Checks the length of time it takes to reconnect an existing wifi connection
3580- after a suspend/resume cycle.
3581-
3582-plugin: shell
3583-name: suspend/wifi_resume_time_auto
3584-depends: suspend/suspend_advanced_auto
3585-requires:
3586- device.category == 'WIRELESS'
3587-command: network_reconnect_resume_test -t 20 -d wifi
3588-_description:
3589- Checks the length of time it takes to reconnect an existing wifi connection
3590- after a suspend/resume cycle.
3591-
3592-plugin: shell
3593-name: suspend/network_resume_time
3594-depends: suspend/suspend_advanced
3595-requires:
3596- device.category == 'NETWORK'
3597-command: network_reconnect_resume_test -t 10 -d wired
3598-_description:
3599- Checks the length of time it takes to reconnect an existing wired connection
3600- after a suspend/resume cycle.
3601-
3602-plugin: shell
3603-name: suspend/network_resume_time_auto
3604-depends: suspend/suspend_advanced_auto
3605-requires:
3606- device.category == 'NETWORK'
3607-command: network_reconnect_resume_test -t 10 -d wired
3608-_description:
3609- Checks the length of time it takes to reconnect an existing wired connection
3610- after a suspend/resume cycle.
3611-
3612-plugin: manual
3613-name: suspend/led_after_suspend/power
3614-depends: suspend/suspend_advanced
3615-_description:
3616- PURPOSE:
3617- Validate that the power LED operated the same after resuming from suspend
3618- STEPS:
3619- 1. Power LED should be on while device is switched on
3620- VERIFICATION:
3621- Does the power LED remain on after resuming from suspend?
3622-
3623-plugin: manual
3624-name: suspend/led_after_suspend/battery-charging
3625-depends: suspend/suspend_advanced
3626-_description:
3627- PURPOSE:
3628- Validate that the battery light shows charging status after resuming from suspend
3629- STEPS:
3630- 1. Let system run on battery for a while
3631- 2. Plug in AC plug
3632- VERIFICATION:
3633- Did the battery indicator LED still turn orange after resuming from suspend?
3634-
3635-plugin: manual
3636-name: suspend/led_after_suspend/battery-charged
3637-depends: suspend/suspend_advanced
3638-_description:
3639- PURPOSE:
3640- Validate that the battery LED properly displays charged status after resuming from suspend
3641- STEPS:
3642- 1. Let system run on battery for a short time
3643- 2. Plug in AC
3644- 3. Let system run on AC
3645- VERIFICATION:
3646- Does the orange battery LED still shut off when system is fully charged after resuming from suspend?
3647-
3648-plugin: manual
3649-name: suspend/led_after_suspend/battery-low
3650-depends: suspend/suspend_advanced
3651-_description:
3652- PURPOSE:
3653- Validate that the battery LED indicated low power after resuming from suspend
3654- STEPS:
3655- 1. Let system run on battery for several hours
3656- 2. Monitor battery LED carefully
3657- VERIFICATION:
3658- Does the LED light orange when battery is low after resuming from suspend?
3659-
3660-plugin: manual
3661-name: suspend/led_after_suspend/hdd
3662-depends: suspend/suspend_advanced
3663-command: led_hdd_test
3664-_description:
3665- PURPOSE:
3666- Validate that the HDD LED still operates as expected after resuming from suspend
3667- STEPS:
3668- 1. Select "Test" to write and read a temporary file for a few seconds
3669- 2. HDD LED should blink when writing to/reading from HDD
3670- VERIFICATION:
3671- Did the HDD LED still blink with HDD activity after resuming from suspend?
3672-
3673-plugin: manual
3674-name: suspend/led_after_suspend/numeric-keypad
3675-depends: suspend/suspend_advanced
3676-command: keyboard_test
3677-_description:
3678- PURPOSE:
3679- Validate that the numeric keypad LED operates the same before and after resuming from suspend
3680- STEPS:
3681- 1. Press "Block Num" key to toggle numeric keypad LED
3682- 2. Click on the "Test" button to open a window to verify your typing
3683- 3. Type using the numeric keypad both when the LED is on and off
3684- VERIFICATION:
3685- 1. Numeric keypad LED status should toggle everytime the "Block Num" key is pressed
3686- 2. Numbers should only be entered in the keyboard verification window when the LED is on
3687-
3688-plugin: manual
3689-name: suspend/led_after_suspend/caps-lock
3690-depends: suspend/suspend_advanced
3691-_description:
3692- PURPOSE:
3693- Validate that the Caps Lock key operates the same before and after resuming from suspend
3694- STEPS:
3695- 1. Press "Block Cap Keys" to activate/deactivate cap keys blocking
3696- 2. Cap Keys LED should be switched on/off every time the key is pressed
3697- VERIFICATION:
3698- Did the Cap Keys LED light as expected after resuming from suspend?
3699-
3700-plugin: manual
3701-name: suspend/led_after_suspend/wlan
3702-depends: suspend/suspend_advanced
3703-_description:
3704- PURPOSE:
3705- WLAN LED verification after resuming from suspend
3706- STEPS:
3707- 1. Make sure WLAN connection is established
3708- 2. WLAN LED should light
3709- VERIFICATION:
3710- Did the WLAN LED light as expected after resuming from suspend?
3711-
3712-plugin: manual
3713-name: suspend/led_after_suspend/wlan-disabled
3714-depends: suspend/suspend_advanced
3715-_description:
3716- PURPOSE:
3717- Validate that WLAN LED shuts off when disabled after resuming from suspend
3718- STEPS:
3719- 1. Connect to AP
3720- 2. Use Physical switch to disable WLAN
3721- 3. Re-enable
3722- 4. Use Network-Manager to disable WLAN
3723- VERIFICATION:
3724- Did the LED turn off then WLAN is disabled after resuming from suspend?
3725-
3726-plugin: manual
3727-name: suspend/led_after_suspend/bluetooth
3728-depends: suspend/suspend_advanced
3729-_description:
3730- PURPOSE:
3731- Validate that the Bluetooth LED turns on and off when BT is enabled/disabled after resuming from suspend
3732- STEPS:
3733- 1. Switch bluetooth off from a hardware switch (if present)
3734- 2. Switch bluetooth back on
3735- 3. Switch bluetooth off from the panel applet
3736- 4. Switch bluetooth back on
3737- VERIFICATION:
3738- Did the bluetooth LED turn off and on twice after resuming from suspend?
3739-
3740-plugin: manual
3741-name: suspend/led_after_suspend/camera
3742-depends:
3743- camera/detect
3744- suspend/suspend_advanced
3745-command: camera_test led
3746-_description:
3747- PURPOSE:
3748- Validate that the camera LED still works as expected after resuming from suspend
3749- STEPS:
3750- 1. Select Test to activate camera
3751- 2. Camera LED should light for a few seconds
3752- VERIFICATION:
3753- Did the camera LED still turn on and off after resuming from suspend?
3754-
3755-plugin: manual
3756-name: suspend/led_after_suspend/touchpad
3757-depends: suspend/suspend_advanced
3758-_description:
3759- PURPOSE:
3760- Touchpad LED verification after resuming from suspend
3761- STEPS:
3762- 1. Click on the touchpad button or press key combination to enable/disable touchpad button
3763- 2. Slide your finger on the touchpad
3764- VERIFICATION:
3765- 1. Touchpad LED status should toggle everytime the button is clicked or the key combination is pressed
3766- 2. When the LED is on, the mouse pointer should move on touchpad usage
3767- 3. When the LED is off, the mouse pointer should not move on touchpad usage
3768-
3769-plugin: manual
3770-name: suspend/led_after_suspend/wireless
3771-depends: suspend/suspend_advanced
3772-_description:
3773- PURPOSE:
3774- Validate Wireless (WLAN + Bluetooth) LED operated the same after resuming from suspend
3775- STEPS:
3776- 1. Make sure WLAN connection is established and Bluetooth is enabled.
3777- 2. WLAN/Bluetooth LED should light
3778- 3. Switch WLAN and Bluetooth off from a hardware switch (if present)
3779- 4. Switch them back on
3780- 5. Switch WLAN and Bluetooth off from the panel applet
3781- 6. Switch them back on
3782- VERIFICATION:
3783- Did the WLAN/Bluetooth LED light as expected after resuming from suspend?
3784-
3785-plugin: manual
3786-name: suspend/keys_after_suspend/brightness
3787-depends: suspend/suspend_advanced
3788-requires: dmi.product in ['Notebook','Laptop','Portable']
3789-_description:
3790- PURPOSE:
3791- This test will test the brightness key after resuming from suspend
3792- STEPS:
3793- 1. Press the brightness buttons on the keyboard
3794- VERIFICATION:
3795- Did the brightness change following to your key presses after resuming from suspend?
3796-
3797-plugin: manual
3798-name: suspend/keys_after_suspend/volume
3799-depends: suspend/suspend_advanced
3800-requires:
3801- device.category == 'KEYBOARD'
3802-user: root
3803-command: key_test -s '0xe02e,0xe0ae:Volume Up' '0xe030,0xe0b0:Volume Down'
3804-_description:
3805- PURPOSE:
3806- This test will test the volume keys of your keyboard after resuming from suspend
3807- STEPS:
3808- 1. Click test to open a window on which to test the volume keys.
3809- 2. If all the keys work, the test will be marked as passed.
3810- 3. If your computer has no volume keys, Skip this test.
3811- VERIFICATION:
3812- Did the volume change following to your key presses?
3813-
3814-plugin: manual
3815-name: suspend/keys_after_suspend/mute
3816-depends: suspend/suspend_advanced
3817-requires:
3818- device.category == 'KEYBOARD'
3819-user: root
3820-command: key_test -s '0xe020,0xe0a0:Mute'
3821-_description:
3822- PURPOSE:
3823- This test will test the mute key of your keyboard after resuming from suspend
3824- STEPS:
3825- 1. Click test to open a window on which to test the mute key.
3826- 2. If the key works, the test will pass and the window will close.
3827- VERIFICATION:
3828- Did the volume mute following your key presses?
3829-
3830-plugin: manual
3831-name: suspend/keys_after_suspend/sleep
3832-depends: suspend/suspend_advanced
3833-requires:
3834- device.category == 'KEYBOARD'
3835-_description:
3836- PURPOSE:
3837- This test will test the sleep key after resuming from suspend
3838- STEPS:
3839- 1. Press the sleep key on the keyboard
3840- 2. Wake your system up by pressing the power button
3841- VERIFICATION:
3842- Did the system go to sleep after pressing the sleep key after resuming from suspend?
3843-
3844-plugin: manual
3845-name: suspend/keys_after_suspend/battery-info
3846-depends: suspend/suspend_advanced
3847-requires: dmi.product in ['Notebook','Laptop','Portable']
3848-user: root
3849-command: key_test -s '0xe071,0xef1:Battery Info'
3850-_description:
3851- PURPOSE:
3852- This test will test the battery information key after resuming from suspend
3853- STEPS:
3854- If you do not have a Battery Button, skip this test
3855- 1. Click Test to begin
3856- 2. Press the Battery Info button (or combo like Fn+F3)
3857- 3: Close the Power Statistics tool if it opens
3858- VERIFICATION:
3859- Did the Battery Info key work as expected after resuming from suspend?
3860-
3861-plugin: manual
3862-name: suspend/keys_after_suspend/wireless
3863-depends: suspend/suspend_advanced
3864-requires: dmi.product in ['Notebook','Laptop','Portable']
3865-_description:
3866- PURPOSE:
3867- This test will test the wireless key after resuming from suspend
3868- STEPS:
3869- 1. Press the wireless key on the keyboard
3870- 2. Press the same key again
3871- VERIFICATION:
3872- Did the wireless go off on the first press and on again on the second after resuming from suspend?
3873-
3874-plugin: manual
3875-name: suspend/keys_after_suspend/media-control
3876-depends: suspend/suspend_advanced
3877-requires:
3878- device.category == 'KEYBOARD'
3879-user: root
3880-command: key_test -s 0xe010,0xe090:Previous 0xe024,0xe0a4:Stop 0xe019,0xe099:Next 0xe022,0xe0a2:Play
3881-_description:
3882- PURPOSE:
3883- This test will test the media keys of your keyboard after resuming from suspend
3884- STEPS:
3885- 1. Click test to open a window on which to test the media keys.
3886- 2. If all the keys work, the test will be marked as passed.
3887- 3. If your computer has no media keys, Skip this test.
3888- VERIFICATION:
3889- Do the keys work as expected after resuming from suspend?
3890-
3891-plugin: manual
3892-name: suspend/keys_after_suspend/super
3893-depends: suspend/suspend_advanced
3894-requires:
3895- device.category == 'KEYBOARD'
3896-user: root
3897-command: key_test -s '0xe05b,0xe0db:Left Super Key'
3898-_description:
3899- PURPOSE:
3900- This test will test the super key of your keyboard after resuming from suspend
3901- STEPS:
3902- 1. Click test to open a window on which to test the super key.
3903- 2. If the key works, the test will pass and the window will close.
3904- VERIFICATION:
3905- Does the super key work as expected after resuming from suspend?
3906-
3907-plugin: manual
3908-name: suspend/keys_after_suspend/video-out
3909-depends: suspend/suspend_advanced
3910-requires: dmi.product in ['Notebook','Laptop','Portable']
3911-_description:
3912- PURPOSE:
3913- Validate that the External Video hot key is working as expected after resuming from suspend
3914- STEPS:
3915- 1. Plug in an external monitor
3916- 2. Press the display hot key to change the monitors configuration
3917- VERIFICATION:
3918- Check that the video signal can be mirrored, extended, displayed on external or onboard only, after resuming from suspend.
3919-
3920-plugin: manual
3921-name: suspend/keys_after_suspend/touchpad
3922-depends: suspend/suspend_advanced
3923-requires: dmi.product in ['Notebook','Laptop','Portable']
3924-_description:
3925- PURPOSE:
3926- Verify touchpad hotkey toggles touchpad functionality on and off after resuming from suspend
3927- STEPS:
3928- 1. Verify the touchpad is functional
3929- 2. Tap the touchpad toggle hotkey
3930- 3. Tap the touchpad toggle hotkey again
3931- VERIFICATION:
3932- Verify the touchpad has been disabled and re-enabled.
3933
3934=== removed file 'jobs/touchpad.txt.in'
3935--- jobs/touchpad.txt.in 2013-07-05 16:43:48 +0000
3936+++ jobs/touchpad.txt.in 1970-01-01 00:00:00 +0000
3937@@ -1,68 +0,0 @@
3938-plugin: manual
3939-name: touchpad/basic
3940-requires: dmi.product in ['Notebook','Laptop','Portable']
3941-_description:
3942- PURPOSE:
3943- Touchpad user-verify
3944- STEPS:
3945- 1. Make sure that touchpad is enabled.
3946- 2. Move cursor using the touchpad.
3947- VERIFICATION:
3948- Did the cursor move?
3949-
3950-plugin: user-interact
3951-name: touchpad/horizontal
3952-requires:
3953- 'Button Horiz Wheel Left' in xinput.button_labels and 'Button Horiz Wheel Right' in xinput.button_labels
3954-command: touchpad_test right left
3955-_description:
3956- PURPOSE:
3957- Touchpad horizontal scroll verification
3958- STEPS:
3959- 1. Select "Test" when ready and place your cursor within the borders of the displayed test window.
3960- 2. Verify that you can move the horizontal slider by moving your finger right and left in the lower part of the touchpad.
3961- VERIFICATION:
3962- Could you scroll right and left?
3963-
3964-plugin: user-interact
3965-name: touchpad/vertical
3966-requires:
3967- 'Button Wheel Up' in xinput.button_labels and 'Button Wheel Down' in xinput.button_labels
3968-command: touchpad_test up down
3969-_description:
3970- PURPOSE:
3971- Touchpad vertical scroll verification
3972- STEPS:
3973- 1. Select "Test" when ready and place your cursor within the borders of the displayed test window.
3974- 2. Verify that you can move the vertical slider by moving your finger up and down in the right part of the touchpad.
3975- VERIFICATION:
3976- Could you scroll up and down?
3977-
3978-plugin: shell
3979-name: touchpad/singletouch-automated
3980-requires:
3981- dmi.product in ['Notebook','Laptop','Portable']
3982- xinput.device_class == 'XITouchClass' and xinput.touch_mode != 'dependent'
3983-command: true
3984-_description:
3985- Determine whether the touchpad is detected as a singletouch device automatically.
3986-
3987-plugin: shell
3988-name: touchpad/multitouch-automated
3989-requires:
3990- dmi.product in ['Notebook','Laptop','Portable']
3991- xinput.device_class == 'XITouchClass' and xinput.touch_mode == 'dependent'
3992-command: true
3993-_description:
3994- Determine whether the touchpad is detected as a multitouch device automatically.
3995-
3996-plugin: manual
3997-name: touchpad/multitouch-manual
3998-depends: touchpad/singletouch-automated
3999-_description:
4000- PURPOSE:
4001- Touchpad manual detection of multitouch.
4002- STEPS:
4003- 1. Look at the specifications for your system.
4004- VERIFICATION:
4005- Is the touchpad supposed to be multitouch?
4006
4007=== removed file 'jobs/touchscreen.txt.in'
4008--- jobs/touchscreen.txt.in 2012-10-22 19:43:53 +0000
4009+++ jobs/touchscreen.txt.in 1970-01-01 00:00:00 +0000
4010@@ -1,58 +0,0 @@
4011-plugin: manual
4012-name: touchscreen/tap-detect
4013-_description:
4014- PURPOSE:
4015- Check touchscreen tap recognition
4016- STEPS:
4017- 1. Tap an object on the screen with finger. The cursor should jump to location tapped and object should highlight
4018- VERIFICATION:
4019- Does tap recognition work?
4020-
4021-plugin: manual
4022-name: touchscreen/drag-n-drop
4023-_description:
4024- PURPOSE:
4025- Check touchscreen drag & drop
4026- STEPS:
4027- 1. Double tap, hold, and drag an object on the desktop
4028- 2. Drop the object in a different location
4029- VERIFICATION:
4030- Does the object select and drag and drop?
4031-
4032-plugin: manual
4033-name: touchscreen/multitouch-zoom
4034-_description:
4035- PURPOSE:
4036- Check touchscreen pinch gesture for zoom
4037- STEPS:
4038- 1. Place two fingers on the screen and pinch them together
4039- 2. Place two fingers on the screen and move then apart
4040- VERIFICATION:
4041- Does the screen zoom in and out?
4042-
4043-plugin: shell
4044-name: touchscreen/nontouch-automated
4045-requires:
4046- xinput.device_class == 'XITouchClass' and xinput.touch_mode != 'direct'
4047-command: true
4048-_description:
4049- Determine whether the screen is detected as a non-touch device automatically.
4050-
4051-plugin: shell
4052-name: touchscreen/multitouch-automated
4053-requires:
4054- xinput.device_class == 'XITouchClass' and xinput.touch_mode == 'direct'
4055-command: true
4056-_description:
4057- Determine whether the screen is detected as a multitouch device automatically.
4058-
4059-plugin: manual
4060-name: touchscreen/multitouch-manual
4061-depends: touchscreen/nontouch-automated
4062-_description:
4063- PURPOSE:
4064- Touchscreen manual detection of multitouch.
4065- STEPS:
4066- 1. Look at the specifications for your system.
4067- VERIFICATION:
4068- Is the screen supposed to be multitouch?
4069
4070=== removed file 'jobs/user_apps.txt.in'
4071--- jobs/user_apps.txt.in 2012-07-25 19:08:46 +0000
4072+++ jobs/user_apps.txt.in 1970-01-01 00:00:00 +0000
4073@@ -1,505 +0,0 @@
4074-plugin: manual
4075-name: software/update_manager_finds_updates
4076-depends: networking/detect
4077-user: root
4078-requires: package.name == 'update-manager'
4079-_description:
4080- PURPOSE:
4081- This test will check that the update manager can find updates.
4082- STEPS:
4083- 1. Click Test to launch update-manager.
4084- 2. Follow the prompts and if updates are found, install them.
4085- 3. When Update Manager has finished, please close the app by clicking the Close button in the lower right corner.
4086- VERIFICATION:
4087- Did Update manager find and install updates (Pass if no updates are found,
4088- but Fail if updates are found but not installed)
4089-command: update-manager --check-dist-upgrades
4090-
4091-plugin: manual
4092-name: software/nautilus_folder_create
4093-requires: package.name == 'nautilus'
4094-command: nautilus
4095-_description:
4096- PURPOSE:
4097- This test will check that the file browser can create a new folder.
4098- STEPS:
4099- 1. Click Test to open the File Browser.
4100- 2. On the menu bar, click File -> Create Folder.
4101- 3. In the name box for the new folder, enter the name Test Folder and hit Enter.
4102- 4. Close the File browser.
4103- VERIFICATION:
4104- Do you now have a new folder called Test Folder?
4105-
4106-plugin: manual
4107-name: software/nautilus_folder_copy
4108-depends: software/nautilus_folder_create
4109-command: nautilus
4110-_description:
4111- PURPOSE:
4112- This test will check that the file browser can copy a folder
4113- STEPS:
4114- 1. Click Test to open the File Browser.
4115- 2. Right click on the folder called Test Folder and click on Copy.
4116- 3. Right Click on any white area in the window and click on Paste.
4117- 4. Right click on the folder called Test Folder(copy) and click Rename.
4118- 5. Enter the name Test Data in the name box and hit Enter.
4119- 6. Close the File browser.
4120- VERIFICATION:
4121- Do you now have a folder called Test Data?
4122-
4123-plugin: manual
4124-name: software/nautilus_folder_move
4125-depends: software/nautilus_folder_copy
4126-command: nautilus
4127-_description:
4128- PURPOSE:
4129- This test will verify that the file browser can move a folder.
4130- STEPS:
4131- 1. Click Test to open the File Browser.
4132- 2. Click and drag the folder called Test Data onto the icon called Test Folder.
4133- 3. Release the button.
4134- 4. Double click the folder called Test Folder to open it up.
4135- 5. Close the File Browser.
4136- VERIFICATION:
4137- Was the folder called Test Data successfully moved into the folder called Test Folder?
4138-
4139-plugin: manual
4140-name: software/nautilus_file_create
4141-depends: software/nautilus_folder_create
4142-command: nautilus $HOME/"Test Folder"
4143-_description:
4144- PURPOSE:
4145- This test will check that the file browser can create a new file.
4146- STEPS:
4147- 1. Click Select Test to open the File Browser.
4148- 2. Right click in the white space and click Create Document -> Empty Document.
4149- 3. Enter the name Test File 1 in the name box and hit Enter.
4150- 4. Close the File browser.
4151- VERIFICATION:
4152- Do you now have a file called Test File 1?
4153-
4154-plugin: manual
4155-name: software/nautilus_file_copy
4156-depends: software/nautilus_file_create
4157-command: nautilus $HOME/"Test Folder"
4158-_description:
4159- PURPOSE:
4160- This test will check that the file browser can copy a file.
4161- STEPS:
4162- 1. Click Test to open the File Browser.
4163- 2. Right click on the file called Test File 1 and click Copy.
4164- 3. Right click in the white space and click Paste.
4165- 4. Right click on the file called Test File 1(copy) and click Rename.
4166- 5. Enter the name Test File 2 in the name box and hit Enter.
4167- 6. Close the File Browser.
4168- VERIFICATION:
4169- Do you now have a file called Test File 2?
4170-
4171-plugin: manual
4172-name: software/nautilus_file_move
4173-depends: software/nautilus_file_copy
4174-command: nautilus $HOME/"Test Folder"
4175-_description:
4176- PURPOSE:
4177- This test will check that the file browser can move a file.
4178- STEPS:
4179- 1. Click Test to open the File Browser.
4180- 2. Click and drag the file called Test File 2 onto the icon for the folder called Test Data.
4181- 3. Release the button.
4182- 4. Double click the icon for Test Data to open that folder up.
4183- 5. Close the File Browser.
4184- VERIFICATION:
4185- Was the file Test File 2 successfully moved into the Test Data folder?
4186-
4187-plugin: manual
4188-name: software/nautilus_file_delete
4189-depends: software/nautilus_file_create
4190-command: nautilus $HOME/"Test Folder"
4191-_description:
4192- PURPOSE:
4193- This test will check that the file browser can delete a file.
4194- STEPS:
4195- 1. Click Test to open the File Browser.
4196- 2. Right click on the file called Test File 1 and click on Move To Trash.
4197- 3. Verify that Test File 1 has been removed.
4198- 4. Close the File Browser.
4199- VERIFICATION:
4200- Is Test File 1 now gone?
4201-
4202-plugin: manual
4203-name: software/nautilus_folder_delete
4204-depends: software/nautilus_folder_create
4205-command: nautilus
4206-_description:
4207- PURPOSE:
4208- This test will check that the file browser can delete a folder.
4209- STEPS:
4210- 1. Click Test to open the File Browser.
4211- 2. Right click on the folder called Test Folder and click on Move To Trash.
4212- 3. Verify that the folder was deleted.
4213- 4. Close the file browser.
4214- VERIFICATION:
4215- Has Test Folder been successfully deleted?
4216-
4217-plugin: local
4218-name: software/view_office_document
4219-requires: package.name == "ubuntu-desktop"
4220-_description: Common Document Types Test
4221-command:
4222- cat <<'EOF' | run_templates -s "find $CHECKBOX_SHARE/data/documents -type f"
4223- name: `basename $0`_test
4224- plugin: manual
4225- description:
4226- PURPOSE:
4227- This test will check that common office document types can be opened in the default application.
4228- STEPS:
4229- 1. Click Test to open the file '$0' with its default viewer.
4230- 2. After the viewer opens, check out the file that was opened.
4231- 3. Close the application (LibreOffice, Doc Viewer, etc.)
4232- VERIFICATION:
4233- Did the application open the document properly? (e.g was it displayed and did it function properly?)
4234- command: xdg-open $0
4235- EOF
4236-
4237-plugin: local
4238-name: software/audio_file_play
4239-requires: package.name == "ubuntu-desktop"
4240-_description: Common Document Types Test
4241-command:
4242- cat <<'EOF' | run_templates -s "find $CHECKBOX_SHARE/data/audio -type f"
4243- name: `basename $0`_test
4244- plugin: manual
4245- description:
4246- PURPOSE:
4247- This test will check that common audio files can be opened in the default player.
4248- STEPS:
4249- 1. Click Test to open the audio file '$0' with its default player.
4250- 2. After the player opens listen to the sound.
4251- 3. Close the application.
4252- VERIFICATION:
4253- Did the application play the audio file properly? (no skips, crackles, etc)
4254- command: xdg-open $0
4255- EOF
4256-
4257-plugin: local
4258-name: software/video_file_play
4259-requires: package.name == "ubuntu-desktop"
4260-_description: Common Document Types Test
4261-command:
4262- cat <<'EOF' | run_templates -s "find $CHECKBOX_SHARE/data/video -type f"
4263- name: `basename $0`_test
4264- plugin: manual
4265- description:
4266- PURPOSE:
4267- This test will check that common video files can be played in the default player.
4268- STEPS:
4269- 1. Click Test to play the video '$0' with its default player.
4270- 2. Watch the video.
4271- 3. Close the application.
4272- VERIFICATION:
4273- Did the application play '$0' proplerly (no video or audio issues with playback?)
4274- command: xdg-open $0
4275- EOF
4276-
4277-plugin: local
4278-name: software/view_image_file
4279-requires: package.name == "ubuntu-desktop"
4280-_description: Common Document Types Test
4281-command:
4282- cat <<'EOF' | run_templates -s "find $CHECKBOX_SHARE/data/images -type f"
4283- name: `basename $0`_test
4284- plugin: manual
4285- description:
4286- PURPOSE:
4287- This test will check that common image formats can be opened in the default viewer.
4288- STEPS:
4289- 1. Click Test to attempt to open the image '$0' with its default viewer.
4290- 2. Check out the file that was opened.
4291- 3. Close the application.
4292- VERIFICATION:
4293- Did the image display properly?
4294- command: xdg-open $0
4295- EOF
4296-
4297-plugin: manual
4298-name: software/firefox
4299-requires: package.name == 'firefox'
4300-command: firefox $CHECKBOX_SHARE/data/websites/testindex.html
4301-_description:
4302- PURPOSE:
4303- This test will check that Firefox can render a basic web page.
4304- STEPS:
4305- 1. Select Test to launch Firefox and view the test web page.
4306- VERIFICATION:
4307- Did the Ubuntu Test page load correctly?
4308-
4309-plugin: manual
4310-name: software/firefox-java
4311-depends: software/firefox
4312-requires: package.name == 'firefox'
4313-command: firefox $CHECKBOX_SHARE/data/websites/javatest.html
4314-_description:
4315- PURPOSE:
4316- This test will check that Firefox can run a java applet in a web page. Note:
4317- this may require installing additional software to complete successfully.
4318- STEPS:
4319- 1. Select Test to open Firefox with the Java test page, and follow the instructions there.
4320- VERIFICATION:
4321- Did the applet display?
4322-
4323-plugin: manual
4324-name: software/firefox-flash
4325-depends: software/firefox
4326-requires: package.name == 'firefox'
4327-command: firefox $CHECKBOX_SHARE/data/websites/flashtest.html
4328-_description:
4329- PURPOSE:
4330- This test will check that Firefox can run flash applications. Note: this may
4331- require installing additional software to successfully complete.
4332- STEPS:
4333- 1. Select Test to launch Firefox and view a sample Flash test.
4334- VERIFICATION:
4335- Did you see the text?
4336-
4337-plugin: manual
4338-name: software/firefox-flash-video
4339-depends: software/firefox-flash
4340-requires: package.name == 'firefox'
4341-command: firefox $CHECKBOX_SHARE/data/websites/flashvideo.html
4342-_description:
4343- PURPOSE:
4344- This test will check that Firefox can play a Flash video. Note: this may
4345- require installing additional software to successfully complete.
4346- STEPS:
4347- 1. Select Test to launch Firefox and view a short flash video.
4348- VERIFICATION:
4349- Did the video play correctly?
4350-
4351-plugin: manual
4352-name: software/firefox-totem
4353-depends: software/firefox
4354-requires:
4355- package.name == 'firefox'
4356- package.name == 'gstreamer0.10-ffmpeg'
4357-command: firefox $CHECKBOX_SHARE/data/video/Quicktime_Video.mov
4358-_description:
4359- PURPOSE:
4360- This test will check that Firefox can play a Quicktime (.mov) video file.
4361- Note: this may require installing additional software to successfully
4362- complete.
4363- STEPS:
4364- 1. Select Test to launch Firefox with a sample video.
4365- VERIFICATION:
4366- Did the video play using a plugin?
4367-
4368-plugin: manual
4369-name: software/empathy-facebook_chat
4370-requires: package.name == "empathy"
4371-command: empathy
4372-_description:
4373- PURPOSE:
4374- This test will check that Empathy messaging client works.
4375- STEPS:
4376- 1. Select Test to launch Empathy.
4377- 2. Configure it to connect to the Facebook Chat service.
4378- 3. Once you have completed the test, please quit Empathy to continue here.
4379- VERIFICATION:
4380- Were you able to connect correctly and send/receive messages?
4381-
4382-plugin: manual
4383-name: software/empathy-google_talk
4384-requires: package.name == "empathy"
4385-command: empathy
4386-_description:
4387- PURPOSE:
4388- This test will check that Empathy messaging client works.
4389- STEPS:
4390- 1. Select Test to launch Empathy.
4391- 2. Configure it to connect to the Google Talk (gtalk) service.
4392- 3. Once you have completed the test, please quit Empathy to continue here.
4393- VERIFICATION:
4394- Were you able to connect correctly and send/receive messages?
4395-
4396-plugin: manual
4397-name: software/empathy-jabber
4398-requires: package.name == "empathy"
4399-command: empathy
4400-_description:
4401- PURPOSE:
4402- This test will check that Empathy messaging client works.
4403- STEPS:
4404- 1. Select Test to launch Empathy.
4405- 2. Configure it to connect to the Jabber service.
4406- 3. Once you have completed the test, please quit Empathy to continue here.
4407- VERIFICATION:
4408- Were you able to connect correctly and send/receive messages?
4409-
4410-plugin: manual
4411-name: software/empathy-aim
4412-requires: package.name == "empathy"
4413-command: empathy
4414-_description:
4415- PURPOSE:
4416- This test will check that Empathy messaging client works.
4417- STEPS:
4418- 1. Select Test to launch Empathy.
4419- 2. Configure it to connect to the AOL Instant Messaging (AIM) service.
4420- 3. Once you have completed the test, please quit Empathy to continue here.
4421- VERIFICATION:
4422- Were you able to connect correctly and send/receive messages?
4423-
4424-plugin: manual
4425-name: software/empathy-msn
4426-requires: package.name == "empathy"
4427-command: empathy
4428-_description:
4429- PURPOSE:
4430- This test will check that Empathy messaging client works.
4431- STEPS:
4432- 1. Select Test to launch Empathy.
4433- 2. Configure it to connect to the Microsoft Network (MSN) service.
4434- 3. Once you have completed the test, please quit Empathy to continue here.
4435- VERIFICATION:
4436- Were you able to connect correctly and send/receive messages?
4437-
4438-plugin: manual
4439-name: software/evolution-pop3
4440-requires: package.name == "evolution"
4441-command: evolution
4442-_description:
4443- PURPOSE:
4444- This test will check that Evolution works.
4445- STEPS:
4446- 1. Click the "Test" button to launch Evolution.
4447- 2. Configure it to connect to a POP3 account.
4448- VERIFICATION:
4449- Were you able to receive and read e-mail correctly?
4450-
4451-plugin: manual
4452-name: software/evolution-imap
4453-requires: package.name == "evolution"
4454-command: evolution
4455-_description:
4456- PURPOSE:
4457- This test will check that Evolution works.
4458- STEPS:
4459- 1. Click the "Test" button to launch Evolution.
4460- 2. Configure it to connect to a IMAP account.
4461- VERIFICATION:
4462- Were you able to receive and read e-mail correctly?
4463-
4464-plugin: manual
4465-name: software/evolution-smtp
4466-requires: package.name == "evolution"
4467-command: evolution
4468-_description:
4469- PURPOSE:
4470- This test will check that Evolution works.
4471- STEPS:
4472- 1. Click the "Test" button to launch Evolution.
4473- 2. Configure it to connect to a SMTP account.
4474- VERIFICATION:
4475- Were you able to send e-mail without errors?
4476-
4477-plugin: manual
4478-name: software/gcalctool
4479-requires: package.name == "gcalctool"
4480-command: gcalctool
4481-_description:
4482- PURPOSE:
4483- This test checks that gcalctool (Calculator) works.
4484- STEPS:
4485- Click the "Test" button to open the calculator.
4486- VERIFICATION:
4487- Did it launch correctly?
4488-
4489-plugin: manual
4490-name: software/gcalctool-functions
4491-depends: software/gcalctool
4492-requires: package.name == "gcalctool"
4493-command: gcalctool
4494-_description:
4495- PURPOSE:
4496- This test checks that gcalctool (Calculator) works.
4497- STEPS:
4498- Click the "Test" button to open the calculator and perform:
4499- 1. Simple math functions (+,-,/,*)
4500- 2. Nested math functions ((,))
4501- 3. Fractional math
4502- 4. Decimal math
4503- VERIFICATION:
4504- Did the functions perform as expected?
4505-
4506-plugin: manual
4507-name: software/gcalctool-memory
4508-depends: software/gcalctool
4509-requires: package.name == "gcalctool"
4510-command: gcalctool
4511-_description:
4512- PURPOSE:
4513- This test checks that gcalctool (Calculator) works.
4514- STEPS:
4515- Click the "Test" button to open the calculator and perform:
4516- 1. Memory set
4517- 2. Memory reset
4518- 3. Memory last clear
4519- 4. Memory clear
4520- VERIFICATION:
4521- Did the functions perform as expected?
4522-
4523-plugin: manual
4524-name: software/gcalctool-clipboard
4525-depends: software/gcalctool
4526-requires: package.name == "gcalctool"
4527-command: gcalctool
4528-_description:
4529- PURPOSE:
4530- This test checks that gcalctool (Calculator) works.
4531- STEPS:
4532- Click the "Test" button to open the calculator and perform:
4533- 1. Cut
4534- 2. Copy
4535- 3. Paste
4536- VERIFICATION:
4537- Did the functions perform as expected?
4538-
4539-plugin: manual
4540-name: software/gedit
4541-requires: package.name == "gedit"
4542-command: gedit
4543-_description:
4544- PURPOSE:
4545- This test checks that gedit works.
4546- STEPS:
4547- 1. Click the "Test" button to open gedit.
4548- 2. Enter some text and save the file (make a note of the file name you use), then close gedit.
4549- VERIFICATION:
4550- Did this perform as expected?
4551-
4552-plugin: manual
4553-name: software/gedit-read
4554-depends: software/gedit
4555-requires: package.name == "gedit"
4556-command: gedit
4557-_description:
4558- PURPOSE:
4559- This test checks that gedit works.
4560- STEPS:
4561- 1. Click the "Test" button to open gedit, and re-open the file you created previously.
4562- 2. Edit then save the file, then close gedit.
4563- VERIFICATION:
4564- Did this perform as expected?
4565-
4566-plugin: manual
4567-name: software/gnome-terminal
4568-requires: package.name == "gnome-terminal"
4569-command: gnome-terminal
4570-_description:
4571- PURPOSE:
4572- This test will check that Gnome Terminal works.
4573- STEPS:
4574- 1. Click the "Test" button to open Terminal.
4575- 2. Type 'ls' and press enter. You should see a list of files and folder in your home directory.
4576- 3. Close the terminal window.
4577- VERIFICATION:
4578- Did this perform as expected?
4579
4580=== removed file 'jobs/wireless.txt.in'
4581--- jobs/wireless.txt.in 2013-04-18 11:48:32 +0000
4582+++ jobs/wireless.txt.in 1970-01-01 00:00:00 +0000
4583@@ -1,221 +0,0 @@
4584-plugin: shell
4585-name: wireless/wireless_scanning
4586-requires:
4587- package.name == 'network-manager'
4588- device.category == 'WIRELESS'
4589-command:
4590- rfkill unblock wlan wifi
4591- if rfkill list wlan wifi | grep -q 'Hard blocked: yes'; then
4592- echo "Hard block is applied to WiFi device. Please remove and retest."
4593- exit 1
4594- fi
4595- wireless_networks=`nmcli -f SSID dev wifi list`
4596- if [ `echo "$wireless_networks" | wc -l` -gt 1 ]; then
4597- echo "Wireless networks discovered: "
4598- echo "$wireless_networks"
4599- exit 0
4600- fi
4601- echo "No wireless networks discovered."
4602- exit 1
4603-_description: Wireless scanning test. It scans and reports on discovered APs.
4604-
4605-plugin: manual
4606-name: wireless/wireless_connection
4607-command: network_check
4608-requires: device.category == 'WIRELESS'
4609-_description:
4610- PURPOSE:
4611- This test will check your wireless connection.
4612- STEPS:
4613- 1. Click on the Network icon in the panel.
4614- 2. Select a network below the 'Wireless networks' section.
4615- 3. Click "Test" to verify that it's possible to establish an HTTP connection.
4616- VERIFICATION:
4617- Did a notification show and was the connection correctly established?
4618-
4619-plugin: shell
4620-name: wireless/wireless_connection_wpa_bg
4621-requires:
4622- device.category == 'WIRELESS'
4623- environment.ROUTERS == 'multiple'
4624-user: root
4625-environ: WPA_BG_SSID WPA_BG_PSK
4626-command: trap "nmcli con delete id $WPA_BG_SSID" EXIT; create_connection wifi $WPA_BG_SSID --security=wpa --key=$WPA_BG_PSK && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
4627-_description:
4628- Tests that the systems wireless hardware can connect to a router using WPA
4629- security and the 802.11b/g protocols.
4630-
4631-plugin: shell
4632-name: wireless/wireless_connection_open_bg
4633-requires:
4634- device.category == 'WIRELESS'
4635- environment.ROUTERS == 'multiple'
4636-user: root
4637-environ: OPEN_BG_SSID
4638-command: trap "nmcli con delete id $OPEN_BG_SSID" EXIT; create_connection wifi $OPEN_BG_SSID && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
4639-_description:
4640- Tests that the systems wireless hardware can connect to a router using no
4641- security and the 802.11b/g protocols.
4642-
4643-plugin: shell
4644-name: wireless/wireless_connection_wpa_n
4645-requires:
4646- device.category == 'WIRELESS'
4647- environment.ROUTERS == 'multiple'
4648-user: root
4649-environ: WPA_N_SSID WPA_N_PSK
4650-command: trap "nmcli con delete id $WPA_N_SSID" EXIT; create_connection wifi $WPA_N_SSID --security=wpa --key=$WPA_N_PSK && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
4651-_description:
4652- Tests that the systems wireless hardware can connect to a router using WPA
4653- security and the 802.11n protocol.
4654-
4655-plugin: shell
4656-name: wireless/wireless_connection_open_n
4657-requires:
4658- device.category == 'WIRELESS'
4659- environment.ROUTERS == 'multiple'
4660-user: root
4661-environ: OPEN_N_SSID
4662-command: trap "nmcli con delete id $OPEN_N_SSID" EXIT; create_connection wifi $OPEN_N_SSID && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
4663-_description:
4664- Tests that the systems wireless hardware can connect to a router using no
4665- security and the 802.11n protocol.
4666-
4667-plugin: manual
4668-name: wireless/wireless_connection_wpa_bg_manual
4669-requires:
4670- device.category == 'WIRELESS'
4671- environment.ROUTERS == 'single'
4672-user: root
4673-environ: ROUTER_SSID ROUTER_PSK
4674-command: trap "nmcli con delete id $ROUTER_SSID" EXIT; create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
4675-_description:
4676- PURPOSE:
4677- Tests that the systems wireless hardware can connect to a router using WPA
4678- security and the 802.11b/g protocols.
4679- STEPS:
4680- 1. Open your routers configuration tool
4681- 2. Change the settings to only accept connections on the B and G wireless bands
4682- 3. Make sure the SSID is set to ROUTER_SSID
4683- 4. Change the security settings to use WPA2 and ensure the PSK matches that set in ROUTER_PSK
4684- 5. Click the 'Test' button to create a connection to the router and test the connection
4685- VERIFICATION:
4686- Verification is automated, do not change the automatically selected result.
4687-
4688-plugin: manual
4689-name: wireless/wireless_connection_open_bg_manual
4690-requires:
4691- device.category == 'WIRELESS'
4692- environment.ROUTERS == 'single'
4693-user: root
4694-environ: ROUTER_SSID
4695-command: trap "nmcli con delete id $ROUTER_SSID" EXIT; create_connection wifi $ROUTER_SSID && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
4696-_description:
4697- PURPOSE:
4698- Tests that the systems wireless hardware can connect to a router using
4699- no security and the 802.11b/g protocols.
4700- STEPS:
4701- 1. Open your routers configuration tool
4702- 2. Change the settings to only accept connections on the B and G wireless bands
4703- 3. Make sure the SSID is set to ROUTER_SSID
4704- 4. Change the security settings to use no security
4705- 5. Click the 'Test' button to create a connection to the router and test the connection
4706- VERIFICATION:
4707- Verification is automated, do not change the automatically selected result.
4708-
4709-plugin: manual
4710-name: wireless/wireless_connection_wpa_n_manual
4711-requires:
4712- device.category == 'WIRELESS'
4713- environment.ROUTERS == 'single'
4714-user: root
4715-environ: ROUTER_SSID ROUTER_PSK
4716-command: trap "nmcli con delete id $ROUTER_SSID" EXIT; create_connection wifi $ROUTER_SSID --security=wpa --key=$ROUTER_PSK && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
4717-_description:
4718- PURPOSE:
4719- Tests that the systems wireless hardware can connect to a router using WPA
4720- security and the 802.11n protocols.
4721- STEPS:
4722- 1. Open your routers configuration tool
4723- 2. Change the settings to only accept connections on the N wireless band
4724- 3. Make sure the SSID is set to ROUTER_SSID
4725- 4. Change the security settings to use WPA2 and ensure the PSK matches that set in ROUTER_PSK
4726- 5. Click the 'Test' button to create a connection to the router and test the connection
4727- VERIFICATION:
4728- Verification is automated, do not change the automatically selected result.
4729-
4730-plugin: manual
4731-name: wireless/wireless_connection_open_n_manual
4732-requires:
4733- device.category == 'WIRELESS'
4734- environment.ROUTERS == 'single'
4735-user: root
4736-environ: ROUTER_SSID
4737-command: trap "nmcli con delete id $ROUTER_SSID" EXIT; create_connection wifi $ROUTER_SSID && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
4738-_description:
4739- PURPOSE:
4740- Tests that the systems wireless hardware can connect to a router using
4741- no security and the 802.11n protocol.
4742- STEPS:
4743- 1. Open your routers configuration tool
4744- 2. Change the settings to only accept connections on the N wireless band
4745- 3. Make sure the SSID is set to ROUTER_SSID
4746- 4. Change the security settings to use no security
4747- 5. Click the 'Test' button to create a connection to the router and test the connection
4748- VERIFICATION:
4749- Verification is automated, do not change the automatically selected result.
4750-
4751-plugin: shell
4752-name: wireless/monitor_wireless_connection
4753-requires:
4754- package.name == 'iperf'
4755- device.category == 'WIRELESS'
4756-user: root
4757-environ: WPA_BG_SSID WPA_BG_PSK SERVER_IPERF
4758-command: trap "nmcli con delete id $WPA_BG_SSID" EXIT; create_connection wifi $WPA_BG_SSID --security=wpa --key=$WPA_BG_PSK && iperf -c $SERVER_IPERF -t 300 -i 30
4759-_description:
4760- Tests the performance of a systems wireless connection through the iperf tool.
4761-
4762-plugin: shell
4763-name: wireless/monitor_wireless_connection_udp
4764-requires:
4765- package.name == 'iperf'
4766- device.category == 'WIRELESS'
4767-user: root
4768-environ: WPA_BG_SSID WPA_BG_PSK SERVER_IPERF
4769-command: trap "nmcli con delete id $WPA_BG_SSID" EXIT; create_connection wifi $WPA_BG_SSID --security=wpa --key=$WPA_BG_PSK && iperf -c $SERVER_IPERF -t 300 -i 30 -u -b 100m -p 5050
4770-_description:
4771- Tests the performance of a systems wireless connection through the iperf tool, using UDP packets.
4772-
4773-plugin: shell
4774-name: wireless/wireless_connection_open_a
4775-requires: device.category == 'WIRELESS'
4776-user: root
4777-environ: OPEN_A_SSID
4778-command: trap "nmcli con delete id $OPEN_A_SSID" EXIT; create_connection wifi $OPEN_A_SSID && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
4779-_description:
4780- Test that the system's wireless hardware can connect to a router using the
4781- 802.11a protocol. This requires that you have a router pre-configured to only
4782- respond to requests on the 802.11a protocol.
4783-
4784-plugin: shell
4785-name: wireless/wireless_connection_open_b
4786-requires: device.category == 'WIRELESS'
4787-user: root
4788-environ: OPEN_B_SSID
4789-command: trap "nmcli con delete id $OPEN_B_SSID" EXIT; create_connection wifi $OPEN_B_SSID && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
4790-_description:
4791- Test that the system's wireless hardware can connect to a router using the
4792- 802.11b protocol. This requires that you have a router pre-configured to only
4793- respond to requests on the 802.11b protocol.
4794-
4795-plugin: shell
4796-name: wireless/wireless_connection_open_g
4797-requires: device.category == 'WIRELESS'
4798-user: root
4799-environ: OPEN_G_SSID
4800-command: trap "nmcli con delete id $OPEN_G_SSID" EXIT; create_connection wifi $OPEN_G_SSID && internet_test --interface=`nmcli dev status | awk '/802-11-wireless/ {print $1}'`
4801-_description:
4802- Test that the system's wireless hardware can connect to a router using the
4803- 802.11g protocol. This requires that you have a router pre-configured to only
4804- respond to requests on the 802.11g protocol.
4805
4806=== modified file 'po/POTFILES.in'
4807--- po/POTFILES.in 2013-08-06 16:40:53 +0000
4808+++ po/POTFILES.in 2013-08-19 20:47:35 +0000
4809@@ -1,54 +1,24 @@
4810 [encoding: UTF-8]
4811 [type: gettext/glade] gtk/checkbox-gtk.ui
4812 qt/checkbox-qt.desktop.in
4813-[type: gettext/rfc822deb] jobs/audio.txt.in
4814 [type: gettext/rfc822deb] jobs/benchmarks.txt.in
4815-[type: gettext/rfc822deb] jobs/bluetooth.txt.in
4816-[type: gettext/rfc822deb] jobs/camera.txt.in
4817-[type: gettext/rfc822deb] jobs/codecs.txt.in
4818 [type: gettext/rfc822deb] jobs/cpu.txt.in
4819-[type: gettext/rfc822deb] jobs/daemons.txt.in
4820 [type: gettext/rfc822deb] jobs/dcmi_in_band.txt.in
4821 [type: gettext/rfc822deb] jobs/disk.txt.in
4822-[type: gettext/rfc822deb] jobs/esata.txt.in
4823-[type: gettext/rfc822deb] jobs/expresscard.txt.in
4824-[type: gettext/rfc822deb] jobs/fingerprint.txt.in
4825-[type: gettext/rfc822deb] jobs/firewire.txt.in
4826-[type: gettext/rfc822deb] jobs/floppy.txt.in
4827-[type: gettext/rfc822deb] jobs/graphics.txt.in
4828-[type: gettext/rfc822deb] jobs/hibernate.txt.in
4829 [type: gettext/rfc822deb] jobs/info.txt.in
4830-[type: gettext/rfc822deb] jobs/input.txt.in
4831-[type: gettext/rfc822deb] jobs/install.txt.in
4832 [type: gettext/rfc822deb] jobs/ipmi_out_of_band.txt.in
4833-[type: gettext/rfc822deb] jobs/keys.txt.in
4834-[type: gettext/rfc822deb] jobs/led.txt.in
4835 [type: gettext/rfc822deb] jobs/local.txt.in
4836-[type: gettext/rfc822deb] jobs/mediacard.txt.in
4837 [type: gettext/rfc822deb] jobs/memory.txt.in
4838 [type: gettext/rfc822deb] jobs/miscellanea.txt.in
4839-[type: gettext/rfc822deb] jobs/mobilebroadband.txt.in
4840-[type: gettext/rfc822deb] jobs/monitor.txt.in
4841 [type: gettext/rfc822deb] jobs/networking.txt.in
4842 [type: gettext/rfc822deb] jobs/optical.txt.in
4843-[type: gettext/rfc822deb] jobs/panel_clock_test.txt.in
4844-[type: gettext/rfc822deb] jobs/panel_reboot.txt.in
4845-[type: gettext/rfc822deb] jobs/peripheral.txt.in
4846-[type: gettext/rfc822deb] jobs/piglit.txt.in
4847 [type: gettext/rfc822deb] jobs/power-management.txt.in
4848-[type: gettext/rfc822deb] jobs/rendercheck.txt.in
4849 [type: gettext/rfc822deb] jobs/resource.txt.in
4850-[type: gettext/rfc822deb] jobs/server-services.txt.in
4851 [type: gettext/rfc822deb] jobs/smoke.txt.in
4852 [type: gettext/rfc822deb] jobs/sniff.txt.in
4853 [type: gettext/rfc822deb] jobs/stress.txt.in
4854-[type: gettext/rfc822deb] jobs/suspend.txt.in
4855-[type: gettext/rfc822deb] jobs/touchpad.txt.in
4856-[type: gettext/rfc822deb] jobs/touchscreen.txt.in
4857 [type: gettext/rfc822deb] jobs/usb.txt.in
4858-[type: gettext/rfc822deb] jobs/user_apps.txt.in
4859 [type: gettext/rfc822deb] jobs/virtualization.txt.in
4860-[type: gettext/rfc822deb] jobs/wireless.txt.in
4861 checkbox/application.py
4862 checkbox/job.py
4863 checkbox/lib/signal.py
4864@@ -71,8 +41,6 @@
4865 plugins/shell_test.py
4866 plugins/suites_prompt.py
4867 plugins/user_interface.py
4868-scripts/keyboard_test
4869-scripts/key_test
4870 scripts/internet_test
4871 checkbox_qt/qt_interface.py
4872 qt/frontend/checkboxtr.cpp
4873
4874=== removed file 'scripts/accelerometer_test'
4875--- scripts/accelerometer_test 2012-08-30 16:00:12 +0000
4876+++ scripts/accelerometer_test 1970-01-01 00:00:00 +0000
4877@@ -1,347 +0,0 @@
4878-#!/usr/bin/env python3
4879-'''
4880-script to test accerometer functionality
4881-
4882-Copyright (C) 2012 Canonical Ltd.
4883-
4884-Authors
4885- Jeff Marcom <jeff.marcom@canonical.com>
4886-
4887-This program is free software: you can redistribute it and/or modify
4888-it under the terms of the GNU General Public License version 3,
4889-as published by the Free Software Foundation.
4890-
4891-This program is distributed in the hope that it will be useful,
4892-but WITHOUT ANY WARRANTY; without even the implied warranty of
4893-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4894-GNU General Public License for more details.
4895-
4896-You should have received a copy of the GNU General Public License
4897-along with this program. If not, see <http://www.gnu.org/licenses/>.
4898-
4899-The purpose of this script is to simply interact with an onboard
4900-accelerometer, and check to be sure that the x, y, z axis respond
4901-to physical movement of hardware.
4902-'''
4903-from argparse import ArgumentParser
4904-from gi.repository import Gdk, GLib, Gtk
4905-import logging
4906-import os
4907-import re
4908-import sys
4909-import threading
4910-import time
4911-from subprocess import Popen, PIPE, check_output, STDOUT, CalledProcessError
4912-from checkbox.parsers.modinfo import ModinfoParser
4913-
4914-handler = logging.StreamHandler()
4915-logger = logging.getLogger()
4916-logger.addHandler(handler)
4917-logger.setLevel(logging.DEBUG)
4918-
4919-
4920-class AccelerometerUI(Gtk.Window):
4921- """Builds UI Framework for axis threshold tests using Gtk"""
4922-
4923- def __init__(self):
4924- Gtk.Window.__init__(self, title="Accelerometer Test")
4925-
4926- self.set_default_size(450, 100)
4927- self.set_type_hint(Gdk.WindowType.TOPLEVEL)
4928-
4929- self.enabled = False
4930-
4931- # Create UI Grid
4932- w_table = Gtk.Grid()
4933- self.add(w_table)
4934-
4935- # Create axis buttons
4936- self.up_icon = Gtk.Image(stock=Gtk.STOCK_GO_UP)
4937- self.up_icon.set_padding(10, 30)
4938- self.down_icon = Gtk.Image(stock=Gtk.STOCK_GO_DOWN)
4939- self.down_icon.set_padding(10, 30)
4940- self.left_icon = Gtk.Image(stock=Gtk.STOCK_GO_BACK)
4941- self.right_icon = Gtk.Image(stock=Gtk.STOCK_GO_FORWARD)
4942-
4943- # Set debug
4944- self.debug_label = Gtk.Label("Debug")
4945-
4946- # Set Grid layout for UI
4947- message = "Please tilt your hardware in the positions shown below:"
4948- w_table.attach(Gtk.Label(message), 0, 0, 4, 1)
4949-
4950- w_table.attach(self.up_icon, 2, 2, 1, 1)
4951- w_table.attach_next_to(self.debug_label, self.up_icon,
4952- Gtk.PositionType.BOTTOM, 1, 1)
4953- w_table.attach_next_to(self.down_icon, self.debug_label,
4954- Gtk.PositionType.BOTTOM, 1, 1)
4955- w_table.attach_next_to(self.left_icon, self.debug_label,
4956- Gtk.PositionType.LEFT, 1, 1)
4957- w_table.attach_next_to(self.right_icon, self.debug_label,
4958- Gtk.PositionType.RIGHT, 1, 1)
4959-
4960- def update_axis_icon(self, direction):
4961- """Change desired directional icon to checkmark"""
4962- exec('self.%s_icon.set_from_stock' % (direction) \
4963- + '(Gtk.STOCK_YES, size=Gtk.IconSize.BUTTON)')
4964-
4965- def update_debug_label(self, text):
4966- """Update axis information in center of UI"""
4967- self.debug_label.set_text(text)
4968-
4969- def destroy(self):
4970- Gtk.main_quit()
4971-
4972- def enable(self):
4973- self.enabled = True
4974- self.connect("delete-event", Gtk.main_quit)
4975- self.show_all()
4976-
4977- # Enable GLib/Gdk threading so the UI won't lock main
4978- GLib.threads_init()
4979- Gdk.threads_init()
4980- Gdk.threads_enter()
4981- Gtk.main()
4982- Gdk.threads_leave()
4983-
4984-
4985-class PermissionException(RuntimeError):
4986- def __init__(self, error):
4987- message = "Please re-run with root permissions: %s" % error.strip()
4988- super(PermissionException, self).__init__(message)
4989-
4990-
4991-class AxisData(threading.Thread):
4992- """Acquire information from kernel regarding the state of the
4993- accelerometer axis positions. Gathered data will be compared to
4994- a preset threshold reading. The default threshold (either - or + )
4995- for any direction is 600. Return values for thread are SUCCESS:0
4996- FAILURE:1. FAILURE is likely to exists when thread is unable to
4997- obtain a valid reading from the hardware."""
4998-
4999- def __init__(self, device_path, ui_control=None):
5000- threading.Thread.__init__(self)
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches