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
=== modified file 'debian/changelog'
--- debian/changelog 2013-08-06 16:43:05 +0000
+++ debian/changelog 2013-08-19 20:47:35 +0000
@@ -12,5 +12,9 @@
12 * data/ - Cleanup, removed unnecessary data files, dirs and whitelists12 * data/ - Cleanup, removed unnecessary data files, dirs and whitelists
13 bin/ - all checkbox launchers now default to 13 bin/ - all checkbox launchers now default to
14 opencompute-ready-local.whitelist14 opencompute-ready-local.whitelist
15 * jobs/, po/, scripts/ - Cleanup, removed unnecessary job and scritp files
16 and their references in po/POTFILES.in
17 checkbox/tests/ - Cleaned up unit tests that were looking for things
18 removed in this merge.
1519
16 -- Jeff Marcom <jeff.marcom@canonical.com> Wed, 31 Jul 2013 19:36:52 -040020 -- Jeff Marcom <jeff.marcom@canonical.com> Wed, 31 Jul 2013 19:36:52 -0400
1721
=== removed file 'jobs/audio.txt.in'
--- jobs/audio.txt.in 2013-07-05 16:43:48 +0000
+++ jobs/audio.txt.in 1970-01-01 00:00:00 +0000
@@ -1,222 +0,0 @@
1plugin: shell
2name: audio/list_devices
3requires:
4 device.category == 'AUDIO'
5 package.name == 'alsa-base'
6command: cat /proc/asound/cards
7_description: Test to detect audio devices
8
9plugin: manual
10name: audio/playback_auto
11depends: audio/list_devices
12requires:
13 device.category == 'AUDIO'
14 package.name == 'alsa-base'
15 package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
16 package.name == 'pulseaudio-utils'
17command: 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
18_description:
19 PURPOSE:
20 This test will check that internal speakers work correctly
21 STEPS:
22 1. Make sure that no external speakers or headphones are connected
23 If testing a desktop, external speakers are allowed
24 2. Click the Test button to play a brief tone on your audio device
25 VERIFICATION:
26 Did you hear a tone?
27
28plugin: manual
29name: audio/playback_hdmi
30requires:
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'
35command:
36 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
37_description:
38 PURPOSE:
39 HDMI audio interface verification
40 STEPS:
41 1. Plug an external HDMI device with sound (Use only one HDMI/DisplayPort interface at a time for this test)
42 2. Click the Test button
43 VERIFICATION:
44 Did you hear the sound from the HDMI device?
45
46plugin: manual
47name: audio/playback_displayport
48requires:
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'
53command:
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 DisplayPort audio interface verification
58 STEPS:
59 1. Plug an external DisplayPort 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 DisplayPort device?
63
64plugin: manual
65name: audio/playback_headphones
66depends: audio/list_devices
67requires:
68 device.category == 'AUDIO'
69 package.name == 'alsa-base'
70 package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
71 package.name == 'pulseaudio-utils'
72command: 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
73_description:
74 PURPOSE:
75 This test will check that headphones connector works correctly
76 STEPS:
77 1. Connect a pair of headphones to your audio device
78 2. Click the Test button to play a sound to your audio device
79 VERIFICATION:
80 Did you hear a sound through the headphones and did the sound play without any distortion, clicks or other strange noises from your headphones?
81
82plugin: manual
83name: audio/alsa_record_playback_internal
84depends: audio/playback_auto
85requires:
86 device.category == 'AUDIO'
87 package.name == 'alsa-base'
88 package.name == 'pulseaudio-utils'
89 package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good'
90command: 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
91_description:
92 PURPOSE:
93 This test will check that recording sound using the onboard microphone works correctly
94 STEPS:
95 1. Disconnect any external microphones that you have plugged in
96 2. Click "Test", then speak into your internal microphone
97 3. After a few seconds, your speech will be played back to you.
98 VERIFICATION:
99 Did you hear your speech played back?
100
101plugin: manual
102name: audio/alsa_record_playback_external
103depends: audio/playback_headphones
104requires:
105 device.category == 'AUDIO'
106 package.name == 'alsa-base'
107 package.name == 'pulseaudio-utils'
108 package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good'
109command: 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
110_description:
111 PURPOSE:
112 This test will check that recording sound using an external microphone works correctly
113 STEPS:
114 1. Connect a microphone to your microphone port
115 2. Click "Test", then speak into the external microphone
116 3. After a few seconds, your speech will be played back to you
117 VERIFICATION:
118 Did you hear your speech played back?
119
120plugin: manual
121name: audio/alsa_record_playback_usb
122requires:
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'
127command: 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
128_description:
129 PURPOSE:
130 This test will check that a USB audio device works correctly
131 STEPS:
132 1. Connect a USB audio device to your system
133 2. Click "Test", then speak into the 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 through the USB headphones?
137
138plugin: shell
139name: audio/alsa_record_playback_automated
140requires:
141 package.name == 'python3-gi'
142 package.name == 'gir1.2-gstreamer-1.0'
143 package.name == 'libgstreamer1.0-0'
144 package.name == 'gstreamer1.0-plugins-good'
145 package.name == 'gstreamer1.0-pulseaudio'
146 package.name == 'alsa-base'
147 device.category == 'AUDIO'
148command: audio_test
149_description:
150 Play back a sound on the default output and listen for it on the
151 default input.
152
153plugin: shell
154name: audio/alsa_info_collect
155command: alsa_info --no-dialog --no-upload --output ${CHECKBOX_DATA}/alsa_info.log
156_description:
157 Collect audio-related system information. This data can be used to
158 simulate this computer's audio subsystem and perform more detailed tests
159 under a controlled environment.
160
161plugin: attachment
162name: audio/alsa_info_attachment
163depends: audio/alsa_info_collect
164command: [ -e ${CHECKBOX_DATA}/alsa_info.log ] && cat ${CHECKBOX_DATA}/alsa_info.log
165_description:
166 Attaches the audio hardware data collection log to the results.
167
168plugin: manual
169name: audio/channels
170command: speaker-test -c 2 -l 1 -t wav
171_description:
172 PURPOSE:
173 Check that the various audio channels are working properly
174 STEPS:
175 1. Click the Test button
176 VERIFICATION:
177 You should clearly hear a voice from the different audio channels
178
179plugin: shell
180name: audio/check_volume
181requires:
182 package.name == 'pulseaudio-utils'
183 device.category == 'AUDIO'
184command: volume_test --minvol 1 --maxvol 100
185_description:
186 This test will verify that the volume levels are at an acceptable level on
187 your local system. The test will validate that the volume is greater than
188 or equal to minvol and less than or equal to maxvol for all sources (inputs)
189 and sinks (outputs) recognized by PulseAudio. It will also validate that the
190 active source and sink are not muted. You should not manually adjust the
191 volume or mute before running this test.
192
193plugin: manual
194name: audio/external-lineout
195_description:
196 PURPOSE:
197 Check that external line out connection works correctly
198 STEPS:
199 1. Insert cable to speakers (with built-in amplifiers) on the line out port
200 2. Open system sound preferences, 'Output' tab, select 'Line-out' on the connector list. Click the Test button
201 3. On the system sound preferences, select 'Internal Audio' on the device list and click 'Test Speakers' to check left and right channel
202 VERIFICATION:
203 1. Do you hear a sound in the speakers? The internal speakers should *not* be muted automatically
204 2. Do you hear the sound coming out on the corresponding channel?
205
206plugin: manual
207name: audio/external-linein
208requires:
209 device.category == 'AUDIO'
210 package.name == 'alsa-base'
211 package.name == 'pulseaudio-utils'
212 package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good'
213command: 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
214_description:
215 PURPOSE:
216 Check that external line in connection works correctly
217 STEPS:
218 1. Use a cable to connect the line in port to an external line out source.
219 2. Open system sound preferences, 'Input' tab, select 'Line-in' on the connector list. Click the Test button
220 3. After a few seconds, your recording will be played back to you.
221 VERIFICATION:
222 Did you hear your recording?
2230
=== removed file 'jobs/bluetooth.txt.in'
--- jobs/bluetooth.txt.in 2013-01-11 08:49:44 +0000
+++ jobs/bluetooth.txt.in 1970-01-01 00:00:00 +0000
@@ -1,90 +0,0 @@
1
2plugin: shell
3name: bluetooth/detect-output
4requires:
5 package.name == 'bluez'
6 device.category == 'BLUETOOTH'
7command:
8 if rfkill list bluetooth | grep -q 'Hard blocked: yes'; then
9 echo "rfkill shows BT is hard blocked"
10 fi
11 if rfkill list bluetooth | grep -q 'Soft blocked: yes'; then
12 echo "rfkill shows BT is soft blocked, removing before testing"
13 rfkill unblock bluetooth
14 sleep 3
15 fi
16 output=$(hcitool dev | tail -n+2 | awk '{print $2}' | tee $CHECKBOX_DATA/bluetooth_address)
17 echo "$output"
18 if [ -z "$output" ]; then
19 "BT hardware not available"
20 exit 1
21 fi
22_description:
23 Automated test to store bluetooth device information in checkbox report
24
25plugin: manual
26name: bluetooth/browse-files
27depends: bluetooth/detect-output
28_description:
29 PURPOSE:
30 This test will check that bluetooth connection works correctly
31 STEPS:
32 1. Enable bluetooth on any mobile device (PDA, smartphone, etc.)
33 2. Click on the bluetooth icon in the menu bar
34 3. Select 'Setup new device'
35 4. Look for the device in the list and select it
36 5. In the device write the PIN code automatically chosen by the wizard
37 6. The device should pair with the computer
38 7. Right-click on the bluetooth icon and select browse files
39 8. Authorize the computer to browse the files in the device if needed
40 9. You should be able to browse the files
41 VERIFICATION:
42 Did all the steps work?
43
44plugin: manual
45name: bluetooth/file-transfer
46depends: bluetooth/browse-files bluetooth/detect-output
47_description:
48 PURPOSE:
49 This test will check that you can transfer information through a bluetooth connection
50 STEPS:
51 1. Make sure that you're able to browse the files in your mobile device
52 2. Copy a file from the computer to the mobile device
53 3. Copy a file from the mobile device to the computer
54 VERIFICATION:
55 Were all files copied correctly?
56
57plugin: manual
58name: bluetooth/audio
59depends: bluetooth/detect-output
60command: arecord -d 5 -D bluetooth -f S16_LE | aplay -D bluetooth -f S16_LE
61_description:
62 PURPOSE:
63 This test will check that you can record and hear audio using a bluetooth audio device
64 STEPS:
65 1. Enable the bluetooth headset
66 2. Click on the bluetooth icon in the menu bar
67 3. Select 'Setup new device'
68 4. Look for the device in the list and select it
69 5. In the device write the PIN code automatically chosen by the wizard
70 6. The device should pair with the computer
71 7. Click "Test" to record for five seconds and reproduce in the bluetooth device
72 VERIFICATION:
73 Did you hear the sound you recorded in the bluetooth
74
75plugin: manual
76name: bluetooth/HID
77depends: bluetooth/detect-output
78command: keyboard_test
79_description:
80 PURPOSE:
81 This test will check that you can use a BlueTooth HID device
82 STEPS:
83 1. Enable either a BT mouse or keyboard
84 2. Click on the bluetooth icon in the menu bar
85 3. Select 'Setup new device'
86 4. Look for the device in the list and select it
87 5. For mice, perform actions such as moving the pointer, right and left button clicks and double clicks
88 6. For keyboards, click the Test button to lauch a small tool. Enter some text into the tool and close it.
89 VERIFICATION:
90 Did the device work as expected?
910
=== removed file 'jobs/camera.txt.in'
--- jobs/camera.txt.in 2013-05-03 14:31:50 +0000
+++ jobs/camera.txt.in 1970-01-01 00:00:00 +0000
@@ -1,48 +0,0 @@
1plugin: shell
2name: camera/detect
3requires:
4 device.category == 'CAPTURE'
5command: camera_test detect
6_description: This Automated test attempts to detect a camera.
7
8plugin: user-verify
9name: camera/display
10depends: camera/detect
11requires:
12 device.category == 'CAPTURE'
13command: camera_test display
14_description:
15 PURPOSE:
16 This test will check that the built-in camera works
17 STEPS:
18 1. Click on Test to display a video capture from the camera for ten seconds.
19 VERIFICATION:
20 Did you see the video capture?
21
22plugin: user-verify
23name: camera/still
24depends: camera/detect
25requires:
26 package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
27 package.name == 'eog'
28 package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
29 device.category == 'CAPTURE'
30command: camera_test still
31_description:
32 PURPOSE:
33 This test will check that the built-in camera works
34 STEPS:
35 1. Click on Test to display a still image from the camera for ten seconds.
36 VERIFICATION:
37 Did you see the image?
38
39plugin: shell
40name: camera/multiple-resolution-images
41depends: camera/detect
42requires:
43 package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
44 device.category == 'CAPTURE'
45command: camera_test resolutions
46_description:
47 Takes multiple pictures based on the resolutions supported by the camera and
48 validates their size and that they are of a valid format.
490
=== removed file 'jobs/codecs.txt.in'
--- jobs/codecs.txt.in 2012-06-07 12:26:26 +0000
+++ jobs/codecs.txt.in 1970-01-01 00:00:00 +0000
@@ -1,29 +0,0 @@
1plugin: manual
2name: codecs/ogg-vorbis
3requires:
4 package.name == 'gstreamer0.10-plugins-base' or package.name == 'gstreamer1.0-plugins-base'
5 package.name == 'totem' and package.name == 'ubuntu-sounds'
6command: totem /usr/share/sounds/ubuntu/stereo/system-ready.ogg
7_description:
8 PURPOSE:
9 This test will verify your system's ability to play Ogg Vorbis audio files.
10 STEPS:
11 1. Click Test to play an Ogg Vorbis file (.ogg)
12 2. Please close the player to proceed.
13 VERIFICATION:
14 Did the sample play correctly?
15
16plugin: manual
17name: codecs/wav
18requires:
19 package.name == 'gstreamer0.10-plugins-good' or package.name == 'gstreamer1.0-plugins-good'
20 package.name == 'totem' and package.name == 'alsa-utils'
21command: totem /usr/share/sounds/alsa/Noise.wav
22_description:
23 PURPOSE:
24 This test will verify your system's ability to play Wave Audio files.
25 STEPS:
26 1. Select Test to play a Wave Audio format file (.wav)
27 2. Please close the player to proceed.
28 VERIFICATION:
29 Did the sample play correctly?
300
=== removed file 'jobs/daemons.txt.in'
--- jobs/daemons.txt.in 2012-10-09 15:21:35 +0000
+++ jobs/daemons.txt.in 1970-01-01 00:00:00 +0000
@@ -1,66 +0,0 @@
1plugin: shell
2name: daemons/atd
3requires: package.name == 'at'
4command: pgrep -f '/usr/sbin/atd' >/dev/null
5_description: Test if the atd daemon is running when the package is installed.
6
7plugin: shell
8name: daemons/cron
9requires: package.name == 'cron'
10command: pgrep -f '/usr/sbin/cron' >/dev/null
11_description: Test if the cron daemon is running when the package is installed.
12
13plugin: shell
14name: daemons/cupsd
15requires: package.name == 'cupsys'
16command: pgrep -f '/usr/sbin/cupsd' >/dev/null
17_description: Test if the cupsd daemon is running when the package is installed.
18
19plugin: shell
20name: daemons/getty
21requires: package.name == 'util-linux'
22command: pgrep -f '/sbin/getty' >/dev/null
23_description: Test if the getty daemon is running when the package is installed.
24
25plugin: shell
26name: daemons/init
27requires: package.name == 'upstart'
28command: pgrep -f '/sbin/init' >/dev/null
29_description: Test if the init daemon is running when the package is installed.
30
31plugin: shell
32name: daemons/klogd
33requires: package.name == 'klogd'
34command: pgrep -f '/sbin/klogd' >/dev/null
35_description: Test if the klogd daemon is running when the package is installed.
36
37plugin: shell
38name: daemons/nmbd
39requires: package.name == 'samba'
40command: pgrep -f '/usr/sbin/nmbd' >/dev/null
41_description: Test if the nmbd daemon is running when the package is installed.
42
43plugin: shell
44name: daemons/smbd
45requires: package.name == 'samba'
46command: pgrep -f '/usr/sbin/smbd' >/dev/null
47_description: Test if the smbd daemon is running when the package is installed.
48
49plugin: shell
50name: daemons/syslogd
51requires: package.name == 'syslogd'
52command: pgrep -f '/sbin/syslogd' >/dev/null
53_description: Test if the syslogd daemon is running when the package is installed.
54
55plugin: shell
56name: daemons/udevd
57requires:
58 package.name == 'udevd'
59command: pgrep -f '/sbin/udevd' >/dev/null
60_description: Test if the udevd daemon is running when the package is installed.
61
62plugin: shell
63name: daemons/winbindd
64requires: package.name == 'winbind'
65command: pgrep -f '/usr/sbin/winbindd' >/dev/null
66_description: Test if the winbindd daemon is running when the package is installed.
670
=== removed file 'jobs/esata.txt.in'
--- jobs/esata.txt.in 2013-03-07 07:46:10 +0000
+++ jobs/esata.txt.in 1970-01-01 00:00:00 +0000
@@ -1,37 +0,0 @@
1plugin: user-interact
2name: esata/insert
3command: removable_storage_watcher insert ata_serial_esata
4_description:
5 PURPOSE:
6 This test will check the system can detect the insertion of an eSATA HDD
7 STEPS:
8 1. Click 'Test' to begin the test. This test will
9 timeout and fail if the insertion has not been detected within 20 seconds.
10 2. Plug an eSATA HDD into an available eSATA port.
11 VERIFICATION:
12 The verification of this test is automated. Do not change the automatically
13 selected result
14
15plugin: shell
16name: esata/storage-test
17user: root
18depends: esata/insert
19command: removable_storage_test -s 268400000 ata_serial_esata
20_description:
21 This is an automated test which performs read/write operations on an attached
22 eSATA HDD
23
24plugin: user-interact
25name: esata/remove
26depends: esata/storage-test
27command: removable_storage_watcher remove ata_serial_esata
28_description:
29 PURPOSE:
30 This test will check the system can detect the removal of an eSATA HDD
31 STEPS:
32 1. Click 'Test' to begin the test. This test will timeout and fail if
33 the removal has not been detected within 20 seconds.
34 2. Remove the previously attached eSATA HDD from the eSATA port.
35 VERIFICATION:
36 The verification of this test is automated. Do not change the automatically
37 selected result
380
=== removed file 'jobs/expresscard.txt.in'
--- jobs/expresscard.txt.in 2012-10-23 21:52:31 +0000
+++ jobs/expresscard.txt.in 1970-01-01 00:00:00 +0000
@@ -1,10 +0,0 @@
1plugin: manual
2name: expresscard/verification
3_description:
4 PURPOSE:
5 This will verify that an ExpressCard slot can detect inserted devices.
6 If you do not have an ExpressCard slot, please skip test.
7 STEPS:
8 1. Plug an ExpressCard device into the ExpressCard slot
9 VERIFICATION:
10 Was the device correctly detected?
110
=== removed file 'jobs/fingerprint.txt.in'
--- jobs/fingerprint.txt.in 2013-07-05 16:43:48 +0000
+++ jobs/fingerprint.txt.in 1970-01-01 00:00:00 +0000
@@ -1,29 +0,0 @@
1plugin: manual
2name: fingerprint/login
3_description:
4 PURPOSE:
5 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
6 STEPS:
7 1. Click on the User indicator on the left side of the panel (your user name).
8 2. Select "Switch User Account"
9 3. On the LightDM screen select your username.
10 4. Use the fingerprint reader to login.
11 5. Click on the user switcher applet.
12 6. Select the testing account to continue running tests.
13 VERIFICATION:
14 Did the authentication procedure work correctly?
15
16plugin: manual
17name: fingerprint/unlock
18_description:
19 PURPOSE:
20 This test will verify that a fingerprint reader can be used to unlock a locked system.
21 STEPS:
22 1. Click on the Session indicator (Cog icon on the Left side of the panel) .
23 2. Select 'Lock screen'.
24 3. Press any key or move the mouse.
25 4. A window should appear that provides the ability to unlock either typing your password or using fingerprint authentication.
26 5. Use the fingerprint reader to unlock.
27 6. Your screen should be unlocked.
28 VERIFICATION:
29 Did the authentication procedure work correctly?
300
=== removed file 'jobs/firewire.txt.in'
--- jobs/firewire.txt.in 2013-03-07 07:46:10 +0000
+++ jobs/firewire.txt.in 1970-01-01 00:00:00 +0000
@@ -1,38 +0,0 @@
1plugin: user-interact
2name: firewire/insert
3command: removable_storage_watcher insert firewire
4_description:
5 PURPOSE:
6 This test will check the system can detect the insertion of a FireWire HDD
7 STEPS:
8 1. Click 'Test' to begin the test. This test will
9 timeout and fail if the insertion has not been detected within 20 seconds.
10 2. Plug a FireWire HDD into an available FireWire port.
11 VERIFICATION:
12 The verification of this test is automated. Do not change the automatically
13 selected result
14
15plugin: shell
16name: firewire/storage-test
17user: root
18depends: firewire/insert
19command: removable_storage_test -s 268400000 firewire
20_description:
21 This is an automated test which performs read/write operations on an attached
22 FireWire HDD
23
24plugin: user-interact
25name: firewire/remove
26depends: firewire/storage-test
27command: removable_storage_watcher remove firewire
28_description:
29 PURPOSE:
30 This test will check the system can detect the removal of a FireWire HDD
31 STEPS:
32 1. Click 'Test' to begin the test. This test will timeout and fail if
33 the removal has not been detected within 20 seconds.
34 2. Remove the previously attached FireWire HDD from the FireWire port.
35 VERIFICATION:
36 The verification of this test is automated. Do not change the automatically
37 selected result
38
390
=== removed file 'jobs/floppy.txt.in'
--- jobs/floppy.txt.in 2011-07-07 10:00:04 +0000
+++ jobs/floppy.txt.in 1970-01-01 00:00:00 +0000
@@ -1,13 +0,0 @@
1plugin: local
2name: floppy/check
3requires: device.driver == 'floppy'
4_description: Floppy test
5command:
6 cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "driver=floppy"'
7 plugin: shell
8 name: floppy/check_`ls /sys$path/driver/*/*/*/block`
9 requires: device.path == "$path"
10 description: Floppy test for $product
11 user: root
12 command: floppy_test /dev/`ls /sys$path/driver/*/*/*/block`
13 EOF
140
=== removed file 'jobs/graphics.txt.in'
--- jobs/graphics.txt.in 2013-05-10 13:03:39 +0000
+++ jobs/graphics.txt.in 1970-01-01 00:00:00 +0000
@@ -1,223 +0,0 @@
1plugin: shell
2name: graphics/driver_version
3command: graphics_driver
4_description: Parses Xorg.0.Log and discovers the running X driver and version
5
6plugin: shell
7name: graphics/xorg-version
8requires: package.name == "x11-utils"
9command: xdpyinfo | grep "^X.Org version" | cut -d ':' -f 2 | tr -d ' '
10_description: Test to output the Xorg version
11
12plugin: manual
13name: graphics/resolution-change
14depends: graphics/xorg-version
15_description:
16 PURPOSE:
17 This test will verify that the GUI is usable after manually changing resolution
18 STEPS:
19 1. Open the Displays application
20 2. Select a new resolution from the dropdown list
21 3. Click on Apply
22 4. Select the original resolution from the dropdown list
23 5. Click on Apply
24 VERIFICATION:
25 Did the resolution change as expected?
26
27plugin: shell
28name: graphics/xorg-process
29requires:
30 package.name == 'xorg'
31 package.name == 'procps'
32command: pgrep -f '/usr/bin/X' >/dev/null
33_description: Test that the X process is running.
34
35plugin: shell
36name: graphics/xorg-failsafe
37requires: package.name == 'xorg'
38command: ! test -e /var/log/Xorg.failsafe.log
39_description: Test that the X is not running in failsafe mode.
40
41plugin: user-verify
42name: graphics/resolution
43requires:
44 device.category == 'VIDEO'
45command: resolution_test
46_description:
47 PURPOSE:
48 This test will verify the default display resolution
49 STEPS:
50 1. This display is using the following resolution:
51 INFO:
52 $output
53 VERIFICATION:
54 Is this acceptable for your display?
55
56plugin: shell
57name: graphics/minimum_resolution
58requires:
59 device.category == 'VIDEO'
60command: resolution_test --horizontal 800 --vertical 600
61_description:
62 Ensure the current resolution meets or exceeds the recommended minimum
63 resolution (800x600). See here for details:
64 .
65 https://help.ubuntu.com/community/Installation/SystemRequirements
66
67name: graphics/modes
68plugin: shell
69command: graphics_modes_info
70_description: Collect info on graphics modes (screen resolution and refresh rate)
71
72name: graphics/color_depth
73plugin: shell
74command: color_depth_info
75_description: Collect info on color depth and pixel format.
76
77name: graphics/fresh_rate
78plugin: shell
79command: fresh_rate_info
80_description: Collect info on fresh rate.
81
82name: graphics/graphic_memory
83plugin: shell
84command: graphic_memory_info
85_description: Collect info on graphic memory.
86
87plugin: user-verify
88name: graphics/display
89requires:
90 package.name == 'xorg'
91 package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
92command: gst_pipeline_test -t 2 'videotestsrc ! ffmpegcolorspace ! autovideosink'
93_description:
94 PURPOSE:
95 This test will test the default display
96 STEPS:
97 1. Click "Test" to display a video test.
98 VERIFICATION:
99 Do you see color bars and static?
100
101plugin: shell
102name: graphics/VESA_drivers_not_in_use
103command: 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'
104_description: Check that VESA drivers are not in use
105
106plugin: user-verify
107name: graphics/cycle_resolution
108requires: package.name == 'xorg'
109depends: graphics/VESA_drivers_not_in_use
110command: xrandr_cycle --screenshot-dir $CHECKBOX_DATA
111_description:
112 PURPOSE:
113 This test cycles through the detected video modes
114 STEPS:
115 1. Click "Test" to start cycling through the video modes
116 VERIFICATION:
117 Did the screen appear to be working for each mode?
118
119plugin: user-verify
120name: graphics/rotation
121depends: graphics/xorg-version
122command: rotation_test
123_description:
124 PURPOSE:
125 This test will test display rotation
126 STEPS:
127 1. Click "Test" to test display rotation. The display will be rotated every 4 seconds.
128 2. Check if all rotations (normal right inverted left) took place without permanent screen corruption
129 VERIFICATION:
130 Did the display rotation take place without without permanent screen corruption?
131
132plugin: shell
133name: graphics/compiz_check
134requires: package.name == 'nux-tools'
135command: set -o pipefail; /usr/lib/nux/unity_support_test -c -p | ansi_parser
136_description: Check that hardware is able to run compiz
137
138plugin: shell
139name: graphics/unity-support
140requires: package.name == 'nux-tools'
141command: set -o pipefail; /usr/lib/nux/unity_support_test -p | ansi_parser
142_description: Check that hardware is able to run Unity 3D
143
144plugin: user-verify
145name: graphics/glxgears
146requires: package.name == 'mesa-utils'
147command: glxgears; true
148_description:
149 PURPOSE:
150 This test tests the basic 3D capabilities of your video card
151 STEPS:
152 1. Click "Test" to execute an OpenGL demo. Press ESC at any time to close.
153 2. Verify that the animation is not jerky or slow.
154 VERIFICATION:
155 1. Did the 3d animation appear?
156 2. Was the animation free from slowness/jerkiness?
157
158plugin: shell
159name: graphics/3d_window_open_close
160requires: package.name == 'mesa-utils'
161command: window_test -t open-close -i 10
162_description: Open and close a 3D window multiple times
163
164plugin: shell
165name: graphics/3d_window_suspend_resume
166requires: package.name == 'mesa-utils'
167command: window_test -t suspend-resume -i 10
168_description: Open, suspend resume and close a 3D window multiple times
169
170plugin: shell
171name: graphics/multi_3d_windows_open_close
172requires: package.name == 'mesa-utils'
173command: window_test -t open-close-multi -i 10 -w 4
174_description: Open and close 4 3D windows multiple times
175
176plugin: shell
177name: graphics/3d_window_move
178requires: package.name == 'mesa-utils'
179command: window_test -t move
180_description: Move a 3D window around the screen
181
182plugin: shell
183name: graphics/screenshot
184requires: package.name == 'fswebcam'
185command: set -o pipefail; camera_test still --device=/dev/external_webcam -f ${CHECKBOX_DATA}/screenshot.jpg -q 2>&1 | ansi_parser
186_description:
187 PURPOSE:
188 Take a screengrab of the current screen (logged on Unity desktop)
189 STEPS:
190 1. Take picture using USB webcam
191 VERIFICATION:
192 Review attachment manually later
193
194plugin: attachment
195name: screenshot.jpg
196depends: graphics/screenshot
197command: base64 ${CHECKBOX_DATA}/screenshot.jpg
198_description: Attaches the screenshot captured in graphics/screenshot.
199
200plugin: shell
201name: graphics/screenshot_fullscreen_video
202requires: package.name == 'fswebcam'
203command:
204 dbus-launch gsettings set org.gnome.totem repeat true
205 totem --fullscreen ${CHECKBOX_SHARE}/data/video/Ogg_Theora_Video.ogv 2>/dev/null &
206 set -o pipefail
207 sleep 15 && camera_test still --device=/dev/external_webcam -f ${CHECKBOX_DATA}/screenshot_fullscreen_video.jpg -q 2>&1 | ansi_parser
208 sleep 5 && totem --quit 2>/dev/null
209 dbus-launch gsettings set org.gnome.totem repeat false
210_description:
211 PURPOSE:
212 Take a screengrab of the current screen during fullscreen video playback
213 STEPS:
214 1. Start a fullscreen video playback
215 2. Take picture using USB webcam after a few seconds
216 VERIFICATION:
217 Review attachment manually later
218
219plugin: attachment
220name: screenshot_fullscreen_video.jpg
221depends: graphics/screenshot_fullscreen_video
222command: base64 ${CHECKBOX_DATA}/screenshot_fullscreen_video.jpg
223_description: Attaches the screenshot captured in graphics/screenshot_fullscreen_video.
2240
=== removed file 'jobs/hibernate.txt.in'
--- jobs/hibernate.txt.in 2013-04-24 13:11:53 +0000
+++ jobs/hibernate.txt.in 1970-01-01 00:00:00 +0000
@@ -1,34 +0,0 @@
1plugin: manual
2name: power-management/hibernate_advanced
3depends: power-management/rtc
4environ: CHECKBOX_DATA
5user: root
6command:
7 if type -P fwts >/dev/null; then
8 echo "Calling fwts"
9 fwts_test -l $CHECKBOX_DATA/hibernate-single -f none -s s4 --s4-device-check --s4-device-check-delay=45 --s4-sleep-delay=120
10 else
11 echo "Calling sleep_test"
12 sleep_test -s disk -w 120
13 fi
14_description:
15 PURPOSE:
16 This test will check to make sure your system can successfully hibernate (if supported)
17 STEPS:
18 1. Click on Test
19 2. The system will hibernate and should wake itself within 5 minutes
20 3. If your system does not wake itself after 5 minutes, please press the power button to wake the system manually
21 4. If the system fails to resume from hibernate, please restart System Testing and mark this test as Failed
22 VERIFICATION:
23 Did the system successfully hibernate and did it work properly after waking up?
24
25plugin: shell
26name: power-management/hibernate-single-log-check
27command: [ -e $CHECKBOX_DATA/hibernate-single.log ] && sleep_test_log_check -v s4 $CHECKBOX_DATA/hibernate-single.log
28_description:
29 Automated check of the hibernate log for errors discovered by fwts
30
31plugin: attachment
32name: power-management/hibernate-single-log-attach
33command: [ -e $CHECKBOX_DATA/hibernate-single.log ] && cat $CHECKBOX_DATA/hibernate-single.log
34description: attaches log from single hibernate/resume test to results
350
=== removed file 'jobs/input.txt.in'
--- jobs/input.txt.in 2013-03-15 20:31:24 +0000
+++ jobs/input.txt.in 1970-01-01 00:00:00 +0000
@@ -1,67 +0,0 @@
1plugin: local
2name: input/pointing
3requires:
4 device.category == 'MOUSE' or device.category == 'TOUCH'
5_description: Pointing device tests.
6command:
7 cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=MOUSE" -w "category=TOUCH"'
8 plugin: manual
9 name: input/pointing_`basename $path`
10 requires: device.path == "$path"
11 description:
12 PURPOSE:
13 This will test your $product device
14 STEPS:
15 1. Move the cursor with your $product.
16 VERIFICATION:
17 Did the cursor move?
18 EOF
19
20plugin: manual
21name: input/mouse
22_description:
23 PURPOSE:
24 This test will test your pointing device
25 STEPS:
26 1. Move the cursor using the pointing device or touch the screen.
27 2. Perform some single/double/right click operations.
28 VERIFICATION:
29 Did the pointing device work as expected?
30
31plugin: manual
32name: input/keyboard
33command: keyboard_test
34requires: device.category == 'KEYBOARD'
35_description:
36 PURPOSE:
37 This test will test your keyboard
38 STEPS:
39 1. Click on Test
40 2. On the open text area, use your keyboard to type something
41 VERIFICATION:
42 Is your keyboard working properly?
43
44plugin: manual
45name: input/accelerometer_verify
46_description:
47 PURPOSE:
48 Manual detection of accelerometer.
49 STEPS:
50 1. Look at the specifications for your system.
51 VERIFICATION:
52 Is this system supposed to have an accelerometer?
53
54plugin: user-interact
55name: input/accelerometer
56user: root
57depends: input/accelerometer_verify
58command: accelerometer_test -m
59_description:
60 PURPOSE:
61 This test will test your accelerometer to see if it is detected
62 and operational as a joystiq device.
63 STEPS:
64 1. Click on Test
65 2. Tilt your hardware in the directions onscreen until the axis threshold is met.
66 VERIFICATION:
67 Is your accelerometer properly detected? Can you use the device?
680
=== removed file 'jobs/install.txt.in'
--- jobs/install.txt.in 2012-08-27 20:04:37 +0000
+++ jobs/install.txt.in 1970-01-01 00:00:00 +0000
@@ -1,19 +0,0 @@
1plugin: shell
2name: install/apt-get-gets-updates
3requires: package.name == 'apt'
4user: root
5command: apt-get -d -y --force-yes dist-upgrade
6_description:
7 Tests to see that apt can access repositories and get updates (does
8 not install updates). This is done to confirm that you could recover
9 from an incomplete or broken update.
10
11plugin: shell
12name: install/oem-config
13requires: package.name == 'oem-config-gtk' and package.name == 'python-xpresser'
14user: root
15environ: CHECKBOX_SHARE
16command: oem_config_test -u 'testaccount1' -p 'testaccount1' -d $CHECKBOX_SHARE/data/images/oem-config/
17_description:
18 Tests oem-config using Xpresser, and then checks that the user has been created successfully.
19 Cleans up the newly created user after the test has passed.
200
=== removed file 'jobs/keys.txt.in'
--- jobs/keys.txt.in 2013-04-19 13:40:29 +0000
+++ jobs/keys.txt.in 1970-01-01 00:00:00 +0000
@@ -1,145 +0,0 @@
1plugin: manual
2name: keys/brightness
3requires: dmi.product in ['Notebook','Laptop','Portable']
4_description:
5 PURPOSE:
6 This test will test the brightness key
7 STEPS:
8 1. Press the brightness buttons on the keyboard
9 VERIFICATION:
10 Did the brightness change following to your key presses?
11
12plugin: manual
13name: keys/volume
14requires:
15 device.category == 'KEYBOARD'
16user: root
17command: key_test -s '0xe02e,0xe0ae:Volume Down' '0xe030,0xe0b0:Volume Up'
18_description:
19 PURPOSE:
20 This test will test the volume keys of your keyboard
21 STEPS:
22 1. Click test to open a window on which to test the volume keys.
23 2. If all the keys work, the test will be marked as passed.
24 3. If your computer has no volume keys, Skip this test.
25 VERIFICATION:
26 Do the keys work as expected?
27
28plugin: manual
29name: keys/mute
30requires:
31 device.category == 'KEYBOARD'
32user: root
33command: key_test -s '0xe020,0xe0a0:Mute'
34_description:
35 PURPOSE:
36 This test will test the mute key of your keyboard
37 STEPS:
38 1. Click test to open a window on which to test the mute key.
39 2. If the key works, the test will pass and the window will close.
40 VERIFICATION:
41 Does the mute key work as expected?
42
43plugin: manual
44name: keys/sleep
45requires:
46 device.category == 'KEYBOARD'
47depends: suspend/suspend_advanced
48_description:
49 PURPOSE:
50 This test will test the sleep key
51 STEPS:
52 1. Press the sleep key on the keyboard
53 2. Wake your system up by pressing the power button
54 VERIFICATION:
55 Did the system go to sleep after pressing the sleep key?
56
57plugin: manual
58name: keys/battery-info
59requires: dmi.product in ['Notebook','Laptop','Portable']
60user: root
61command: key_test -s '0xe071,0xef1:Battery Info'
62_description:
63 PURPOSE:
64 This test will test the battery information key
65 STEPS:
66 If you do not have a Battery Button, skip this test
67 1. Click Test to begin
68 2. Press the Battery Info button (or combo like Fn+F3)
69 3: Close the Power Statistics tool if it opens
70 VERIFICATION:
71 Did the Battery Info key work as expected?
72
73plugin: manual
74name: keys/wireless
75requires: dmi.product in ['Notebook','Laptop','Portable']
76_description:
77 PURPOSE:
78 This test will test the wireless key
79 STEPS:
80 1. Press the wireless key on the keyboard
81 2. Check that the wifi LED turns off or changes color
82 3. Check that wireless is disabled
83 4. Press the same key again
84 5. Check that the wifi LED turns on or changes color
85 6. Check that wireless is enabled
86 VERIFICATION:
87 Did the wireless turn off on the first press and on again on the second?
88 (NOTE: the LED functionality will be reviewed in a following test. Please
89 only consider the functionality of the wifi itself here.)
90
91plugin: user-interact
92name: keys/media-control
93requires:
94 device.category == 'KEYBOARD'
95user: root
96command: key_test -s 0xe010,0xe090:Previous 0xe024,0xe0a4:Stop 0xe019,0xe099:Next 0xe022,0xe0a2:Play
97_description:
98 PURPOSE:
99 This test will test the media keys of your keyboard
100 STEPS:
101 1. Click test to open a window on which to test the media keys.
102 2. If all the keys work, the test will be marked as passed.
103 3. If your computer has no media keys, Skip this test.
104 VERIFICATION:
105 Do the keys work as expected?
106
107plugin: user-interact
108name: keys/super
109requires:
110 device.category == 'KEYBOARD'
111user: root
112command: key_test -s '0xe05b,0xe0db:Left Super Key'
113_description:
114 PURPOSE:
115 This test will test the super key of your keyboard
116 STEPS:
117 1. Click test to open a window on which to test the super key.
118 2. If the key works, the test will pass and the window will close.
119 VERIFICATION:
120 Does the super key work as expected?
121
122plugin: manual
123name: keys/video-out
124requires: dmi.product in ['Notebook','Laptop','Portable']
125_description:
126 PURPOSE:
127 Validate that the External Video hot key is working as expected
128 STEPS:
129 1. Plug in an external monitor
130 2. Press the display hot key to change the monitors configuration
131 VERIFICATION:
132 Check that the video signal can be mirrored, extended, displayed on external or onboard only.
133
134plugin: manual
135name: keys/touchpad
136requires: dmi.product in ['Notebook','Laptop','Portable']
137_description:
138 PURPOSE:
139 Verify touchpad hotkey toggles touchpad functionality on and off
140 STEPS:
141 1. Verify the touchpad is functional
142 2. Tap the touchpad toggle hotkey
143 3. Tap the touchpad toggle hotkey again
144 VERIFICATION:
145 Verify the touchpad has been disabled and re-enabled.
1460
=== removed file 'jobs/led.txt.in'
--- jobs/led.txt.in 2013-04-24 03:40:17 +0000
+++ jobs/led.txt.in 1970-01-01 00:00:00 +0000
@@ -1,197 +0,0 @@
1plugin: manual
2name: led/power
3_description:
4 PURPOSE:
5 Power LED verification
6 STEPS:
7 1. Power LED should be on while device is switched on
8 VERIFICATION:
9 Does the power LED light as expected?
10
11plugin: manual
12name: led/power-blink-suspend
13depends: suspend/suspend_advanced
14_description:
15 PURPOSE:
16 Power LED verification
17 STEPS:
18 1. The Power LED should blink or change color while the system is suspended
19 VERIFICATION:
20 Did the Power LED blink or change color while the system was suspended for the previous suspend test?
21
22plugin: manual
23name: led/suspend
24_description:
25 PURPOSE:
26 Suspend LED verification. If your system does not have a dedicated Suspend
27 LED, skip this test.
28 STEPS:
29 1. The Suspend LED should blink or change color while the system is
30 supended
31 VERIFICATION
32 Did the Suspend LED blink or change color while the system was suspended?
33
34plugin: manual
35name: led/battery-charging
36_description:
37 PURPOSE:
38 Validate that the battery light shows charging status
39 STEPS:
40 1. Let system run on battery for a while
41 2. Plug in AC plug
42 VERIFICATION:
43 Did the battery indicator LED turn orange?
44
45plugin: manual
46name: led/battery-charged
47_description:
48 PURPOSE:
49 Validate that the battery LED properly displays charged status
50 STEPS:
51 1. Let system run on battery for a short time
52 2. Plug in AC
53 3. Let system run on AC
54 VERIFICATION:
55 Does the orange battery LED shut off when system is fully charged?
56
57plugin: manual
58name: led/battery-low
59_description:
60 PURPOSE:
61 Validate that the battery LED indicated low power
62 STEPS:
63 1. Let system run on battery for several hours
64 2. Monitor battery LED carefully
65 VERIFICATION:
66 Does the LED light orange when battery is low?
67
68plugin: manual
69name: led/hdd
70command: led_hdd_test
71_description:
72 PURPOSE:
73 HDD LED verification
74 STEPS:
75 1. Select "Test" to write and read a temporary file for a few seconds
76 2. HDD LED should light when writing to/reading from HDD
77 VERIFICATION:
78 Did the HDD LED light?
79
80plugin: manual
81name: led/numeric-keypad
82command: keyboard_test
83_description:
84 PURPOSE:
85 Numeric keypad LED verification
86 STEPS:
87 1. Press "Block Num" key to toggle numeric keypad LED
88 2. Click on the "Test" button to open a window to verify your typing
89 3. Type using the numeric keypad both when the LED is on and off
90 VERIFICATION:
91 1. Numeric keypad LED status should toggle everytime the "Block Num" key is pressed
92 2. Numbers should only be entered in the keyboard verification window when the LED is on
93
94plugin: manual
95name: led/caps-lock
96_description:
97 PURPOSE:
98 Block cap keys LED verification
99 STEPS:
100 1. Press "Block Cap Keys" to activate/deactivate cap keys blocking
101 2. Cap Keys LED should be switched on/off every time the key is pressed
102 VERIFICATION:
103 Did the Cap Keys LED light as expected?
104
105plugin: manual
106name: led/wlan
107depends: keys/wireless
108_description:
109 PURPOSE:
110 WLAN LED verification
111 STEPS:
112 1. During the keys/wireless test you should have observed the
113 wireless LED while turning wireless back on.
114 2. WLAN LED should light or change color when wireless is turned on
115 VERIFICATION:
116 Did the WLAN LED turn on or change color as expected?
117
118plugin: manual
119name: led/wlan-disabled
120depends: keys/wireless
121_description:
122 PURPOSE:
123 Validate that WLAN LED shuts off when disabled
124 STEPS:
125 1. During the keys/wireless test you should have observed the WLAN LED
126 while performing that test after turning wireless off.
127 2. WLAN LED should turn off or change color when wireless is turned off
128 VERIFICATION:
129 Did the WLAN LED turn off or change color as expected?
130
131plugin: manual
132name: led/bluetooth
133depends: bluetooth/detect-output
134_description:
135 PURPOSE:
136 Validate that the Bluetooth LED turns on and off when BT is enabled/disabled
137 STEPS:
138 1. Switch bluetooth off from a hardware switch (if present)
139 2. Switch bluetooth back on
140 3. Switch bluetooth off from the panel applet
141 4. Switch bluetooth back on
142 VERIFICATION:
143 Did the bluetooth LED turn off and on twice?
144
145plugin: manual
146name: led/camera
147depends: camera/detect
148command: camera_test led
149_description:
150 PURPOSE:
151 Camera LED verification
152 STEPS:
153 1. Select Test to activate camera
154 2. Camera LED should light for a few seconds
155 VERIFICATION:
156 Did the camera LED light?
157
158plugin: manual
159name: led/touchpad
160_description:
161 PURPOSE:
162 Touchpad LED verification
163 STEPS:
164 1. Click on the touchpad button or press key combination to enable/disable touchpad button
165 2. Slide your finger on the touchpad
166 VERIFICATION:
167 1. Touchpad LED status should toggle everytime the button is clicked or the key combination is pressed
168 2. When the LED is on, the mouse pointer should move on touchpad usage
169 3. When the LED is off, the mouse pointer should not move on touchpad usage
170
171plugin: manual
172name: led/wireless
173_description:
174 PURPOSE:
175 Wireless (WLAN + Bluetooth) LED verification
176 STEPS:
177 1. Make sure WLAN connection is established and Bluetooth is enabled.
178 2. WLAN/Bluetooth LED should light
179 3. Switch WLAN and Bluetooth off from a hardware switch (if present)
180 4. Switch them back on
181 5. Switch WLAN and Bluetooth off from the panel applet
182 6. Switch them back on
183 VERIFICATION:
184 Did the WLAN/Bluetooth LED light as expected?
185
186plugin: manual
187name: led/mute
188depends: keys/mute
189_description:
190 PURPOSE:
191 Audio Mute LED verification. Skip this test if your system does not have
192 a special Audio Mute LED
193 STEPS:
194 1. Press the Mute key twice and observe the Audio LED to determine if it
195 either turned off and on or changed colors.
196 VERIFICATION:
197 Did the Audio LED turn on and off change color as expected?
1980
=== modified file 'jobs/local.txt.in'
--- jobs/local.txt.in 2013-08-06 16:40:36 +0000
+++ jobs/local.txt.in 2013-08-19 20:47:35 +0000
@@ -1,10 +1,3 @@
1name: __audio__
2plugin: local
3_description: Audio tests
4command:
5 shopt -s extglob
6 cat $CHECKBOX_SHARE/jobs/audio.txt?(.in)
7
8name: __benchmarks__1name: __benchmarks__
9plugin: local2plugin: local
10_description: Benchmarks tests3_description: Benchmarks tests
@@ -12,27 +5,6 @@
12 shopt -s extglob5 shopt -s extglob
13 cat $CHECKBOX_SHARE/jobs/benchmarks.txt?(.in)6 cat $CHECKBOX_SHARE/jobs/benchmarks.txt?(.in)
147
15name: __bluetooth__
16plugin: local
17_description: Bluetooth tests
18command:
19 shopt -s extglob
20 cat $CHECKBOX_SHARE/jobs/bluetooth.txt?(.in)
21
22name: __camera__
23plugin: local
24_description: Camera tests
25command:
26 shopt -s extglob
27 cat $CHECKBOX_SHARE/jobs/camera.txt?(.in)
28
29name: __codecs__
30plugin: local
31_description: Codec tests
32command:
33 shopt -s extglob
34 cat $CHECKBOX_SHARE/jobs/codecs.txt?(.in)
35
36name: __cpu__8name: __cpu__
37plugin: local9plugin: local
38_description: CPU tests10_description: CPU tests
@@ -40,13 +12,6 @@
40 shopt -s extglob12 shopt -s extglob
41 cat $CHECKBOX_SHARE/jobs/cpu.txt?(.in)13 cat $CHECKBOX_SHARE/jobs/cpu.txt?(.in)
4214
43name: __daemons__
44plugin: local
45_description: System Daemon tests
46command:
47 shopt -s extglob
48 cat $CHECKBOX_SHARE/jobs/daemons.txt?(.in)
49
50name: __disk__15name: __disk__
51plugin: local16plugin: local
52_description: Disk tests17_description: Disk tests
@@ -61,48 +26,6 @@
61 shopt -s extglob26 shopt -s extglob
62 cat $CHECKBOX_SHARE/jobs/dcmi_in_band.txt?(.in)27 cat $CHECKBOX_SHARE/jobs/dcmi_in_band.txt?(.in)
6328
64name: __esata__
65plugin: local
66_description: eSATA disk tests
67command:
68 shopt -s extglob
69 cat $CHECKBOX_SHARE/jobs/esata.txt?(.in)
70
71name: __fingerprint__
72plugin: local
73_description: Fingerprint reader tests
74command:
75 shopt -s extglob
76 cat $CHECKBOX_SHARE/jobs/fingerprint.txt?(.in)
77
78name: __firewire__
79plugin: local
80_description: Firewire disk tests
81command:
82 shopt -s extglob
83 cat $CHECKBOX_SHARE/jobs/firewire.txt?(.in)
84
85name: __floppy__
86plugin: local
87_description: Floppy disk tests
88command:
89 shopt -s extglob
90 cat $CHECKBOX_SHARE/jobs/floppy.txt?(.in)
91
92name: __graphics__
93plugin: local
94_description: Graphics tests
95command:
96 shopt -s extglob
97 cat $CHECKBOX_SHARE/jobs/graphics.txt?(.in)
98
99name: __hibernate__
100plugin: local
101_description: Hibernation tests
102command:
103 shopt -s extglob
104 cat $CHECKBOX_SHARE/jobs/hibernate.txt?(.in)
105
106name: __info__29name: __info__
107plugin: local30plugin: local
108_description: Informational tests31_description: Informational tests
@@ -110,20 +33,6 @@
110 shopt -s extglob33 shopt -s extglob
111 cat $CHECKBOX_SHARE/jobs/info.txt?(.in)34 cat $CHECKBOX_SHARE/jobs/info.txt?(.in)
11235
113name: __input__
114plugin: local
115_description: Input Devices tests
116command:
117 shopt -s extglob
118 cat $CHECKBOX_SHARE/jobs/input.txt?(.in)
119
120name: __install__
121plugin: local
122_description: Software Installation tests
123command:
124 shopt -s extglob
125 cat $CHECKBOX_SHARE/jobs/install.txt?(.in)
126
127name: __ipmi_out_of_band__36name: __ipmi_out_of_band__
128plugin: local37plugin: local
129_description: IPMI out of band tests38_description: IPMI out of band tests
@@ -131,27 +40,6 @@
131 shopt -s extglob40 shopt -s extglob
132 cat $CHECKBOX_SHARE/jobs/ipmi_out_of_band.txt?(.in)41 cat $CHECKBOX_SHARE/jobs/ipmi_out_of_band.txt?(.in)
13342
134name: __keys__
135plugin: local
136_description: Hotkey tests
137command:
138 shopt -s extglob
139 cat $CHECKBOX_SHARE/jobs/keys.txt?(.in)
140
141name: __led__
142plugin: local
143_description: LED tests
144command:
145 shopt -s extglob
146 cat $CHECKBOX_SHARE/jobs/led.txt?(.in)
147
148name: __mediacard__
149plugin: local
150_description: Media Card tests
151command:
152 shopt -s extglob
153 cat $CHECKBOX_SHARE/jobs/mediacard.txt?(.in)
154
155name: __memory__43name: __memory__
156plugin: local44plugin: local
157_description: Memory tests45_description: Memory tests
@@ -159,13 +47,6 @@
159 shopt -s extglob47 shopt -s extglob
160 cat $CHECKBOX_SHARE/jobs/memory.txt?(.in)48 cat $CHECKBOX_SHARE/jobs/memory.txt?(.in)
16149
162name: __rendercheck__
163plugin: local
164_description: Rendercheck tests
165command:
166 shopt -s extglob
167 cat $CHECKBOX_SHARE/jobs/rendercheck.txt?(.in)
168
169name: __miscellanea__50name: __miscellanea__
170plugin: local51plugin: local
171_description: Miscellaneous tests52_description: Miscellaneous tests
@@ -173,13 +54,6 @@
173 shopt -s extglob54 shopt -s extglob
174 cat $CHECKBOX_SHARE/jobs/miscellanea.txt?(.in)55 cat $CHECKBOX_SHARE/jobs/miscellanea.txt?(.in)
17556
176name: __monitor__
177plugin: local
178_description: Monitor tests
179command:
180 shopt -s extglob
181 cat $CHECKBOX_SHARE/jobs/monitor.txt?(.in)
182
183name: __networking__57name: __networking__
184plugin: local58plugin: local
185_description: Networking tests59_description: Networking tests
@@ -194,41 +68,6 @@
194 shopt -s extglob68 shopt -s extglob
195 cat $CHECKBOX_SHARE/jobs/optical.txt?(.in)69 cat $CHECKBOX_SHARE/jobs/optical.txt?(.in)
19670
197name: __panel_clock__
198plugin: local
199_description: Panel Clock Verification tests
200command:
201 shopt -s extglob
202 cat $CHECKBOX_SHARE/jobs/panel_clock_test.txt?(.in)
203
204name: __panel_reboot__
205plugin: local
206_description: Panel Reboot Verification tests
207command:
208 shopt -s extglob
209 cat $CHECKBOX_SHARE/jobs/panel_reboot.txt?(.in)
210
211name: __expresscard__
212plugin: local
213_description: ExpressCard tests
214command:
215 shopt -s extglob
216 cat $CHECKBOX_SHARE/jobs/expresscard.txt?(.in)
217
218name: __peripheral__
219plugin: local
220_description: Peripheral tests
221command:
222 shopt -s extglob
223 cat $CHECKBOX_SHARE/jobs/peripheral.txt?(.in)
224
225name: __piglit__
226plugin: local
227_description: Piglit tests
228command:
229 shopt -s extglob
230 cat $CHECKBOX_SHARE/jobs/piglit.txt?(.in)
231
232name: __power-management__71name: __power-management__
233plugin: local72plugin: local
234_description: Power Management tests73_description: Power Management tests
@@ -236,34 +75,6 @@
236 shopt -s extglob75 shopt -s extglob
237 cat $CHECKBOX_SHARE/jobs/power-management.txt?(.in)76 cat $CHECKBOX_SHARE/jobs/power-management.txt?(.in)
23877
239name: __server-services__
240plugin: local
241_description: Server Services checks
242command:
243 shopt -s extglob
244 cat $CHECKBOX_SHARE/jobs/server-services.txt?(.in)
245
246name: __suspend__
247plugin: local
248_description: Suspend tests
249command:
250 shopt -s extglob
251 cat $CHECKBOX_SHARE/jobs/suspend.txt?(.in)
252
253name: __touchpad__
254plugin: local
255_description: Touchpad tests
256command:
257 shopt -s extglob
258 cat $CHECKBOX_SHARE/jobs/touchpad.txt?(.in)
259
260name: __touchscreen__
261plugin: local
262_description: Touchscreen tests
263command:
264 shopt -s extglob
265 cat $CHECKBOX_SHARE/jobs/touchscreen.txt?(.in)
266
267name: __usb__78name: __usb__
268plugin: local79plugin: local
269_description: USB tests80_description: USB tests
@@ -271,13 +82,6 @@
271 shopt -s extglob82 shopt -s extglob
272 cat $CHECKBOX_SHARE/jobs/usb.txt?(.in)83 cat $CHECKBOX_SHARE/jobs/usb.txt?(.in)
27384
274name: __user_apps__
275plugin: local
276_description: User Applications
277command:
278 shopt -s extglob
279 cat $CHECKBOX_SHARE/jobs/user_apps.txt?(.in)
280
281name: __virtualization__85name: __virtualization__
282plugin: local86plugin: local
283_description: Virtualization tests87_description: Virtualization tests
@@ -285,20 +89,6 @@
285 shopt -s extglob89 shopt -s extglob
286 cat $CHECKBOX_SHARE/jobs/virtualization.txt?(.in)90 cat $CHECKBOX_SHARE/jobs/virtualization.txt?(.in)
28791
288name: __wireless__
289plugin: local
290_description: Wireless networking tests
291command:
292 shopt -s extglob
293 cat $CHECKBOX_SHARE/jobs/wireless.txt?(.in)
294
295name: __mobilebroadband__
296plugin: local
297_description: Mobile broadband tests
298command:
299 shopt -s extglob
300 cat $CHECKBOX_SHARE/jobs/mobilebroadband.txt?(.in)
301
302name: __stress__92name: __stress__
303plugin: local93plugin: local
304_description: Stress tests94_description: Stress tests
30595
=== removed file 'jobs/mediacard.txt.in'
--- jobs/mediacard.txt.in 2013-05-06 21:44:33 +0000
+++ jobs/mediacard.txt.in 1970-01-01 00:00:00 +0000
@@ -1,662 +0,0 @@
1plugin: user-interact
2name: mediacard/mmc-insert
3command: removable_storage_watcher --memorycard insert sdio usb scsi
4_description:
5 PURPOSE:
6 This test will check that the systems media card reader can
7 detect the insertion of a Multimedia Card (MMC) media
8 STEPS:
9 1. Click "Test" and insert an MMC card into the reader.
10 If a file browser opens up, you can safely close it.
11 (Note: this test will time-out after 20 seconds.)
12 2. Do not remove the device after this test.
13 VERIFICATION:
14 The verification of this test is automated. Do not change the
15 automatically selected result.
16
17plugin: shell
18name: mediacard/mmc-storage
19depends: mediacard/mmc-insert
20user: root
21command: removable_storage_test -s 67120000 --memorycard sdio usb scsi
22_description:
23 This test is automated and executes after the mediacard/mmc-insert
24 test is run. It tests reading and writing to the MMC card.
25
26plugin: user-interact
27name: mediacard/mmc-remove
28depends: mediacard/mmc-insert
29command: removable_storage_watcher --memorycard remove sdio usb scsi
30_description:
31 PURPOSE:
32 This test will check that the system correctly detects
33 the removal of the MMC card from the systems card reader.
34 STEPS:
35 1. Click "Test" and remove the MMC card from the reader.
36 (Note: this test will time-out after 20 seconds.)
37 VERIFICATION:
38 The verification of this test is automated. Do not change the
39 automatically selected result.
40
41plugin: user-interact
42name: mediacard/mmc-insert-after-suspend
43depends: suspend/suspend_advanced
44command: removable_storage_watcher --memorycard insert sdio usb scsi
45_description:
46 PURPOSE:
47 This test will check that the systems media card reader can
48 detect the insertion of an MMC card after the system has been suspended
49 STEPS:
50 1. Click "Test" and insert an MMC card into the reader.
51 If a file browser opens up, you can safely close it.
52 (Note: this test will time-out after 20 seconds.)
53 2. Do not remove the device after this test.
54 VERIFICATION:
55 The verification of this test is automated. Do not change the
56 automatically selected result.
57
58plugin: shell
59name: mediacard/mmc-storage-after-suspend
60depends: mediacard/mmc-insert-after-suspend
61user: root
62command: removable_storage_test -s 67120000 --memorycard sdio usb scsi
63_description:
64 This test is automated and executes after the mediacard/mmc-insert-after-suspend test
65 is run. It tests reading and writing to the MMC card after the system has been suspended.
66
67plugin: user-interact
68name: mediacard/mmc-remove-after-suspend
69depends: mediacard/mmc-insert-after-suspend
70command: removable_storage_watcher --memorycard remove sdio usb scsi
71_description:
72 PURPOSE:
73 This test will check that the system correctly detects the removal
74 of an MMC card from the systems card reader after the system has been suspended.
75 STEPS:
76 1. Click "Test" and remove the MMC card from the reader.
77 (Note: this test will time-out after 20 seconds.)
78 VERIFICATION:
79 The verification of this test is automated. Do not change the
80 automatically selected result.
81
82plugin: user-interact
83name: mediacard/sd-insert
84command: removable_storage_watcher --memorycard insert sdio usb scsi
85_description:
86 PURPOSE:
87 This test will check that the systems media card reader can
88 detect the insertion of an UNLOCKED Secure Digital (SD) media card
89 STEPS:
90 1. Click "Test" and insert an UNLOCKED SD card into the reader.
91 If a file browser opens up, you can safely close it.
92 (Note: this test will time-out after 20 seconds.)
93 2. Do not remove the device after this test.
94 VERIFICATION:
95 The verification of this test is automated. Do not change the
96 automatically selected result.
97
98plugin: shell
99name: mediacard/sd-storage
100depends: mediacard/sd-insert
101user: root
102command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
103_description:
104 This test is automated and executes after the mediacard/sd-insert
105 test is run. It tests reading and writing to the SD card.
106
107plugin: user-interact
108name: mediacard/sd-remove
109depends: mediacard/sd-insert
110command: removable_storage_watcher --memorycard remove sdio usb scsi
111_description:
112 PURPOSE:
113 This test will check that the system correctly detects
114 the removal of an SD card from the systems card reader.
115 STEPS:
116 1. Click "Test" and remove the SD card from the reader.
117 (Note: this test will time-out after 20 seconds.)
118 VERIFICATION:
119 The verification of this test is automated. Do not change the
120 automatically selected result.
121
122plugin: user-interact
123name: mediacard/sd-insert-after-suspend
124depends: suspend/suspend_advanced
125command: removable_storage_watcher --memorycard insert sdio usb scsi
126_description:
127 PURPOSE:
128 This test will check that the systems media card reader can
129 detect the insertion of an UNLOCKED SD card after the system
130 has been suspended
131 STEPS:
132 1. Click "Test" and insert an UNLOCKED SD card into the reader.
133 If a file browser opens up, you can safely close it.
134 (Note: this test will time-out after 20 seconds.)
135 2. Do not remove the device after this test.
136 VERIFICATION:
137 The verification of this test is automated. Do not change the
138 automatically selected result.
139
140plugin: shell
141name: mediacard/sd-storage-after-suspend
142depends: mediacard/sd-insert-after-suspend
143user: root
144command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
145_description:
146 This test is automated and executes after the mediacard/sd-insert-after-suspend test
147 is run. It tests reading and writing to the SD card after the system has been suspended.
148
149plugin: user-interact
150name: mediacard/sd-remove-after-suspend
151depends: mediacard/sd-insert-after-suspend
152command: removable_storage_watcher --memorycard remove sdio usb scsi
153_description:
154 PURPOSE:
155 This test will check that the system correctly detects
156 the removal of an SD card from the systems card reader
157 after the system has been suspended.
158 STEPS:
159 1. Click "Test" and remove the SD card from the reader.
160 (Note: this test will time-out after 20 seconds.)
161 VERIFICATION:
162 The verification of this test is automated. Do not change the
163 automatically selected result.
164
165plugin: shell
166name: mediacard/sd-preinserted
167user: root
168requires: device.category == 'CARDREADER'
169command: removable_storage_test -s 268400000 --memorycard -l sdio usb scsi && removable_storage_test --memorycard sdio usb scsi
170_description:
171 This is a fully automated version of mediacard/sd-automated and assumes that the
172 system under test has a memory card device plugged in prior to checkbox execution.
173 It is intended for SRU automated testing.
174
175plugin: user-interact
176name: mediacard/sdhc-insert
177command: removable_storage_watcher --memorycard insert sdio usb scsi
178_description:
179 PURPOSE:
180 This test will check that the systems media card reader can
181 detect the insertion of a UNLOCKED Secure Digital High-Capacity
182 (SDHC) media card
183 STEPS:
184 1. Click "Test" and insert an UNLOCKED SDHC card into the reader.
185 If a file browser opens up, you can safely close it.
186 (Note: this test will time-out after 20 seconds.)
187 2. Do not remove the device after this test.
188 VERIFICATION:
189 The verification of this test is automated. Do not change the
190 automatically selected result.
191
192plugin: shell
193name: mediacard/sdhc-storage
194depends: mediacard/sdhc-insert
195user: root
196command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
197_description:
198 This test is automated and executes after the mediacard/sdhc-insert
199 test is run. It tests reading and writing to the SDHC card.
200
201plugin: user-interact
202name: mediacard/sdhc-remove
203depends: mediacard/sdhc-insert
204command: removable_storage_watcher --memorycard remove sdio usb scsi
205_description:
206 PURPOSE:
207 This test will check that the system correctly detects
208 the removal of an SDHC card from the systems card reader.
209 STEPS:
210 1. Click "Test" and remove the SDHC card from the reader.
211 (Note: this test will time-out after 20 seconds.)
212 VERIFICATION:
213 The verification of this test is automated. Do not change the
214 automatically selected result.
215
216plugin: user-interact
217name: mediacard/sdhc-insert-after-suspend
218depends: suspend/suspend_advanced
219command: removable_storage_watcher --memorycard insert sdio usb scsi
220_description:
221 PURPOSE:
222 This test will check that the systems media card reader can
223 detect the insertion of an UNLOCKED SDHC media card after the
224 system has been suspended
225 STEPS:
226 1. Click "Test" and insert an UNLOCKED SDHC card into the reader.
227 If a file browser opens up, you can safely close it.
228 (Note: this test will time-out after 20 seconds.)
229 2. Do not remove the device after this test.
230 VERIFICATION:
231 The verification of this test is automated. Do not change the
232 automatically selected result.
233
234plugin: shell
235name: mediacard/sdhc-storage-after-suspend
236depends: mediacard/sdhc-insert-after-suspend
237user: root
238command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
239_description:
240 This test is automated and executes after the mediacard/sdhc-insert-after-suspend test
241 is run. It tests reading and writing to the SDHC card after the system has been suspended.
242
243plugin: user-interact
244name: mediacard/sdhc-remove-after-suspend
245depends: mediacard/sdhc-insert-after-suspend
246command: removable_storage_watcher --memorycard remove sdio usb scsi
247_description:
248 PURPOSE:
249 This test will check that the system correctly detects the removal
250 of an SDHC card from the systems card reader after the system has been suspended.
251 STEPS:
252 1. Click "Test" and remove the SDHC card from the reader.
253 (Note: this test will time-out after 20 seconds.)
254 VERIFICATION:
255 The verification of this test is automated. Do not change the
256 automatically selected result.
257
258plugin: user-interact
259name: mediacard/cf-insert
260command: removable_storage_watcher --memorycard insert sdio usb scsi
261_description:
262 PURPOSE:
263 This test will check that the systems media card reader can
264 detect the insertion of a Compact Flash (CF) media card
265 STEPS:
266 1. Click "Test" and insert a CF card into the reader.
267 If a file browser opens up, you can safely close it.
268 (Note: this test will time-out after 20 seconds.)
269 2. Do not remove the device after this test.
270 VERIFICATION:
271 The verification of this test is automated. Do not change the
272 automatically selected result.
273
274plugin: shell
275name: mediacard/cf-storage
276depends: mediacard/cf-insert
277user: root
278command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
279_description:
280 This test is automated and executes after the mediacard/cf-insert
281 test is run. It tests reading and writing to the CF card.
282
283plugin: user-interact
284name: mediacard/cf-remove
285depends: mediacard/cf-storage
286command: removable_storage_watcher --memorycard remove sdio usb scsi
287_description:
288 PURPOSE:
289 This test will check that the system correctly detects
290 the removal of a CF card from the systems card reader.
291 STEPS:
292 1. Click "Test" and remove the CF card from the reader.
293 (Note: this test will time-out after 20 seconds.)
294 VERIFICATION:
295 The verification of this test is automated. Do not change the
296 automatically selected result.
297
298plugin: user-interact
299name: mediacard/cf-insert-after-suspend
300depends: suspend/suspend_advanced
301command: removable_storage_watcher --memorycard insert sdio usb scsi
302_description:
303 PURPOSE:
304 This test will check that the systems media card reader can
305 detect the insertion of a CF card after the system has been suspended
306 STEPS:
307 1. Click "Test" and insert a CF card into the reader.
308 If a file browser opens up, you can safely close it.
309 (Note: this test will time-out after 20 seconds.)
310 2. Do not remove the device after this test.
311 VERIFICATION:
312 The verification of this test is automated. Do not change the
313 automatically selected result.
314
315plugin: shell
316name: mediacard/cf-storage-after-suspend
317depends: mediacard/cf-insert-after-suspend
318user: root
319command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
320_description:
321 This test is automated and executes after the mediacard/cf-insert-after-suspend test
322 is run. It tests reading and writing to the CF card after the system has been suspended.
323
324plugin: user-interact
325name: mediacard/cf-remove-after-suspend
326depends: mediacard/cf-insert-after-suspend
327command: removable_storage_watcher --memorycard remove sdio usb scsi
328_description:
329 PURPOSE:
330 This test will check that the system correctly detects the removal
331 of a CF card from the systems card reader after the system has been suspended.
332 STEPS:
333 1. Click "Test" and remove the CF card from the reader.
334 (Note: this test will time-out after 20 seconds.)
335 VERIFICATION:
336 The verification of this test is automated. Do not change the
337 automatically selected result.
338
339plugin: user-interact
340name: mediacard/sdxc-insert
341command: removable_storage_watcher --memorycard insert sdio usb scsi
342_description:
343 PURPOSE:
344 This test will check that the systems media card reader can
345 detect the insertion of a Secure Digital Extended Capacity (SDXC) media card
346 STEPS:
347 1. Click "Test" and insert a SDXC card into the reader.
348 If a file browser opens up, you can safely close it.
349 (Note: this test will time-out after 20 seconds.)
350 2. Do not remove the device after this test.
351 VERIFICATION:
352 The verification of this test is automated. Do not change the
353 automatically selected result.
354
355plugin: shell
356name: mediacard/sdxc-storage
357depends: mediacard/sdxc-insert
358user: root
359command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
360_description:
361 This test is automated and executes after the mediacard/sdxc-insert
362 test is run. It tests reading and writing to the SDXC card.
363
364plugin: user-interact
365name: mediacard/sdxc-remove
366depends: mediacard/sdxc-insert
367command: removable_storage_watcher --memorycard remove sdio usb scsi
368_description:
369 PURPOSE:
370 This test will check that the system correctly detects
371 the removal of a SDXC card from the systems card reader.
372 STEPS:
373 1. Click "Test" and remove the SDXC card from the reader.
374 (Note: this test will time-out after 20 seconds.)
375 VERIFICATION:
376 The verification of this test is automated. Do not change the
377 automatically selected result.
378
379plugin: user-interact
380name: mediacard/sdxc-insert-after-suspend
381depends: suspend/suspend_advanced
382command: removable_storage_watcher --memorycard insert sdio usb scsi
383_description:
384 PURPOSE:
385 This test will check that the systems media card reader can
386 detect the insertion of a SDXC card after the system has been suspended
387 STEPS:
388 1. Click "Test" and insert a SDXC card into the reader.
389 If a file browser opens up, you can safely close it.
390 (Note: this test will time-out after 20 seconds.)
391 2. Do not remove the device after this test.
392 VERIFICATION:
393 The verification of this test is automated. Do not change the
394 automatically selected result.
395
396plugin: shell
397name: mediacard/sdxc-storage-after-suspend
398depends: mediacard/sdxc-insert-after-suspend
399user: root
400command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
401_description:
402 This test is automated and executes after the mediacard/sdxc-insert-after-suspend test
403 is run. It tests reading and writing to the SDXC card after the system has been suspended.
404
405plugin: user-interact
406name: mediacard/sdxc-remove-after-suspend
407depends: mediacard/sdxc-insert-after-suspend
408command: removable_storage_watcher --memorycard remove sdio usb scsi
409_description:
410 PURPOSE:
411 This test will check that the system correctly detects the removal
412 of a SDXC card from the systems card reader after the system has been suspended.
413 STEPS:
414 1. Click "Test" and remove the SDXC card from the reader.
415 If a file browser opens up, you can safely close it.
416 (Note: this test will time-out after 20 seconds.)
417 VERIFICATION:
418 The verification of this test is automated. Do not change the
419 automatically selected result.
420
421plugin: user-interact
422name: mediacard/ms-insert
423command: removable_storage_watcher --memorycard insert sdio usb scsi
424_description:
425 PURPOSE:
426 This test will check that the systems media card reader can
427 detect the insertion of a Memory Stick (MS) media card
428 STEPS:
429 1. Click "Test" and insert a MS card into the reader.
430 If a file browser opens up, you can safely close it.
431 (Note: this test will time-out after 20 seconds.)
432 2. Do not remove the device after this test.
433 VERIFICATION:
434 The verification of this test is automated. Do not change the
435 automatically selected result.
436
437plugin: shell
438name: mediacard/ms-storage
439depends: mediacard/ms-insert
440user: root
441command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
442_description:
443 This test is automated and executes after the mediacard/ms-insert
444 test is run. It tests reading and writing to the MS card.
445
446plugin: user-interact
447name: mediacard/ms-remove
448depends: mediacard/ms-insert
449command: removable_storage_watcher --memorycard remove sdio usb scsi
450_description:
451 PURPOSE:
452 This test will check that the system correctly detects
453 the removal of a MS card from the systems card reader.
454 STEPS:
455 1. Click "Test" and remove the MS card from the reader.
456 (Note: this test will time-out after 20 seconds.)
457 VERIFICATION:
458 The verification of this test is automated. Do not change the
459 automatically selected result.
460
461plugin: user-interact
462name: mediacard/ms-insert-after-suspend
463depends: suspend/suspend_advanced
464command: removable_storage_watcher --memorycard insert sdio usb scsi
465_description:
466 PURPOSE:
467 This test will check that the systems media card reader can
468 detect the insertion of a MS card after the system has been suspended
469 STEPS:
470 1. Click "Test" and insert a MS card into the reader.
471 If a file browser opens up, you can safely close it.
472 (Note: this test will time-out after 20 seconds.)
473 2. Do not remove the device after this test.
474 VERIFICATION:
475 The verification of this test is automated. Do not change the
476 automatically selected result.
477
478plugin: shell
479name: mediacard/ms-storage-after-suspend
480depends: mediacard/ms-insert-after-suspend
481user: root
482command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
483_description:
484 This test is automated and executes after the mediacard/ms-insert-after-suspend test
485 is run. It tests reading and writing to the MS card after the system has been suspended.
486
487plugin: user-interact
488name: mediacard/ms-remove-after-suspend
489depends: mediacard/ms-insert-after-suspend
490command: removable_storage_watcher --memorycard remove sdio usb scsi
491_description:
492 PURPOSE:
493 This test will check that the system correctly detects the removal
494 of a MS card from the systems card reader after the system has been suspended.
495 STEPS:
496 1. Click "Test" and remove the MS card from the reader.
497 (Note: this test will time-out after 20 seconds.)
498 VERIFICATION:
499 The verification of this test is automated. Do not change the
500 automatically selected result.
501
502plugin: user-interact
503name: mediacard/msp-insert
504command: removable_storage_watcher --memorycard insert sdio usb scsi
505_description:
506 PURPOSE:
507 This test will check that the systems media card reader can
508 detect the insertion of a Memory Stick Pro (MSP) media card
509 STEPS:
510 1. Click "Test" and insert a MSP card into the reader.
511 If a file browser opens up, you can safely close it.
512 (Note: this test will time-out after 20 seconds.)
513 2. Do not remove the device after this test.
514 VERIFICATION:
515 The verification of this test is automated. Do not change the
516 automatically selected result.
517
518plugin: shell
519name: mediacard/msp-storage
520depends: mediacard/msp-insert
521user: root
522command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
523_description:
524 This test is automated and executes after the mediacard/msp-insert
525 test is run. It tests reading and writing to the MSP card.
526
527plugin: user-interact
528name: mediacard/msp-remove
529depends: mediacard/msp-insert
530command: removable_storage_watcher --memorycard remove sdio usb scsi
531_description:
532 PURPOSE:
533 This test will check that the system correctly detects
534 the removal of a MSP card from the systems card reader.
535 STEPS:
536 1. Click "Test" and remove the MSP card from the reader.
537 (Note: this test will time-out after 20 seconds.)
538 VERIFICATION:
539 The verification of this test is automated. Do not change the
540 automatically selected result.
541
542plugin: user-interact
543name: mediacard/msp-insert-after-suspend
544depends: suspend/suspend_advanced
545command: removable_storage_watcher --memorycard insert sdio usb scsi
546_description:
547 PURPOSE:
548 This test will check that the systems media card reader can
549 detect the insertion of a MSP card after the system has been suspended
550 STEPS:
551 1. Click "Test" and insert a MSP card into the reader.
552 If a file browser opens up, you can safely close it.
553 (Note: this test will time-out after 20 seconds.)
554 2. Do not remove the device after this test.
555 VERIFICATION:
556 The verification of this test is automated. Do not change the
557 automatically selected result.
558
559plugin: shell
560name: mediacard/msp-storage-after-suspend
561depends: mediacard/msp-insert-after-suspend
562user: root
563command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
564_description:
565 This test is automated and executes after the mediacard/msp-insert-after-suspend test
566 is run. It tests reading and writing to the MSP card after the system has been suspended.
567
568plugin: user-interact
569name: mediacard/msp-remove-after-suspend
570depends: mediacard/msp-insert-after-suspend
571command: removable_storage_watcher --memorycard remove sdio usb scsi
572_description:
573 PURPOSE:
574 This test will check that the system correctly detects the removal
575 of a MSP card from the systems card reader after the system has been suspended.
576 STEPS:
577 1. Click "Test" and remove the MSP card from the reader.
578 (Note: this test will time-out after 20 seconds.)
579 VERIFICATION:
580 The verification of this test is automated. Do not change the
581 automatically selected result.
582
583plugin: user-interact
584name: mediacard/xd-insert
585command: removable_storage_watcher --memorycard insert sdio usb scsi
586_description:
587 PURPOSE:
588 This test will check that the systems media card reader can
589 detect the insertion of a Extreme Digital (xD) media card
590 STEPS:
591 1. Click "Test" and insert a xD card into the reader.
592 If a file browser opens up, you can safely close it.
593 (Note: this test will time-out after 20 seconds.)
594 2. Do not remove the device after this test.
595 VERIFICATION:
596 The verification of this test is automated. Do not change the
597 automatically selected result.
598
599plugin: shell
600name: mediacard/xd-storage
601depends: mediacard/xd-insert
602user: root
603command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
604_description:
605 This test is automated and executes after the mediacard/xd-insert
606 test is run. It tests reading and writing to the xD card.
607
608plugin: user-interact
609name: mediacard/xd-remove
610depends: mediacard/xd-insert
611command: removable_storage_watcher --memorycard remove sdio usb scsi
612_description:
613 PURPOSE:
614 This test will check that the system correctly detects
615 the removal of a xD card from the systems card reader.
616 STEPS:
617 1. Click "Test" and remove the xD card from the reader.
618 (Note: this test will time-out after 20 seconds.)
619 VERIFICATION:
620 The verification of this test is automated. Do not change the
621 automatically selected result.
622
623plugin: user-interact
624name: mediacard/xd-insert-after-suspend
625depends: suspend/suspend_advanced
626command: removable_storage_watcher --memorycard insert sdio usb scsi
627_description:
628 PURPOSE:
629 This test will check that the systems media card reader can
630 detect the insertion of a xD card after the system has been suspended
631 STEPS:
632 1. Click "Test" and insert a xD card into the reader.
633 If a file browser opens up, you can safely close it.
634 (Note: this test will time-out after 20 seconds.)
635 2. Do not remove the device after this test.
636 VERIFICATION:
637 The verification of this test is automated. Do not change the
638 automatically selected result.
639
640plugin: shell
641name: mediacard/xd-storage-after-suspend
642depends: mediacard/xd-insert-after-suspend
643user: root
644command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
645_description:
646 This test is automated and executes after the mediacard/xd-insert-after-suspend test
647 is run. It tests reading and writing to the xD card after the system has been suspended.
648
649plugin: user-interact
650name: mediacard/xd-remove-after-suspend
651depends: mediacard/xd-insert-after-suspend
652command: removable_storage_watcher --memorycard remove sdio usb scsi
653_description:
654 PURPOSE:
655 This test will check that the system correctly detects the removal
656 of a xD card from the systems card reader after the system has been suspended.
657 STEPS:
658 1. Click "Test" and remove the xD card from the reader.
659 (Note: this test will time-out after 20 seconds.)
660 VERIFICATION:
661 The verification of this test is automated. Do not change the
662 automatically selected result.
6630
=== removed file 'jobs/mobilebroadband.txt.in'
--- jobs/mobilebroadband.txt.in 2013-04-17 20:18:21 +0000
+++ jobs/mobilebroadband.txt.in 1970-01-01 00:00:00 +0000
@@ -1,21 +0,0 @@
1plugin: shell
2name: mobilebroadband/gsm_connection
3requires:
4 package.name == 'network-manager'
5 package.name == 'modemmanager'
6 mobilebroadband.gsm == 'supported'
7user: root
8environ: GSM_CONN_NAME GSM_APN GSM_USERNAME GSM_PASSWORD
9command: 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}'`
10_description: Creates a mobile broadband connection for a GSM based modem and checks the connection to ensure it's working.
11
12plugin: shell
13name: mobilebroadband/cdma_connection
14requires:
15 package.name == 'network-manager'
16 package.name == 'modemmanager'
17 mobilebroadband.cdma == 'supported'
18user: root
19environ: CDMA_CONN_NAME CDMA_USERNAME CDMA_PASSWORD
20command: 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}'`
21_description: Creates a mobile broadband connection for a CDMA based modem and checks the connection to ensure it's working.
220
=== removed file 'jobs/monitor.txt.in'
--- jobs/monitor.txt.in 2013-05-03 20:18:33 +0000
+++ jobs/monitor.txt.in 1970-01-01 00:00:00 +0000
@@ -1,105 +0,0 @@
1plugin: manual
2name: monitor/vga
3requires: display.vga == 'supported'
4_description:
5 PURPOSE:
6 This test will check your VGA port. Skip if your system does not have a VGA port.
7 STEPS:
8 1. Connect a display (if not already connected) to the VGA port on your system
9 VERIFICATION:
10 Was the desktop displayed correctly on both screens?
11
12plugin: manual
13name: monitor/dvi
14requires: display.dvi == 'supported'
15_description:
16 PURPOSE:
17 This test will check your DVI port. Skip if your system does not have a DVI port
18 STEPS:
19 1. Connect a display (if not already connected) to the DVI port on your system
20 VERIFICATION:
21 Was the desktop displayed correctly on both screens?
22
23plugin: manual
24name: monitor/displayport
25requires: display.dp == 'supported'
26_description:
27 PURPOSE:
28 This test will check your DisplayPort port. Skip if your system does not have a DisplayPort port
29 STEPS:
30 1. Connect a display (if not already connected) to the DisplayPort port on your system
31 VERIFICATION:
32 Was the desktop displayed correctly on both screens?
33
34plugin: manual
35name: monitor/hdmi
36requires: display.hdmi == 'supported'
37_description:
38 PURPOSE:
39 This test will check your HDMI port. Skip if your system does not have a HDMI port
40 STEPS:
41 1. Connect a display (if not already connected) to the HDMI port on your system
42 VERIFICATION:
43 Was the desktop displayed correctly on both screens?
44
45plugin: manual
46name: monitor/svideo
47requires: display.svideo == 'supported'
48_description:
49 PURPOSE:
50 This test will check your S-VIDEO port. Skip if your system does not have a S-VIDEO port
51 STEPS:
52 1. Connect a display (if not already connected) to the S-VIDEO port on your system
53 VERIFICATION:
54 Was the desktop displayed correctly on both screens?
55
56plugin: manual
57name: monitor/rca
58requires: display.rca == 'supported'
59_description:
60 PURPOSE:
61 This test will check your RCA port. Skip if your system does not have a RCA port
62 STEPS:
63 1. Connect a display (if not already connected) to the RCA port on your system
64 VERIFICATION:
65 Was the desktop displayed correctly on both screens?
66
67plugin: manual
68name: monitor/multi-head
69requires: dmi.product in ['Desktop','Low Profile Desktop','Tower','Mini Tower']
70_description:
71 PURPOSE:
72 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.
73 STEPS:
74 1. If your second monitor is not already connected, connect it now
75 2. Open the "Displays" tool (open the dash and search for "Displays")
76 3. Configure your output to provide one desktop across both monitors
77 4. Open any application and drag it from one monitor to the next.
78 VERIFICATION:
79 Was the stretched desktop displayed correctly across both screens?
80
81plugin: manual
82name: monitor/powersaving
83command: xset dpms force off
84_description:
85 PURPOSE:
86 This test will check your monitor power saving capabilities
87 STEPS:
88 1. Click "Test" to try the power saving capabilities of your monitor
89 2. Press any key or move the mouse to recover
90 VERIFICATION:
91 Did the monitor go blank and turn on again?
92
93plugin: manual
94name: monitor/dim_brightness
95user: root
96command: brightness_test
97_description:
98 PURPOSE:
99 This test will test changes to screen brightness
100 STEPS:
101 1. Click "Test" to try to dim the screen.
102 2. Check if the screen was dimmed approximately to half of the maximum brightness.
103 3. The screen will go back to the original brightness in 2 seconds.
104 VERIFICATION:
105 Was your screen dimmed approximately to half of the maximum brightness?
1060
=== removed file 'jobs/panel_clock_test.txt.in'
--- jobs/panel_clock_test.txt.in 2012-05-10 13:12:45 +0000
+++ jobs/panel_clock_test.txt.in 1970-01-01 00:00:00 +0000
@@ -1,29 +0,0 @@
1name: panel_clock/verify
2plugin: manual
3requires: package.name == 'gnome-system-tools'
4_description:
5 PURPOSE:
6 This test will verify that the desktop clock displays the correct date and time
7 STEPS:
8 1. Check the clock in the upper right corner of your desktop.
9 VERIFICATION:
10 Is the clock displaying the correct date and time for your timezone?
11
12name: panel_clock/test
13plugin: manual
14depends: panel_clock/verify
15requires: package.name == 'gnome-system-tools'
16user: root
17command: date -s "`date -d '1 hour'`"
18_description:
19 PURPOSE:
20 This test will verify that the desktop clock synchronizes with the system clock.
21 STEPS:
22 1. Click the "Test" button and verify the clock moves ahead by 1 hour.
23 Note: It may take a minute or so for the clock to refresh
24 2. Right click on the clock, then click on "Time & Date Settings..."
25 3. Ensure that your clock application is set to manual.
26 4. Change the time 1 hour back
27 5. Close the window and reboot
28 VERIFICATION:
29 Is your system clock displaying the correct date and time for your timezone?
300
=== removed file 'jobs/panel_reboot.txt.in'
--- jobs/panel_reboot.txt.in 2012-10-09 15:21:35 +0000
+++ jobs/panel_reboot.txt.in 1970-01-01 00:00:00 +0000
@@ -1,11 +0,0 @@
1plugin: manual
2name: panel_reboot_test
3_description:
4 PURPOSE:
5 This test will verify that you can reboot your system from the desktop menu
6 STEPS:
7 1. Click the Gear icon in the upper right corner of the desktop and click on "Shut Down"
8 2. Click the "Restart" button on the left side of the Shut Down dialog
9 3. After logging back in, restart System Testing and it should resume here
10 VERIFICATION:
11 Did your system restart and bring up the GUI login cleanly?
120
=== removed file 'jobs/peripheral.txt.in'
--- jobs/peripheral.txt.in 2013-01-21 22:21:29 +0000
+++ jobs/peripheral.txt.in 1970-01-01 00:00:00 +0000
@@ -1,38 +0,0 @@
1plugin: manual
2name: peripheral/printer
3_description:
4 PURPOSE:
5 This test will verify that a network printer is usable
6 STEPS:
7 1. Make sure that a printer is available in your network
8 2. Click on the Gear icon in the upper right corner and then click on Printers
9 3. If the printer isn't already listed, click on Add
10 4. The printer should be detected and proper configuration values should be displayed
11 5. Print a test page
12 VERIFICATION:
13 Were you able to print a test page to the network printer?
14
15plugin: manual
16name: peripheral/external-usb-modem
17command: network_check
18_description:
19 PURPOSE:
20 This test will verify that a USB DSL or Mobile Broadband modem works
21 STEPS:
22 1. Connect the USB cable to the computer
23 2. Right click on the Network icon in the panel
24 3. Select 'Edit Connections'
25 4. Select the 'DSL' (for ADSL modem) or 'Mobile Broadband' (for 3G modem) tab
26 5. Click on 'Add' button
27 6. Configure the connection parameters properly
28 7. Notify OSD should confirm that the connection has been established
29 8. Select Test to verify that it's possible to establish an HTTP connection
30 VERIFICATION:
31 Was the connection correctly established?
32
33plugin: shell
34name: peripheral/external-usb-modem-http
35depends: peripheral/external-usb-modem
36command: wget -SO /dev/null http://$TRANSFER_SERVER
37_description:
38 Automated test case to make sure that it's possible to download files through HTTP
390
=== removed file 'jobs/piglit.txt.in'
--- jobs/piglit.txt.in 2012-12-11 12:09:53 +0000
+++ jobs/piglit.txt.in 1970-01-01 00:00:00 +0000
@@ -1,72 +0,0 @@
1plugin: shell
2name: piglit/fbo
3requires:
4 package.name == 'piglit'
5command: piglit_test -t ^spec/EXT_framebuffer_object -n fbo
6_description:
7 Runs piglit tests for checking support for framebuffer object operations, depth buffer and stencil buffer
8
9plugin: shell
10name: piglit/gl-2.1
11requires:
12 package.name == 'piglit'
13command: piglit_test -t spec/'!OpenGL 2.1'/ -n gl-2.1
14_description:
15 Runs piglit tests for checking OpenGL 2.1 support
16
17plugin: shell
18name: piglit/vbo
19requires:
20 package.name == 'piglit'
21command: piglit_test -t spec/ARB_vertex_buffer_object/ -n vbo
22_description:
23 Runs piglit tests for checking support for vertex buffer object operations
24
25plugin: shell
26name: piglit/glsl-fragment-shader
27requires:
28 package.name == 'piglit'
29command: piglit_test -t ^shaders/glsl-arb-fragment -n glsl-fragment-shader
30_description:
31 Runs piglit tests for checking support for GLSL fragment shader operations
32
33plugin: shell
34name: piglit/glsl-vertex-shader
35requires:
36 package.name == 'piglit'
37command: piglit_test -t ^shaders/glsl-clamp-vertex-color -t ^shaders/glsl-max-vertex-attrib -t ^shaders/glsl-novertexdata -n glsl-vertex-shader
38_description:
39 Runs piglit tests for checking support for GLSL vertex shader operations
40
41plugin: shell
42name: piglit/glx-tfp
43requires:
44 package.name == 'piglit'
45command: piglit_test -t glx-tfp -n glx-tfp
46_description:
47 Runs piglit tests for checking support for texture from pixmap
48
49plugin: shell
50name: piglit/stencil_buffer
51requires:
52 package.name == 'piglit'
53command: piglit_test -t glx-visuals-stencil -t readpixels-24_8 -n stencil_buffer
54_description:
55 Runs piglit_tests for checking support for stencil buffer operations
56
57plugin: shell
58name: piglit/summarize_results
59requires:
60 package.name == 'piglit'
61command: [ -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/"
62_description:
63 Runs the piglit results summarizing tool
64
65plugin: shell
66name: piglit/tarball
67requires:
68 package.name == 'piglit'
69depends: piglit/summarize_results
70command: [ -e $CHECKBOX_DATA/piglit-summary ] && tar cvfz $CHECKBOX_DATA/piglit-results.tar.gz $CHECKBOX_DATA/piglit-summary/
71_description:
72 Archives the piglit-summary directory into the piglit-results.tar.gz.
730
=== removed file 'jobs/rendercheck.txt.in'
--- jobs/rendercheck.txt.in 2013-05-03 10:46:46 +0000
+++ jobs/rendercheck.txt.in 1970-01-01 00:00:00 +0000
@@ -1,13 +0,0 @@
1plugin: shell
2name: rendercheck/tests
3requires:
4 package.name == 'x11-apps'
5command: ( 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 )
6_description:
7 Runs all of the rendercheck test suites. This test can take a few minutes.
8
9plugin: attachment
10name: rendercheck/tarball
11depends: rendercheck/tests
12command: [ -e $CHECKBOX_DATA/rendercheck-results ] && tar cvfz $CHECKBOX_DATA/rendercheck-results.tar.gz $CHECKBOX_DATA/rendercheck-results && cat $CHECKBOX_DATA/rendercheck-results.tar.gz
13_description: Attach log from rendercheck tests
140
=== removed file 'jobs/server-services.txt.in'
--- jobs/server-services.txt.in 2011-10-05 21:01:59 +0000
+++ jobs/server-services.txt.in 1970-01-01 00:00:00 +0000
@@ -1,39 +0,0 @@
1plugin: shell
2name: services/open_ssh_test
3requires: package.name == 'ssh'
4command: pgrep sshd >/dev/null || (echo 'FAIL: sshd is not running.' 2>&1 && false)
5_description: Verifies that sshd is running.
6
7plugin: shell
8name: services/print_server_test
9requires: package.name == 'cups'
10command: pgrep cupsd >/dev/null || (echo 'FAIL: cupsd is not running.' 2>&1 && false)
11_description: Verifies that Print/CUPs server is running.
12
13plugin: shell
14name: services/dns_server_test
15requires: package.name == 'bind9' and package.name == 'dnsutils'
16user: root
17command: dns_server_test
18_description: Verifies that DNS server is running and working.
19
20plugin: shell
21name: services/samba_test
22requires: package.name == 'samba' and package.name == 'winbind'
23user: root
24command: samba_test
25_description: Verifies that Samba server is running.
26
27plugin: shell
28name: services/lamp_test
29requires: package.name == 'apache2' and package.name == 'php5-mysql' and package.name == 'libapache2-mod-php5' and package.name == 'mysql-server'
30user: root
31command: lamp_test
32_description: Verifies that the LAMP stack is running (Apache, MySQL and PHP).
33
34plugin: shell
35name: services/tomcat_test
36requires: package.name == 'tomcat6'
37user: root
38command: tomcat_test
39_description: Verifies that Tomcat server is running and working.
400
=== removed file 'jobs/suspend.txt.in'
--- jobs/suspend.txt.in 2013-07-05 16:43:48 +0000
+++ jobs/suspend.txt.in 1970-01-01 00:00:00 +0000
@@ -1,1237 +0,0 @@
1plugin: shell
2name: suspend/network_before_suspend
3depends: networking/detect
4_description: Record the current network before suspending.
5command: set -o pipefail; internet_test | tee $CHECKBOX_DATA/network_before_suspend.txt
6
7plugin: shell
8name: suspend/resolution_before_suspend
9_description: Record the current resolution before suspending.
10command: xrandr -q |grep '*'| awk '{print $1}' > $CHECKBOX_DATA/resolution_before_suspend.txt
11
12plugin: shell
13name: suspend/audio_before_suspend
14requires:
15 device.category == 'AUDIO'
16 package.name == 'alsa-base'
17_description: Record mixer settings before suspending.
18command: audio_settings store --file=$CHECKBOX_DATA/audio_settings_before_suspend
19
20plugin: shell
21name: suspend/cpu_before_suspend
22_description: Verify that all the CPUs are online before suspending
23command: cpuinfo_resource > $CHECKBOX_DATA/cpuinfo_before_suspend
24
25plugin: shell
26name: suspend/memory_before_suspend
27_description:
28 Dumps memory info to a file for comparison after suspend test has been run
29command: meminfo_resource > $CHECKBOX_DATA/meminfo_before_suspend
30
31plugin: shell
32name: suspend/wireless_before_suspend
33depends: wireless/wireless_connection
34requires: device.category == 'WIRELESS'
35command: 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
36_description:
37 This test disconnects all connections and then connects to the wireless
38 interface. It then checks the connection to confirm it's working as expected.
39
40plugin: shell
41name: suspend/bluetooth_obex_before_suspend
42requires:
43 package.name == 'bluez'
44 package.name == 'obexd-client'
45 device.category == 'BLUETOOTH'
46command:
47 if [ -z "$BTDEVADDR" ]
48 then
49 echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
50 exit 1
51 fi
52 if rfkill list bluetooth | grep -q 'Hard blocked: yes'
53 then
54 echo "rfkill shows BT is hard blocked"
55 fi
56 if rfkill list bluetooth | grep -q 'Soft blocked: yes'
57 then
58 echo "rfkill shows BT is soft blocked, removing before testing."
59 rfkill unblock bluetooth
60 sleep 3
61 fi
62 obex_send $BTDEVADDR $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
63_description:
64 This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable.
65
66plugin: shell
67name: suspend/bluetooth_obex_send_before_suspend
68requires:
69 package.name == 'bluez'
70 package.name == 'obexftp'
71 device.category == 'BLUETOOTH'
72command:
73 if [ -z "$BTDEVADDR" ]
74 then
75 echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
76 exit 1
77 fi
78 if rfkill list bluetooth | grep -q 'Hard blocked: yes'
79 then
80 echo "rfkill list shows BT is hard blocked"
81 fi
82 if rfkill list bluetooth | grep -q 'Soft blocked: yes'
83 then
84 echo "rfkill list shows BT is soft blocked, removing before testing"
85 rfkill unblock bluetooth
86 sleep 3
87 fi
88 set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser
89_description:
90 This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable.
91
92plugin: shell
93name: suspend/bluetooth_obex_browse_before_suspend
94requires:
95 package.name == 'bluez'
96 package.name == 'obexftp'
97 device.category == 'BLUETOOTH'
98command:
99 if [ -z "$BTDEVADDR" ]
100 then
101 echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
102 exit 1
103 fi
104 if rfkill list bluetooth | grep -q 'Hard blocked: yes'
105 then
106 echo "rfkill list shows BT is hard blocked"
107 fi
108 if rfkill list bluetooth | grep -q 'Soft blocked: yes'
109 then
110 echo "rfkill list shows BT is soft blocked, removing before testing"
111 rfkill unblock bluetooth
112 sleep 3
113 fi
114 set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser
115_description:
116 This is an automated Bluetooth test. It emulates browsing on a remote device specified by the BTDEVADDR environment variable.
117
118plugin: shell
119name: suspend/bluetooth_obex_get_before_suspend
120requires:
121 package.name == 'bluez'
122 package.name == 'obexftp'
123 device.category == 'BLUETOOTH'
124command:
125 if [ -z "$BTDEVADDR" ]
126 then
127 echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
128 exit 1
129 fi
130 if rfkill list bluetooth | grep -q 'Hard blocked: yes'
131 then
132 echo "rfkill list shows BT is hard blocked"
133 fi
134 if rfkill list bluetooth | grep -q 'Soft blocked: yes'
135 then
136 echo "rfkill list shows BT is soft blocked, removing before testing"
137 rfkill unblock bluetooth
138 sleep 3
139 fi
140 set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser
141_description:
142 This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable
143
144plugin: manual
145name: suspend/bluetooth_obex_before_suspend_manual
146requires:
147 package.name == 'bluez'
148 package.name == 'obexd-client'
149 device.category == 'BLUETOOTH'
150command: rfkill unblock bluetooth; obex_send `bluetooth_scan` $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
151_description:
152 PURPOSE:
153 This test will send the image 'JPEG_Color_Image_Ubuntu.jpg' to a specified device
154 STEPS:
155 1. Make sure Bluetooth is enabled by checking the Bluetooth indicator applet
156 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)
157 3. Accept any prompts that appear on both devices
158 VERIFICATION:
159 Was the data correctly transferred?
160
161plugin: user-verify
162name: suspend/suspend_advanced
163depends: power-management/rtc
164requires:
165 sleep.mem == 'supported'
166user: root
167environ: CHECKBOX_DATA
168command:
169 if type -P fwts >/dev/null; then
170 echo "Calling fwts"
171 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
172 else
173 echo "Calling sleep_test"
174 set -o pipefail; sleep_test -p | tee $CHECKBOX_DATA/suspend_single_times.log
175 fi
176_description:
177 PURPOSE:
178 This test will check suspend and resume
179 STEPS:
180 1. Click "Test" and your system will suspend for about 30 - 60 seconds
181 2. Observe the Power LED to see if it blinks or changes color during suspend
182 3. If your system does not wake itself up after 60 seconds, please press the power button momentarily to wake the system manually
183 4. If your system fails to wake at all and must be rebooted, restart System Testing after reboot and mark this test as Failed
184 VERIFICATION:
185 Did your system suspend and resume correctly?
186 (NOTE: Please only consider whether the system successfully suspended and resumed. Power/Suspend LED verification will occur after this test is completed.)
187
188plugin: shell
189name: suspend/suspend_advanced_auto
190depends: power-management/rtc
191requires:
192 sleep.mem == 'supported'
193_description:
194 This is the automated version of suspend/suspend_advanced.
195user: root
196environ: CHECKBOX_DATA
197command: 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
198
199plugin: shell
200name: suspend/suspend-single-log-check
201command: [ -e $CHECKBOX_DATA/suspend_single.log ] && sleep_test_log_check -v s3 $CHECKBOX_DATA/suspend_single.log
202_description:
203 Automated check of the suspend log to look for errors reported by fwts
204
205plugin: attachment
206name: suspend/suspend-single-log-attach
207command: [ -e $CHECKBOX_DATA/suspend_single.log ] && cat $CHECKBOX_DATA/suspend_single.log
208_description:
209 Attaches the log from the single suspend/resume test to the results
210
211plugin: shell
212name: suspend/suspend-time-check
213command: [ -e $CHECKBOX_DATA/suspend_single_times.log ] && sleep_time_check $CHECKBOX_DATA/suspend_single_times.log
214_description:
215 Checks the sleep times to ensure that a machine suspends and resumes within a given threshold
216
217plugin: manual
218name: power-management/usb_wakeup_keyboard
219user: root
220depends: suspend/suspend_advanced
221command: pm-suspend
222_description:
223 PURPOSE:
224 Wake up by USB keyboard
225 STEPS:
226 1. Enable "Wake by USB KB/Mouse" item in BIOS
227 2. Press "Test" to enter suspend (S3) mode
228 3. Press any key of USB keyboard to wake system up
229 VERIFICATION:
230 Did the system wake up from suspend mode when you pressed a keyboard key?
231
232plugin: manual
233name: power-management/usb_wakeup_mouse
234user: root
235depends: suspend/suspend_advanced
236command: pm-suspend
237_description:
238 PURPOSE:
239 Wake up by USB mouse
240 STEPS:
241 1. Enable "Wake by USB KB/Mouse" item in BIOS
242 2. Press "Test" to enter suspend (S3) mode
243 3. Press any button of USB mouse to wake system up
244 VERIFICATION:
245 Did the system wake up from suspend mode when you pressed the mouse button?
246
247plugin: shell
248name: suspend/network_after_suspend
249depends: suspend/suspend_advanced suspend/network_before_suspend
250_description: Test the network after resuming.
251command: network_wait; internet_test | diff $CHECKBOX_DATA/network_before_suspend.txt -
252
253plugin: shell
254name: suspend/resolution_after_suspend
255depends: suspend/suspend_advanced suspend/resolution_before_suspend
256_description: Test to see that we have the same resolution after resuming as before.
257command: xrandr -q |grep '*'| awk '{print $1}' | diff $CHECKBOX_DATA/resolution_before_suspend.txt -
258
259plugin: shell
260name: suspend/audio_after_suspend
261requires:
262 device.category == 'AUDIO'
263 package.name == 'alsa-base'
264depends: suspend/suspend_advanced suspend/audio_before_suspend
265_description: Verify that mixer settings after suspend are the same as before suspend.
266command:
267 audio_settings store --file=$CHECKBOX_DATA/audio_settings_after_suspend; diff $CHECKBOX_DATA/audio_settings_before_suspend $CHECKBOX_DATA/audio_settings_after_suspend
268
269plugin: shell
270name: suspend/audio_after_suspend_auto
271requires:
272 device.category == 'AUDIO'
273 package.name == 'alsa-base'
274depends: suspend/suspend_advanced_auto suspend/audio_before_suspend
275_description: Verify that mixer settings after suspend are the same as before suspend.
276command:
277 audio_settings store --file=$CHECKBOX_DATA/audio_settings_after_suspend; diff $CHECKBOX_DATA/audio_settings_before_suspend $CHECKBOX_DATA/audio_settings_after_suspend
278
279plugin: shell
280name: suspend/cpu_after_suspend
281depends: suspend/suspend_advanced suspend/cpu_before_suspend
282_description: Verify that all CPUs are online after resuming.
283command: cpuinfo_resource | diff $CHECKBOX_DATA/cpuinfo_before_suspend -
284
285plugin: shell
286name: suspend/cpu_after_suspend_auto
287depends: suspend/suspend_advanced_auto suspend/cpu_before_suspend
288_description: Verify that all CPUs are online after resuming.
289command: cpuinfo_resource | diff $CHECKBOX_DATA/cpuinfo_before_suspend -
290
291plugin: shell
292name: suspend/memory_after_suspend
293depends: suspend/suspend_advanced suspend/memory_before_suspend
294_description:
295 Verify that all memory is available after resuming from suspend.
296command: meminfo_resource | diff $CHECKBOX_DATA/meminfo_before_suspend -
297
298plugin: shell
299name: suspend/memory_after_suspend_auto
300depends: suspend/suspend_advanced_auto suspend/memory_before_suspend
301_description:
302 Verify that all memory is available after resuming from suspend.
303command: meminfo_resource | diff $CHECKBOX_DATA/meminfo_before_suspend -
304
305plugin: manual
306name: suspend/display_after_suspend
307depends: suspend/suspend_advanced
308_description:
309 PURPOSE:
310 This test will check that the display is correct after suspend and resume
311 STEPS:
312 1. Check that your display does not show up visual artifacts after resuming.
313 VERIFICATION:
314 Does the display work normally after resuming from suspend?
315
316plugin: shell
317name: suspend/wireless_after_suspend
318depends: suspend/suspend_advanced suspend/wireless_before_suspend
319requires:
320 device.category == 'WIRELESS'
321command: 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
322_description:
323 This test checks that the wireless interface is working after suspending the system. It
324 disconnects all interfaces and then connects to the wireless interface and checks that the
325 connection is working as expected.
326
327plugin: shell
328name: suspend/wireless_connection_after_suspend_wpa_bg
329depends: suspend/suspend_advanced
330requires:
331 device.category == 'WIRELESS'
332 environment.ROUTERS == 'multiple'
333user: root
334environ: WPA_BG_SSID WPA_BG_PSK
335command: 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}'`
336_description:
337 Tests that the systems wireless hardware can connect to a router using WPA
338 security and the 802.11b/g protocols after the system has been suspended.
339
340plugin: shell
341name: suspend/wireless_connection_after_suspend_open_bg
342depends: suspend/suspend_advanced
343requires:
344 device.category == 'WIRELESS'
345 environment.ROUTERS == 'multiple'
346user: root
347environ: OPEN_BG_SSID
348command: 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}'`
349_description:
350 Tests that the systems wireless hardware can connect to a router using no
351 security and the 802.11b/g protocols after the system has been suspended.
352
353plugin: shell
354name: suspend/wireless_connection_after_suspend_wpa_n
355depends: suspend/suspend_advanced
356requires:
357 device.category == 'WIRELESS'
358 environment.ROUTERS == 'multiple'
359user: root
360environ: WPA_N_SSID WPA_N_PSK
361command: 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}'`
362_description:
363 Tests that the systems wireless hardware can connect to a router using WPA
364 security and the 802.11n protocol after the system has been suspended.
365
366plugin: shell
367name: suspend/wireless_connection_after_suspend_open_n
368depends: suspend/suspend_advanced
369requires:
370 device.category == 'WIRELESS'
371 environment.ROUTERS == 'multiple'
372user: root
373environ: OPEN_N_SSID
374command: 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}'`
375_description:
376 Tests that the systems wireless hardware can connect to a router using no
377 security and the 802.11n protocol after the system has been suspended.
378
379plugin: shell
380name: suspend/wireless_connection_after_suspend_wpa_bg_auto
381depends: suspend/suspend_advanced_auto
382requires:
383 device.category == 'WIRELESS'
384 environment.ROUTERS == 'multiple'
385user: root
386environ: WPA_BG_SSID WPA_BG_PSK
387command: 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}'`
388_description:
389 Tests that the systems wireless hardware can connect to a router using WPA
390 security and the 802.11b/g protocols after the system has been suspended.
391
392plugin: shell
393name: suspend/wireless_connection_after_suspend_open_bg_auto
394depends: suspend/suspend_advanced_auto
395requires:
396 device.category == 'WIRELESS'
397 environment.ROUTERS == 'multiple'
398user: root
399environ: OPEN_BG_SSID
400command: 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}'`
401_description:
402 Tests that the systems wireless hardware can connect to a router using no
403 security and the 802.11b/g protocols after the system has been suspended.
404
405plugin: shell
406name: suspend/wireless_connection_after_suspend_wpa_n_auto
407depends: suspend/suspend_advanced_auto
408requires:
409 device.category == 'WIRELESS'
410 environment.ROUTERS == 'multiple'
411user: root
412environ: WPA_N_SSID WPA_N_PSK
413command: 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}'`
414_description:
415 Tests that the systems wireless hardware can connect to a router using WPA
416 security and the 802.11n protocol after the system has been suspended.
417
418plugin: shell
419name: suspend/wireless_connection_after_suspend_open_n_auto
420depends: suspend/suspend_advanced_auto
421requires:
422 device.category == 'WIRELESS'
423 environment.ROUTERS == 'multiple'
424user: root
425environ: OPEN_N_SSID
426command: 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}'`
427_description:
428 Tests that the systems wireless hardware can connect to a router using no
429 security and the 802.11n protocol after the system has been suspended.
430
431plugin: manual
432name: suspend/wireless_connection_after_suspend_wpa_bg_manual
433depends: suspend/suspend_advanced
434requires:
435 device.category == 'WIRELESS'
436 environment.ROUTERS == 'single'
437user: root
438environ: ROUTER_SSID ROUTER_PSK
439command: 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}'`
440_description:
441 PURPOSE:
442 Tests that the systems wireless hardware can connect to a router using WPA
443 security and the 802.11b/g protocols.
444 STEPS:
445 1. Open your routers configuration tool
446 2. Change the settings to only accept connections on the B and G wireless bands
447 3. Make sure the SSID is set to ROUTER_SSID
448 4. Change the security settings to use WPA2 and ensure the PSK matches that set in ROUTER_PSK
449 5. Click the 'Test' button to create a connection to the router and test the connection
450 VERIFICATION:
451 Verification is automated, do not change the automatically selected result.
452
453plugin: manual
454name: suspend/wireless_connection_after_suspend_open_bg_manual
455depends: suspend/suspend_advanced
456requires:
457 device.category == 'WIRELESS'
458 environment.ROUTERS == 'single'
459user: root
460environ: ROUTER_SSID
461command: 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}'`
462_description:
463 PURPOSE:
464 Tests that the systems wireless hardware can connect to a router using
465 no security and the 802.11b/g protocols.
466 STEPS:
467 1. Open your routers configuration tool
468 2. Change the settings to only accept connections on the B and G wireless bands
469 3. Make sure the SSID is set to ROUTER_SSID
470 4. Change the security settings to use no security
471 5. Click the 'Test' button to create a connection to the router and test the connection
472 VERIFICATION:
473 Verification is automated, do not change the automatically selected result.
474
475plugin: manual
476name: suspend/wireless_connection_after_suspend_wpa_n_manual
477depends: suspend/suspend_advanced
478requires:
479 device.category == 'WIRELESS'
480 environment.ROUTERS == 'single'
481user: root
482environ: ROUTER_SSID ROUTER_PSK
483command: 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}'`
484_description:
485 PURPOSE:
486 Tests that the systems wireless hardware can connect to a router using WPA
487 security and the 802.11n protocols.
488 STEPS:
489 1. Open your routers configuration tool
490 2. Change the settings to only accept connections on the N wireless band
491 3. Make sure the SSID is set to ROUTER_SSID
492 4. Change the security settings to use WPA2 and ensure the PSK matches that set in ROUTER_PSK
493 5. Click the 'Test' button to create a connection to the router and test the connection
494 VERIFICATION:
495 Verification is automated, do not change the automatically selected result.
496
497plugin: manual
498name: suspend/wireless_connection_after_suspend_open_n_manual
499depends: suspend/suspend_advanced
500requires:
501 device.category == 'WIRELESS'
502 environment.ROUTERS == 'single'
503user: root
504environ: ROUTER_SSID
505command: 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}'`
506_description:
507 PURPOSE:
508 Tests that the systems wireless hardware can connect to a router using
509 no security and the 802.11n protocol.
510 STEPS:
511 1. Open your routers configuration tool
512 2. Change the settings to only accept connections on the N wireless band
513 3. Make sure the SSID is set to ROUTER_SSID
514 4. Change the security settings to use no security
515 5. Click the 'Test' button to create a connection to the router and test the connection
516 VERIFICATION:
517 Verification is automated, do not change the automatically selected result.
518
519plugin: shell
520name: suspend/bluetooth_detect_after_suspend
521depends: suspend/suspend_advanced bluetooth/detect-output
522requires:
523 package.name == 'bluez'
524 device.category == 'BLUETOOTH'
525command:
526 if rfkill list bluetooth | grep -q 'Hard blocked: yes'; then
527 echo "rfkill shows BT is hard blocked"
528 fi
529 if rfkill list bluetooth | grep -q 'Soft blocked: yes'; then
530 echo "rfkill shows BT is soft blocked, removing before testing"
531 rfkill unblock bluetooth
532 sleep 3
533 fi
534 output=$(hcitool dev | tail -n+2 | awk '{print $2}')
535 echo $output | diff $CHECKBOX_DATA/bluetooth_address -
536 if [ -z "$output" ]; then
537 echo "BT hardware not available"
538 exit 1
539 fi
540_description:
541 This test grabs the hardware address of the bluetooth adapter after suspend and compares it to the address grabbed before suspend.
542
543plugin: shell
544name: suspend/bluetooth_obex_after_suspend
545depends: suspend/suspend_advanced suspend/bluetooth_obex_before_suspend
546requires:
547 package.name == 'bluez'
548 package.name == 'obexd-client'
549 device.category == 'BLUETOOTH'
550command:
551 if [ -z "$BTDEVADDR" ]
552 then
553 echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
554 exit 1
555 fi
556 if rfkill list bluetooth | grep -q 'Hard blocked: yes'
557 then
558 echo "rfkill shows BT is hard blocked"
559 fi
560 if rfkill list bluetooth | grep -q 'Soft blocked: yes'
561 then
562 echo "rfkill shows BT is soft blocked, removing before testing."
563 rfkill unblock bluetooth
564 sleep 3
565 fi
566 obex_send $BTDEVADDR $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
567_description:
568 This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable.
569
570plugin: shell
571name: suspend/bluetooth_obex_after_suspend_auto
572depends: suspend/suspend_advanced_auto suspend/bluetooth_obex_before_suspend
573requires:
574 package.name == 'bluez'
575 package.name == 'obexd-client'
576 device.category == 'BLUETOOTH'
577command:
578 if [ -z "$BTDEVADDR" ]
579 then
580 echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
581 exit 1
582 fi
583 if rfkill list bluetooth | grep -q 'Hard blocked: yes'
584 then
585 echo "rfkill shows BT is hard blocked"
586 fi
587 if rfkill list bluetooth | grep -q 'Soft blocked: yes'
588 then
589 echo "rfkill shows BT is soft blocked, removing before testing."
590 rfkill unblock bluetooth
591 sleep 3
592 fi
593 obex_send $BTDEVADDR $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
594_description:
595 This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable.
596
597plugin: shell
598name: suspend/bluetooth_obex_send_after_suspend
599depends: suspend/suspend_advanced
600requires:
601 package.name == 'bluez'
602 package.name == 'obexftp'
603 device.category == 'BLUETOOTH'
604command:
605 if [ -z "$BTDEVADDR" ]
606 then
607 echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
608 exit 1
609 fi
610 if rfkill list bluetooth | grep -q 'Hard blocked: yes'
611 then
612 echo "rfkill list shows BT is hard blocked"
613 fi
614 if rfkill list bluetooth | grep -q 'Soft blocked: yes'
615 then
616 echo "rfkill list shows BT is soft blocked, removing before testing"
617 rfkill unblock bluetooth
618 sleep 3
619 fi
620 set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser
621_description:
622 This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable.
623
624plugin: shell
625name: suspend/bluetooth_obex_send_after_suspend_auto
626depends: suspend/suspend_advanced_auto
627requires:
628 package.name == 'bluez'
629 package.name == 'obexftp'
630 device.category == 'BLUETOOTH'
631command:
632 if [ -z "$BTDEVADDR" ]
633 then
634 echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
635 exit 1
636 fi
637 if rfkill list bluetooth | grep -q 'Hard blocked: yes'
638 then
639 echo "rfkill list shows BT is hard blocked"
640 fi
641 if rfkill list bluetooth | grep -q 'Soft blocked: yes'
642 then
643 echo "rfkill list shows BT is soft blocked, removing before testing"
644 rfkill unblock bluetooth
645 sleep 3
646 fi
647 set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR send 2>&1 | ansi_parser
648_description:
649 This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable.
650
651plugin: shell
652name: suspend/bluetooth_obex_browse_after_suspend
653depends: suspend/suspend_advanced
654requires:
655 package.name == 'bluez'
656 package.name == 'obexftp'
657 device.category == 'BLUETOOTH'
658command:
659 if [ -z "$BTDEVADDR" ]
660 then
661 echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
662 exit 1
663 fi
664 if rfkill list bluetooth | grep -q 'Hard blocked: yes'
665 then
666 echo "rfkill list shows BT is hard blocked"
667 fi
668 if rfkill list bluetooth | grep -q 'Soft blocked: yes'
669 then
670 echo "rfkill list shows BT is soft blocked, removing before testing"
671 rfkill unblock bluetooth
672 sleep 3
673 fi
674 set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser
675_description:
676 This is an automated Bluetooth test. It emulates browsing on a remote device specified by the BTDEVADDR environment variable.
677
678plugin: shell
679name: suspend/bluetooth_obex_browse_after_suspend_auto
680depends: suspend/suspend_advanced_auto
681requires:
682 package.name == 'bluez'
683 package.name == 'obexftp'
684 device.category == 'BLUETOOTH'
685command:
686 if [ -z "$BTDEVADDR" ]
687 then
688 echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
689 exit 1
690 fi
691 if rfkill list bluetooth | grep -q 'Hard blocked: yes'
692 then
693 echo "rfkill list shows BT is hard blocked"
694 fi
695 if rfkill list bluetooth | grep -q 'Soft blocked: yes'
696 then
697 echo "rfkill list shows BT is soft blocked, removing before testing"
698 rfkill unblock bluetooth
699 sleep 3
700 fi
701 set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR browse 2>&1 | ansi_parser
702_description:
703 This is an automated Bluetooth test. It emulates browsing on a remote device specified by the BTDEVADDR environment variable.
704
705plugin: shell
706name: suspend/bluetooth_obex_get_after_suspend
707depends: suspend/suspend_advanced
708requires:
709 package.name == 'bluez'
710 package.name == 'obexftp'
711 device.category == 'BLUETOOTH'
712command:
713 if [ -z "$BTDEVADDR" ]
714 then
715 echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
716 exit 1
717 fi
718 if rfkill list bluetooth | grep -q 'Hard blocked: yes'
719 then
720 echo "rfkill list shows BT is hard blocked"
721 fi
722 if rfkill list bluetooth | grep -q 'Soft blocked: yes'
723 then
724 echo "rfkill list shows BT is soft blocked, removing before testing"
725 rfkill unblock bluetooth
726 sleep 3
727 fi
728 set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser
729_description:
730 This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable
731
732plugin: shell
733name: suspend/bluetooth_obex_get_after_suspend_auto
734depends: suspend/suspend_advanced_auto
735requires:
736 package.name == 'bluez'
737 package.name == 'obexftp'
738 device.category == 'BLUETOOTH'
739command:
740 if [ -z "$BTDEVADDR" ]
741 then
742 echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini"
743 exit 1
744 fi
745 if rfkill list bluetooth | grep -q 'Hard blocked: yes'
746 then
747 echo "rfkill list shows BT is hard blocked"
748 fi
749 if rfkill list bluetooth | grep -q 'Soft blocked: yes'
750 then
751 echo "rfkill list shows BT is soft blocked, removing before testing"
752 rfkill unblock bluetooth
753 sleep 3
754 fi
755 set -o pipefail; bluetooth_test $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg $BTDEVADDR get 2>&1 | ansi_parser
756_description:
757 This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable
758
759plugin: manual
760name: suspend/bluetooth_obex_after_suspend_manual
761depends: suspend/suspend_advanced suspend/bluetooth_obex_before_suspend_manual
762requires:
763 package.name == 'bluez'
764 package.name == 'obexd-client'
765 device.category == 'BLUETOOTH'
766command: rfkill unblock bluetooth; obex_send `bluetooth_scan` $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
767_description:
768 PURPOSE:
769 This test will send the image 'JPEG_Color_Image_Ubuntu.jpg' to a specified device
770 STEPS:
771 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)
772 2. Accept any prompts that appear on both devices
773 VERIFICATION:
774 Was the data correctly transferred?
775
776plugin: manual
777name: suspend/cycle_resolutions_after_suspend
778requires: package.name == 'xorg'
779depends: suspend/suspend_advanced graphics/cycle_resolution
780command: xrandr_cycle --keyword=after_suspend --screenshot-dir $CHECKBOX_DATA
781_description:
782 PURPOSE:
783 This test will cycle through the detected display modes
784 STEPS:
785 1. Click "Test" and the display will cycle trough the display modes
786 VERIFICATION:
787 Did your display look fine in the detected mode?
788
789plugin: shell
790name: suspend/cycle_resolutions_after_suspend_auto
791requires: package.name == 'xorg'
792depends: suspend/suspend_advanced_auto graphics/cycle_resolution
793_description:
794 This test will check to make sure supported video modes work after a suspend and resume.
795 This is done automatically by taking screenshots and uploading them as an attachment.
796command: xrandr_cycle --keyword=after_suspend --screenshot-dir $CHECKBOX_DATA
797
798plugin: attachment
799name: suspend/xrandr_screens_after_suspend.tar.gz
800depends: suspend/cycle_resolutions_after_suspend_auto
801command: [ -e $CHECKBOX_DATA/xrandr_screens_after_suspend.tgz ] && cat $CHECKBOX_DATA/xrandr_screens_after_suspend.tgz
802_description: This attaches screenshots from the suspend/cycle_resolutions_after_suspend_auto test to the results submission.
803
804plugin: shell
805name: suspend/record_playback_after_suspend
806depends: suspend/suspend_advanced
807requires:
808 package.name == 'python3-gi'
809 package.name == 'gir1.2-gstreamer-1.0'
810 package.name == 'libgstreamer1.0-0'
811 package.name == 'gstreamer1.0-plugins-good'
812 package.name == 'gstreamer1.0-pulseaudio'
813 package.name == 'alsa-base'
814 device.category == 'AUDIO'
815command: audio_test
816_description:
817 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.
818
819plugin: shell
820name: suspend/record_playback_after_suspend_auto
821depends: suspend/suspend_advanced_auto
822requires:
823 package.name == 'python3-gi'
824 package.name == 'gir1.2-gstreamer-1.0'
825 package.name == 'libgstreamer1.0-0'
826 package.name == 'gstreamer1.0-plugins-good'
827 package.name == 'gstreamer1.0-pulseaudio'
828 package.name == 'alsa-base'
829 device.category == 'AUDIO'
830command: audio_test
831_description:
832 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.
833
834plugin: attachment
835name: suspend/suspend-auto-single-log-attach
836command: [ -e $CHECKBOX_DATA/suspend_auto_single_log ] && cat $CHECKBOX_DATA/suspend_auto_single_log
837_description:
838 Attaches the log from the single suspend/resume test to the results
839
840plugin: shell
841name: suspend/screenshot_after_suspend
842depends: suspend/suspend_advanced_auto
843requires: package.name == 'fswebcam'
844command: set -o pipefail; camera_test still --device=/dev/external_webcam -f ${CHECKBOX_DATA}/screenshot_after_suspend.jpg -q 2>&1 | ansi_parser
845_description:
846 PURPOSE:
847 Take a screengrab of the current screen after suspend (logged on Unity desktop)
848 STEPS:
849 1. Take picture using USB webcam
850 VERIFICATION:
851 Review attachment manually later
852
853plugin: attachment
854name: screenshot_after_suspend.jpg
855depends: suspend/screenshot_after_suspend
856command: base64 ${CHECKBOX_DATA}/screenshot_after_suspend.jpg
857_description: Attaches the screenshot captured in graphics/screenshot.
858
859plugin: shell
860name: suspend/gpu_lockup_after_suspend
861requires:
862 package.name == 'wmctrl'
863 package.name == 'mesa-utils'
864 package.name == 'firefox'
865depends: suspend/suspend_advanced_auto
866command: gpu_test
867_description:
868 PURPOSE:
869 Do some challenging operations then check for lockup on the GPU
870 STEPS:
871 1. Create 2 glxgears windows and move them quickly
872 2. Switch workspaces with wmctrl
873 3. Launch an HTML5 video playback in firefox
874 VERIFICATION:
875 After a 60s workload, check kern.log for reported GPU errors
876
877plugin: shell
878name: suspend/wifi_resume_time
879depends: suspend/suspend_advanced
880requires:
881 device.category == 'WIRELESS'
882command: network_reconnect_resume_test -t 20 -d wifi
883_description:
884 Checks the length of time it takes to reconnect an existing wifi connection
885 after a suspend/resume cycle.
886
887plugin: shell
888name: suspend/wifi_resume_time_auto
889depends: suspend/suspend_advanced_auto
890requires:
891 device.category == 'WIRELESS'
892command: network_reconnect_resume_test -t 20 -d wifi
893_description:
894 Checks the length of time it takes to reconnect an existing wifi connection
895 after a suspend/resume cycle.
896
897plugin: shell
898name: suspend/network_resume_time
899depends: suspend/suspend_advanced
900requires:
901 device.category == 'NETWORK'
902command: network_reconnect_resume_test -t 10 -d wired
903_description:
904 Checks the length of time it takes to reconnect an existing wired connection
905 after a suspend/resume cycle.
906
907plugin: shell
908name: suspend/network_resume_time_auto
909depends: suspend/suspend_advanced_auto
910requires:
911 device.category == 'NETWORK'
912command: network_reconnect_resume_test -t 10 -d wired
913_description:
914 Checks the length of time it takes to reconnect an existing wired connection
915 after a suspend/resume cycle.
916
917plugin: manual
918name: suspend/led_after_suspend/power
919depends: suspend/suspend_advanced
920_description:
921 PURPOSE:
922 Validate that the power LED operated the same after resuming from suspend
923 STEPS:
924 1. Power LED should be on while device is switched on
925 VERIFICATION:
926 Does the power LED remain on after resuming from suspend?
927
928plugin: manual
929name: suspend/led_after_suspend/battery-charging
930depends: suspend/suspend_advanced
931_description:
932 PURPOSE:
933 Validate that the battery light shows charging status after resuming from suspend
934 STEPS:
935 1. Let system run on battery for a while
936 2. Plug in AC plug
937 VERIFICATION:
938 Did the battery indicator LED still turn orange after resuming from suspend?
939
940plugin: manual
941name: suspend/led_after_suspend/battery-charged
942depends: suspend/suspend_advanced
943_description:
944 PURPOSE:
945 Validate that the battery LED properly displays charged status after resuming from suspend
946 STEPS:
947 1. Let system run on battery for a short time
948 2. Plug in AC
949 3. Let system run on AC
950 VERIFICATION:
951 Does the orange battery LED still shut off when system is fully charged after resuming from suspend?
952
953plugin: manual
954name: suspend/led_after_suspend/battery-low
955depends: suspend/suspend_advanced
956_description:
957 PURPOSE:
958 Validate that the battery LED indicated low power after resuming from suspend
959 STEPS:
960 1. Let system run on battery for several hours
961 2. Monitor battery LED carefully
962 VERIFICATION:
963 Does the LED light orange when battery is low after resuming from suspend?
964
965plugin: manual
966name: suspend/led_after_suspend/hdd
967depends: suspend/suspend_advanced
968command: led_hdd_test
969_description:
970 PURPOSE:
971 Validate that the HDD LED still operates as expected after resuming from suspend
972 STEPS:
973 1. Select "Test" to write and read a temporary file for a few seconds
974 2. HDD LED should blink when writing to/reading from HDD
975 VERIFICATION:
976 Did the HDD LED still blink with HDD activity after resuming from suspend?
977
978plugin: manual
979name: suspend/led_after_suspend/numeric-keypad
980depends: suspend/suspend_advanced
981command: keyboard_test
982_description:
983 PURPOSE:
984 Validate that the numeric keypad LED operates the same before and after resuming from suspend
985 STEPS:
986 1. Press "Block Num" key to toggle numeric keypad LED
987 2. Click on the "Test" button to open a window to verify your typing
988 3. Type using the numeric keypad both when the LED is on and off
989 VERIFICATION:
990 1. Numeric keypad LED status should toggle everytime the "Block Num" key is pressed
991 2. Numbers should only be entered in the keyboard verification window when the LED is on
992
993plugin: manual
994name: suspend/led_after_suspend/caps-lock
995depends: suspend/suspend_advanced
996_description:
997 PURPOSE:
998 Validate that the Caps Lock key operates the same before and after resuming from suspend
999 STEPS:
1000 1. Press "Block Cap Keys" to activate/deactivate cap keys blocking
1001 2. Cap Keys LED should be switched on/off every time the key is pressed
1002 VERIFICATION:
1003 Did the Cap Keys LED light as expected after resuming from suspend?
1004
1005plugin: manual
1006name: suspend/led_after_suspend/wlan
1007depends: suspend/suspend_advanced
1008_description:
1009 PURPOSE:
1010 WLAN LED verification after resuming from suspend
1011 STEPS:
1012 1. Make sure WLAN connection is established
1013 2. WLAN LED should light
1014 VERIFICATION:
1015 Did the WLAN LED light as expected after resuming from suspend?
1016
1017plugin: manual
1018name: suspend/led_after_suspend/wlan-disabled
1019depends: suspend/suspend_advanced
1020_description:
1021 PURPOSE:
1022 Validate that WLAN LED shuts off when disabled after resuming from suspend
1023 STEPS:
1024 1. Connect to AP
1025 2. Use Physical switch to disable WLAN
1026 3. Re-enable
1027 4. Use Network-Manager to disable WLAN
1028 VERIFICATION:
1029 Did the LED turn off then WLAN is disabled after resuming from suspend?
1030
1031plugin: manual
1032name: suspend/led_after_suspend/bluetooth
1033depends: suspend/suspend_advanced
1034_description:
1035 PURPOSE:
1036 Validate that the Bluetooth LED turns on and off when BT is enabled/disabled after resuming from suspend
1037 STEPS:
1038 1. Switch bluetooth off from a hardware switch (if present)
1039 2. Switch bluetooth back on
1040 3. Switch bluetooth off from the panel applet
1041 4. Switch bluetooth back on
1042 VERIFICATION:
1043 Did the bluetooth LED turn off and on twice after resuming from suspend?
1044
1045plugin: manual
1046name: suspend/led_after_suspend/camera
1047depends:
1048 camera/detect
1049 suspend/suspend_advanced
1050command: camera_test led
1051_description:
1052 PURPOSE:
1053 Validate that the camera LED still works as expected after resuming from suspend
1054 STEPS:
1055 1. Select Test to activate camera
1056 2. Camera LED should light for a few seconds
1057 VERIFICATION:
1058 Did the camera LED still turn on and off after resuming from suspend?
1059
1060plugin: manual
1061name: suspend/led_after_suspend/touchpad
1062depends: suspend/suspend_advanced
1063_description:
1064 PURPOSE:
1065 Touchpad LED verification after resuming from suspend
1066 STEPS:
1067 1. Click on the touchpad button or press key combination to enable/disable touchpad button
1068 2. Slide your finger on the touchpad
1069 VERIFICATION:
1070 1. Touchpad LED status should toggle everytime the button is clicked or the key combination is pressed
1071 2. When the LED is on, the mouse pointer should move on touchpad usage
1072 3. When the LED is off, the mouse pointer should not move on touchpad usage
1073
1074plugin: manual
1075name: suspend/led_after_suspend/wireless
1076depends: suspend/suspend_advanced
1077_description:
1078 PURPOSE:
1079 Validate Wireless (WLAN + Bluetooth) LED operated the same after resuming from suspend
1080 STEPS:
1081 1. Make sure WLAN connection is established and Bluetooth is enabled.
1082 2. WLAN/Bluetooth LED should light
1083 3. Switch WLAN and Bluetooth off from a hardware switch (if present)
1084 4. Switch them back on
1085 5. Switch WLAN and Bluetooth off from the panel applet
1086 6. Switch them back on
1087 VERIFICATION:
1088 Did the WLAN/Bluetooth LED light as expected after resuming from suspend?
1089
1090plugin: manual
1091name: suspend/keys_after_suspend/brightness
1092depends: suspend/suspend_advanced
1093requires: dmi.product in ['Notebook','Laptop','Portable']
1094_description:
1095 PURPOSE:
1096 This test will test the brightness key after resuming from suspend
1097 STEPS:
1098 1. Press the brightness buttons on the keyboard
1099 VERIFICATION:
1100 Did the brightness change following to your key presses after resuming from suspend?
1101
1102plugin: manual
1103name: suspend/keys_after_suspend/volume
1104depends: suspend/suspend_advanced
1105requires:
1106 device.category == 'KEYBOARD'
1107user: root
1108command: key_test -s '0xe02e,0xe0ae:Volume Up' '0xe030,0xe0b0:Volume Down'
1109_description:
1110 PURPOSE:
1111 This test will test the volume keys of your keyboard after resuming from suspend
1112 STEPS:
1113 1. Click test to open a window on which to test the volume keys.
1114 2. If all the keys work, the test will be marked as passed.
1115 3. If your computer has no volume keys, Skip this test.
1116 VERIFICATION:
1117 Did the volume change following to your key presses?
1118
1119plugin: manual
1120name: suspend/keys_after_suspend/mute
1121depends: suspend/suspend_advanced
1122requires:
1123 device.category == 'KEYBOARD'
1124user: root
1125command: key_test -s '0xe020,0xe0a0:Mute'
1126_description:
1127 PURPOSE:
1128 This test will test the mute key of your keyboard after resuming from suspend
1129 STEPS:
1130 1. Click test to open a window on which to test the mute key.
1131 2. If the key works, the test will pass and the window will close.
1132 VERIFICATION:
1133 Did the volume mute following your key presses?
1134
1135plugin: manual
1136name: suspend/keys_after_suspend/sleep
1137depends: suspend/suspend_advanced
1138requires:
1139 device.category == 'KEYBOARD'
1140_description:
1141 PURPOSE:
1142 This test will test the sleep key after resuming from suspend
1143 STEPS:
1144 1. Press the sleep key on the keyboard
1145 2. Wake your system up by pressing the power button
1146 VERIFICATION:
1147 Did the system go to sleep after pressing the sleep key after resuming from suspend?
1148
1149plugin: manual
1150name: suspend/keys_after_suspend/battery-info
1151depends: suspend/suspend_advanced
1152requires: dmi.product in ['Notebook','Laptop','Portable']
1153user: root
1154command: key_test -s '0xe071,0xef1:Battery Info'
1155_description:
1156 PURPOSE:
1157 This test will test the battery information key after resuming from suspend
1158 STEPS:
1159 If you do not have a Battery Button, skip this test
1160 1. Click Test to begin
1161 2. Press the Battery Info button (or combo like Fn+F3)
1162 3: Close the Power Statistics tool if it opens
1163 VERIFICATION:
1164 Did the Battery Info key work as expected after resuming from suspend?
1165
1166plugin: manual
1167name: suspend/keys_after_suspend/wireless
1168depends: suspend/suspend_advanced
1169requires: dmi.product in ['Notebook','Laptop','Portable']
1170_description:
1171 PURPOSE:
1172 This test will test the wireless key after resuming from suspend
1173 STEPS:
1174 1. Press the wireless key on the keyboard
1175 2. Press the same key again
1176 VERIFICATION:
1177 Did the wireless go off on the first press and on again on the second after resuming from suspend?
1178
1179plugin: manual
1180name: suspend/keys_after_suspend/media-control
1181depends: suspend/suspend_advanced
1182requires:
1183 device.category == 'KEYBOARD'
1184user: root
1185command: key_test -s 0xe010,0xe090:Previous 0xe024,0xe0a4:Stop 0xe019,0xe099:Next 0xe022,0xe0a2:Play
1186_description:
1187 PURPOSE:
1188 This test will test the media keys of your keyboard after resuming from suspend
1189 STEPS:
1190 1. Click test to open a window on which to test the media keys.
1191 2. If all the keys work, the test will be marked as passed.
1192 3. If your computer has no media keys, Skip this test.
1193 VERIFICATION:
1194 Do the keys work as expected after resuming from suspend?
1195
1196plugin: manual
1197name: suspend/keys_after_suspend/super
1198depends: suspend/suspend_advanced
1199requires:
1200 device.category == 'KEYBOARD'
1201user: root
1202command: key_test -s '0xe05b,0xe0db:Left Super Key'
1203_description:
1204 PURPOSE:
1205 This test will test the super key of your keyboard after resuming from suspend
1206 STEPS:
1207 1. Click test to open a window on which to test the super key.
1208 2. If the key works, the test will pass and the window will close.
1209 VERIFICATION:
1210 Does the super key work as expected after resuming from suspend?
1211
1212plugin: manual
1213name: suspend/keys_after_suspend/video-out
1214depends: suspend/suspend_advanced
1215requires: dmi.product in ['Notebook','Laptop','Portable']
1216_description:
1217 PURPOSE:
1218 Validate that the External Video hot key is working as expected after resuming from suspend
1219 STEPS:
1220 1. Plug in an external monitor
1221 2. Press the display hot key to change the monitors configuration
1222 VERIFICATION:
1223 Check that the video signal can be mirrored, extended, displayed on external or onboard only, after resuming from suspend.
1224
1225plugin: manual
1226name: suspend/keys_after_suspend/touchpad
1227depends: suspend/suspend_advanced
1228requires: dmi.product in ['Notebook','Laptop','Portable']
1229_description:
1230 PURPOSE:
1231 Verify touchpad hotkey toggles touchpad functionality on and off after resuming from suspend
1232 STEPS:
1233 1. Verify the touchpad is functional
1234 2. Tap the touchpad toggle hotkey
1235 3. Tap the touchpad toggle hotkey again
1236 VERIFICATION:
1237 Verify the touchpad has been disabled and re-enabled.
12380
=== removed file 'jobs/touchpad.txt.in'
--- jobs/touchpad.txt.in 2013-07-05 16:43:48 +0000
+++ jobs/touchpad.txt.in 1970-01-01 00:00:00 +0000
@@ -1,68 +0,0 @@
1plugin: manual
2name: touchpad/basic
3requires: dmi.product in ['Notebook','Laptop','Portable']
4_description:
5 PURPOSE:
6 Touchpad user-verify
7 STEPS:
8 1. Make sure that touchpad is enabled.
9 2. Move cursor using the touchpad.
10 VERIFICATION:
11 Did the cursor move?
12
13plugin: user-interact
14name: touchpad/horizontal
15requires:
16 'Button Horiz Wheel Left' in xinput.button_labels and 'Button Horiz Wheel Right' in xinput.button_labels
17command: touchpad_test right left
18_description:
19 PURPOSE:
20 Touchpad horizontal scroll verification
21 STEPS:
22 1. Select "Test" when ready and place your cursor within the borders of the displayed test window.
23 2. Verify that you can move the horizontal slider by moving your finger right and left in the lower part of the touchpad.
24 VERIFICATION:
25 Could you scroll right and left?
26
27plugin: user-interact
28name: touchpad/vertical
29requires:
30 'Button Wheel Up' in xinput.button_labels and 'Button Wheel Down' in xinput.button_labels
31command: touchpad_test up down
32_description:
33 PURPOSE:
34 Touchpad vertical scroll verification
35 STEPS:
36 1. Select "Test" when ready and place your cursor within the borders of the displayed test window.
37 2. Verify that you can move the vertical slider by moving your finger up and down in the right part of the touchpad.
38 VERIFICATION:
39 Could you scroll up and down?
40
41plugin: shell
42name: touchpad/singletouch-automated
43requires:
44 dmi.product in ['Notebook','Laptop','Portable']
45 xinput.device_class == 'XITouchClass' and xinput.touch_mode != 'dependent'
46command: true
47_description:
48 Determine whether the touchpad is detected as a singletouch device automatically.
49
50plugin: shell
51name: touchpad/multitouch-automated
52requires:
53 dmi.product in ['Notebook','Laptop','Portable']
54 xinput.device_class == 'XITouchClass' and xinput.touch_mode == 'dependent'
55command: true
56_description:
57 Determine whether the touchpad is detected as a multitouch device automatically.
58
59plugin: manual
60name: touchpad/multitouch-manual
61depends: touchpad/singletouch-automated
62_description:
63 PURPOSE:
64 Touchpad manual detection of multitouch.
65 STEPS:
66 1. Look at the specifications for your system.
67 VERIFICATION:
68 Is the touchpad supposed to be multitouch?
690
=== removed file 'jobs/touchscreen.txt.in'
--- jobs/touchscreen.txt.in 2012-10-22 19:43:53 +0000
+++ jobs/touchscreen.txt.in 1970-01-01 00:00:00 +0000
@@ -1,58 +0,0 @@
1plugin: manual
2name: touchscreen/tap-detect
3_description:
4 PURPOSE:
5 Check touchscreen tap recognition
6 STEPS:
7 1. Tap an object on the screen with finger. The cursor should jump to location tapped and object should highlight
8 VERIFICATION:
9 Does tap recognition work?
10
11plugin: manual
12name: touchscreen/drag-n-drop
13_description:
14 PURPOSE:
15 Check touchscreen drag & drop
16 STEPS:
17 1. Double tap, hold, and drag an object on the desktop
18 2. Drop the object in a different location
19 VERIFICATION:
20 Does the object select and drag and drop?
21
22plugin: manual
23name: touchscreen/multitouch-zoom
24_description:
25 PURPOSE:
26 Check touchscreen pinch gesture for zoom
27 STEPS:
28 1. Place two fingers on the screen and pinch them together
29 2. Place two fingers on the screen and move then apart
30 VERIFICATION:
31 Does the screen zoom in and out?
32
33plugin: shell
34name: touchscreen/nontouch-automated
35requires:
36 xinput.device_class == 'XITouchClass' and xinput.touch_mode != 'direct'
37command: true
38_description:
39 Determine whether the screen is detected as a non-touch device automatically.
40
41plugin: shell
42name: touchscreen/multitouch-automated
43requires:
44 xinput.device_class == 'XITouchClass' and xinput.touch_mode == 'direct'
45command: true
46_description:
47 Determine whether the screen is detected as a multitouch device automatically.
48
49plugin: manual
50name: touchscreen/multitouch-manual
51depends: touchscreen/nontouch-automated
52_description:
53 PURPOSE:
54 Touchscreen manual detection of multitouch.
55 STEPS:
56 1. Look at the specifications for your system.
57 VERIFICATION:
58 Is the screen supposed to be multitouch?
590
=== removed file 'jobs/user_apps.txt.in'
--- jobs/user_apps.txt.in 2012-07-25 19:08:46 +0000
+++ jobs/user_apps.txt.in 1970-01-01 00:00:00 +0000
@@ -1,505 +0,0 @@
1plugin: manual
2name: software/update_manager_finds_updates
3depends: networking/detect
4user: root
5requires: package.name == 'update-manager'
6_description:
7 PURPOSE:
8 This test will check that the update manager can find updates.
9 STEPS:
10 1. Click Test to launch update-manager.
11 2. Follow the prompts and if updates are found, install them.
12 3. When Update Manager has finished, please close the app by clicking the Close button in the lower right corner.
13 VERIFICATION:
14 Did Update manager find and install updates (Pass if no updates are found,
15 but Fail if updates are found but not installed)
16command: update-manager --check-dist-upgrades
17
18plugin: manual
19name: software/nautilus_folder_create
20requires: package.name == 'nautilus'
21command: nautilus
22_description:
23 PURPOSE:
24 This test will check that the file browser can create a new folder.
25 STEPS:
26 1. Click Test to open the File Browser.
27 2. On the menu bar, click File -> Create Folder.
28 3. In the name box for the new folder, enter the name Test Folder and hit Enter.
29 4. Close the File browser.
30 VERIFICATION:
31 Do you now have a new folder called Test Folder?
32
33plugin: manual
34name: software/nautilus_folder_copy
35depends: software/nautilus_folder_create
36command: nautilus
37_description:
38 PURPOSE:
39 This test will check that the file browser can copy a folder
40 STEPS:
41 1. Click Test to open the File Browser.
42 2. Right click on the folder called Test Folder and click on Copy.
43 3. Right Click on any white area in the window and click on Paste.
44 4. Right click on the folder called Test Folder(copy) and click Rename.
45 5. Enter the name Test Data in the name box and hit Enter.
46 6. Close the File browser.
47 VERIFICATION:
48 Do you now have a folder called Test Data?
49
50plugin: manual
51name: software/nautilus_folder_move
52depends: software/nautilus_folder_copy
53command: nautilus
54_description:
55 PURPOSE:
56 This test will verify that the file browser can move a folder.
57 STEPS:
58 1. Click Test to open the File Browser.
59 2. Click and drag the folder called Test Data onto the icon called Test Folder.
60 3. Release the button.
61 4. Double click the folder called Test Folder to open it up.
62 5. Close the File Browser.
63 VERIFICATION:
64 Was the folder called Test Data successfully moved into the folder called Test Folder?
65
66plugin: manual
67name: software/nautilus_file_create
68depends: software/nautilus_folder_create
69command: nautilus $HOME/"Test Folder"
70_description:
71 PURPOSE:
72 This test will check that the file browser can create a new file.
73 STEPS:
74 1. Click Select Test to open the File Browser.
75 2. Right click in the white space and click Create Document -> Empty Document.
76 3. Enter the name Test File 1 in the name box and hit Enter.
77 4. Close the File browser.
78 VERIFICATION:
79 Do you now have a file called Test File 1?
80
81plugin: manual
82name: software/nautilus_file_copy
83depends: software/nautilus_file_create
84command: nautilus $HOME/"Test Folder"
85_description:
86 PURPOSE:
87 This test will check that the file browser can copy a file.
88 STEPS:
89 1. Click Test to open the File Browser.
90 2. Right click on the file called Test File 1 and click Copy.
91 3. Right click in the white space and click Paste.
92 4. Right click on the file called Test File 1(copy) and click Rename.
93 5. Enter the name Test File 2 in the name box and hit Enter.
94 6. Close the File Browser.
95 VERIFICATION:
96 Do you now have a file called Test File 2?
97
98plugin: manual
99name: software/nautilus_file_move
100depends: software/nautilus_file_copy
101command: nautilus $HOME/"Test Folder"
102_description:
103 PURPOSE:
104 This test will check that the file browser can move a file.
105 STEPS:
106 1. Click Test to open the File Browser.
107 2. Click and drag the file called Test File 2 onto the icon for the folder called Test Data.
108 3. Release the button.
109 4. Double click the icon for Test Data to open that folder up.
110 5. Close the File Browser.
111 VERIFICATION:
112 Was the file Test File 2 successfully moved into the Test Data folder?
113
114plugin: manual
115name: software/nautilus_file_delete
116depends: software/nautilus_file_create
117command: nautilus $HOME/"Test Folder"
118_description:
119 PURPOSE:
120 This test will check that the file browser can delete a file.
121 STEPS:
122 1. Click Test to open the File Browser.
123 2. Right click on the file called Test File 1 and click on Move To Trash.
124 3. Verify that Test File 1 has been removed.
125 4. Close the File Browser.
126 VERIFICATION:
127 Is Test File 1 now gone?
128
129plugin: manual
130name: software/nautilus_folder_delete
131depends: software/nautilus_folder_create
132command: nautilus
133_description:
134 PURPOSE:
135 This test will check that the file browser can delete a folder.
136 STEPS:
137 1. Click Test to open the File Browser.
138 2. Right click on the folder called Test Folder and click on Move To Trash.
139 3. Verify that the folder was deleted.
140 4. Close the file browser.
141 VERIFICATION:
142 Has Test Folder been successfully deleted?
143
144plugin: local
145name: software/view_office_document
146requires: package.name == "ubuntu-desktop"
147_description: Common Document Types Test
148command:
149 cat <<'EOF' | run_templates -s "find $CHECKBOX_SHARE/data/documents -type f"
150 name: `basename $0`_test
151 plugin: manual
152 description:
153 PURPOSE:
154 This test will check that common office document types can be opened in the default application.
155 STEPS:
156 1. Click Test to open the file '$0' with its default viewer.
157 2. After the viewer opens, check out the file that was opened.
158 3. Close the application (LibreOffice, Doc Viewer, etc.)
159 VERIFICATION:
160 Did the application open the document properly? (e.g was it displayed and did it function properly?)
161 command: xdg-open $0
162 EOF
163
164plugin: local
165name: software/audio_file_play
166requires: package.name == "ubuntu-desktop"
167_description: Common Document Types Test
168command:
169 cat <<'EOF' | run_templates -s "find $CHECKBOX_SHARE/data/audio -type f"
170 name: `basename $0`_test
171 plugin: manual
172 description:
173 PURPOSE:
174 This test will check that common audio files can be opened in the default player.
175 STEPS:
176 1. Click Test to open the audio file '$0' with its default player.
177 2. After the player opens listen to the sound.
178 3. Close the application.
179 VERIFICATION:
180 Did the application play the audio file properly? (no skips, crackles, etc)
181 command: xdg-open $0
182 EOF
183
184plugin: local
185name: software/video_file_play
186requires: package.name == "ubuntu-desktop"
187_description: Common Document Types Test
188command:
189 cat <<'EOF' | run_templates -s "find $CHECKBOX_SHARE/data/video -type f"
190 name: `basename $0`_test
191 plugin: manual
192 description:
193 PURPOSE:
194 This test will check that common video files can be played in the default player.
195 STEPS:
196 1. Click Test to play the video '$0' with its default player.
197 2. Watch the video.
198 3. Close the application.
199 VERIFICATION:
200 Did the application play '$0' proplerly (no video or audio issues with playback?)
201 command: xdg-open $0
202 EOF
203
204plugin: local
205name: software/view_image_file
206requires: package.name == "ubuntu-desktop"
207_description: Common Document Types Test
208command:
209 cat <<'EOF' | run_templates -s "find $CHECKBOX_SHARE/data/images -type f"
210 name: `basename $0`_test
211 plugin: manual
212 description:
213 PURPOSE:
214 This test will check that common image formats can be opened in the default viewer.
215 STEPS:
216 1. Click Test to attempt to open the image '$0' with its default viewer.
217 2. Check out the file that was opened.
218 3. Close the application.
219 VERIFICATION:
220 Did the image display properly?
221 command: xdg-open $0
222 EOF
223
224plugin: manual
225name: software/firefox
226requires: package.name == 'firefox'
227command: firefox $CHECKBOX_SHARE/data/websites/testindex.html
228_description:
229 PURPOSE:
230 This test will check that Firefox can render a basic web page.
231 STEPS:
232 1. Select Test to launch Firefox and view the test web page.
233 VERIFICATION:
234 Did the Ubuntu Test page load correctly?
235
236plugin: manual
237name: software/firefox-java
238depends: software/firefox
239requires: package.name == 'firefox'
240command: firefox $CHECKBOX_SHARE/data/websites/javatest.html
241_description:
242 PURPOSE:
243 This test will check that Firefox can run a java applet in a web page. Note:
244 this may require installing additional software to complete successfully.
245 STEPS:
246 1. Select Test to open Firefox with the Java test page, and follow the instructions there.
247 VERIFICATION:
248 Did the applet display?
249
250plugin: manual
251name: software/firefox-flash
252depends: software/firefox
253requires: package.name == 'firefox'
254command: firefox $CHECKBOX_SHARE/data/websites/flashtest.html
255_description:
256 PURPOSE:
257 This test will check that Firefox can run flash applications. Note: this may
258 require installing additional software to successfully complete.
259 STEPS:
260 1. Select Test to launch Firefox and view a sample Flash test.
261 VERIFICATION:
262 Did you see the text?
263
264plugin: manual
265name: software/firefox-flash-video
266depends: software/firefox-flash
267requires: package.name == 'firefox'
268command: firefox $CHECKBOX_SHARE/data/websites/flashvideo.html
269_description:
270 PURPOSE:
271 This test will check that Firefox can play a Flash video. Note: this may
272 require installing additional software to successfully complete.
273 STEPS:
274 1. Select Test to launch Firefox and view a short flash video.
275 VERIFICATION:
276 Did the video play correctly?
277
278plugin: manual
279name: software/firefox-totem
280depends: software/firefox
281requires:
282 package.name == 'firefox'
283 package.name == 'gstreamer0.10-ffmpeg'
284command: firefox $CHECKBOX_SHARE/data/video/Quicktime_Video.mov
285_description:
286 PURPOSE:
287 This test will check that Firefox can play a Quicktime (.mov) video file.
288 Note: this may require installing additional software to successfully
289 complete.
290 STEPS:
291 1. Select Test to launch Firefox with a sample video.
292 VERIFICATION:
293 Did the video play using a plugin?
294
295plugin: manual
296name: software/empathy-facebook_chat
297requires: package.name == "empathy"
298command: empathy
299_description:
300 PURPOSE:
301 This test will check that Empathy messaging client works.
302 STEPS:
303 1. Select Test to launch Empathy.
304 2. Configure it to connect to the Facebook Chat service.
305 3. Once you have completed the test, please quit Empathy to continue here.
306 VERIFICATION:
307 Were you able to connect correctly and send/receive messages?
308
309plugin: manual
310name: software/empathy-google_talk
311requires: package.name == "empathy"
312command: empathy
313_description:
314 PURPOSE:
315 This test will check that Empathy messaging client works.
316 STEPS:
317 1. Select Test to launch Empathy.
318 2. Configure it to connect to the Google Talk (gtalk) service.
319 3. Once you have completed the test, please quit Empathy to continue here.
320 VERIFICATION:
321 Were you able to connect correctly and send/receive messages?
322
323plugin: manual
324name: software/empathy-jabber
325requires: package.name == "empathy"
326command: empathy
327_description:
328 PURPOSE:
329 This test will check that Empathy messaging client works.
330 STEPS:
331 1. Select Test to launch Empathy.
332 2. Configure it to connect to the Jabber service.
333 3. Once you have completed the test, please quit Empathy to continue here.
334 VERIFICATION:
335 Were you able to connect correctly and send/receive messages?
336
337plugin: manual
338name: software/empathy-aim
339requires: package.name == "empathy"
340command: empathy
341_description:
342 PURPOSE:
343 This test will check that Empathy messaging client works.
344 STEPS:
345 1. Select Test to launch Empathy.
346 2. Configure it to connect to the AOL Instant Messaging (AIM) service.
347 3. Once you have completed the test, please quit Empathy to continue here.
348 VERIFICATION:
349 Were you able to connect correctly and send/receive messages?
350
351plugin: manual
352name: software/empathy-msn
353requires: package.name == "empathy"
354command: empathy
355_description:
356 PURPOSE:
357 This test will check that Empathy messaging client works.
358 STEPS:
359 1. Select Test to launch Empathy.
360 2. Configure it to connect to the Microsoft Network (MSN) service.
361 3. Once you have completed the test, please quit Empathy to continue here.
362 VERIFICATION:
363 Were you able to connect correctly and send/receive messages?
364
365plugin: manual
366name: software/evolution-pop3
367requires: package.name == "evolution"
368command: evolution
369_description:
370 PURPOSE:
371 This test will check that Evolution works.
372 STEPS:
373 1. Click the "Test" button to launch Evolution.
374 2. Configure it to connect to a POP3 account.
375 VERIFICATION:
376 Were you able to receive and read e-mail correctly?
377
378plugin: manual
379name: software/evolution-imap
380requires: package.name == "evolution"
381command: evolution
382_description:
383 PURPOSE:
384 This test will check that Evolution works.
385 STEPS:
386 1. Click the "Test" button to launch Evolution.
387 2. Configure it to connect to a IMAP account.
388 VERIFICATION:
389 Were you able to receive and read e-mail correctly?
390
391plugin: manual
392name: software/evolution-smtp
393requires: package.name == "evolution"
394command: evolution
395_description:
396 PURPOSE:
397 This test will check that Evolution works.
398 STEPS:
399 1. Click the "Test" button to launch Evolution.
400 2. Configure it to connect to a SMTP account.
401 VERIFICATION:
402 Were you able to send e-mail without errors?
403
404plugin: manual
405name: software/gcalctool
406requires: package.name == "gcalctool"
407command: gcalctool
408_description:
409 PURPOSE:
410 This test checks that gcalctool (Calculator) works.
411 STEPS:
412 Click the "Test" button to open the calculator.
413 VERIFICATION:
414 Did it launch correctly?
415
416plugin: manual
417name: software/gcalctool-functions
418depends: software/gcalctool
419requires: package.name == "gcalctool"
420command: gcalctool
421_description:
422 PURPOSE:
423 This test checks that gcalctool (Calculator) works.
424 STEPS:
425 Click the "Test" button to open the calculator and perform:
426 1. Simple math functions (+,-,/,*)
427 2. Nested math functions ((,))
428 3. Fractional math
429 4. Decimal math
430 VERIFICATION:
431 Did the functions perform as expected?
432
433plugin: manual
434name: software/gcalctool-memory
435depends: software/gcalctool
436requires: package.name == "gcalctool"
437command: gcalctool
438_description:
439 PURPOSE:
440 This test checks that gcalctool (Calculator) works.
441 STEPS:
442 Click the "Test" button to open the calculator and perform:
443 1. Memory set
444 2. Memory reset
445 3. Memory last clear
446 4. Memory clear
447 VERIFICATION:
448 Did the functions perform as expected?
449
450plugin: manual
451name: software/gcalctool-clipboard
452depends: software/gcalctool
453requires: package.name == "gcalctool"
454command: gcalctool
455_description:
456 PURPOSE:
457 This test checks that gcalctool (Calculator) works.
458 STEPS:
459 Click the "Test" button to open the calculator and perform:
460 1. Cut
461 2. Copy
462 3. Paste
463 VERIFICATION:
464 Did the functions perform as expected?
465
466plugin: manual
467name: software/gedit
468requires: package.name == "gedit"
469command: gedit
470_description:
471 PURPOSE:
472 This test checks that gedit works.
473 STEPS:
474 1. Click the "Test" button to open gedit.
475 2. Enter some text and save the file (make a note of the file name you use), then close gedit.
476 VERIFICATION:
477 Did this perform as expected?
478
479plugin: manual
480name: software/gedit-read
481depends: software/gedit
482requires: package.name == "gedit"
483command: gedit
484_description:
485 PURPOSE:
486 This test checks that gedit works.
487 STEPS:
488 1. Click the "Test" button to open gedit, and re-open the file you created previously.
489 2. Edit then save the file, then close gedit.
490 VERIFICATION:
491 Did this perform as expected?
492
493plugin: manual
494name: software/gnome-terminal
495requires: package.name == "gnome-terminal"
496command: gnome-terminal
497_description:
498 PURPOSE:
499 This test will check that Gnome Terminal works.
500 STEPS:
501 1. Click the "Test" button to open Terminal.
502 2. Type 'ls' and press enter. You should see a list of files and folder in your home directory.
503 3. Close the terminal window.
504 VERIFICATION:
505 Did this perform as expected?
5060
=== removed file 'jobs/wireless.txt.in'
--- jobs/wireless.txt.in 2013-04-18 11:48:32 +0000
+++ jobs/wireless.txt.in 1970-01-01 00:00:00 +0000
@@ -1,221 +0,0 @@
1plugin: shell
2name: wireless/wireless_scanning
3requires:
4 package.name == 'network-manager'
5 device.category == 'WIRELESS'
6command:
7 rfkill unblock wlan wifi
8 if rfkill list wlan wifi | grep -q 'Hard blocked: yes'; then
9 echo "Hard block is applied to WiFi device. Please remove and retest."
10 exit 1
11 fi
12 wireless_networks=`nmcli -f SSID dev wifi list`
13 if [ `echo "$wireless_networks" | wc -l` -gt 1 ]; then
14 echo "Wireless networks discovered: "
15 echo "$wireless_networks"
16 exit 0
17 fi
18 echo "No wireless networks discovered."
19 exit 1
20_description: Wireless scanning test. It scans and reports on discovered APs.
21
22plugin: manual
23name: wireless/wireless_connection
24command: network_check
25requires: device.category == 'WIRELESS'
26_description:
27 PURPOSE:
28 This test will check your wireless connection.
29 STEPS:
30 1. Click on the Network icon in the panel.
31 2. Select a network below the 'Wireless networks' section.
32 3. Click "Test" to verify that it's possible to establish an HTTP connection.
33 VERIFICATION:
34 Did a notification show and was the connection correctly established?
35
36plugin: shell
37name: wireless/wireless_connection_wpa_bg
38requires:
39 device.category == 'WIRELESS'
40 environment.ROUTERS == 'multiple'
41user: root
42environ: WPA_BG_SSID WPA_BG_PSK
43command: 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}'`
44_description:
45 Tests that the systems wireless hardware can connect to a router using WPA
46 security and the 802.11b/g protocols.
47
48plugin: shell
49name: wireless/wireless_connection_open_bg
50requires:
51 device.category == 'WIRELESS'
52 environment.ROUTERS == 'multiple'
53user: root
54environ: OPEN_BG_SSID
55command: 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}'`
56_description:
57 Tests that the systems wireless hardware can connect to a router using no
58 security and the 802.11b/g protocols.
59
60plugin: shell
61name: wireless/wireless_connection_wpa_n
62requires:
63 device.category == 'WIRELESS'
64 environment.ROUTERS == 'multiple'
65user: root
66environ: WPA_N_SSID WPA_N_PSK
67command: 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}'`
68_description:
69 Tests that the systems wireless hardware can connect to a router using WPA
70 security and the 802.11n protocol.
71
72plugin: shell
73name: wireless/wireless_connection_open_n
74requires:
75 device.category == 'WIRELESS'
76 environment.ROUTERS == 'multiple'
77user: root
78environ: OPEN_N_SSID
79command: 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}'`
80_description:
81 Tests that the systems wireless hardware can connect to a router using no
82 security and the 802.11n protocol.
83
84plugin: manual
85name: wireless/wireless_connection_wpa_bg_manual
86requires:
87 device.category == 'WIRELESS'
88 environment.ROUTERS == 'single'
89user: root
90environ: ROUTER_SSID ROUTER_PSK
91command: 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}'`
92_description:
93 PURPOSE:
94 Tests that the systems wireless hardware can connect to a router using WPA
95 security and the 802.11b/g protocols.
96 STEPS:
97 1. Open your routers configuration tool
98 2. Change the settings to only accept connections on the B and G wireless bands
99 3. Make sure the SSID is set to ROUTER_SSID
100 4. Change the security settings to use WPA2 and ensure the PSK matches that set in ROUTER_PSK
101 5. Click the 'Test' button to create a connection to the router and test the connection
102 VERIFICATION:
103 Verification is automated, do not change the automatically selected result.
104
105plugin: manual
106name: wireless/wireless_connection_open_bg_manual
107requires:
108 device.category == 'WIRELESS'
109 environment.ROUTERS == 'single'
110user: root
111environ: ROUTER_SSID
112command: 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}'`
113_description:
114 PURPOSE:
115 Tests that the systems wireless hardware can connect to a router using
116 no security and the 802.11b/g protocols.
117 STEPS:
118 1. Open your routers configuration tool
119 2. Change the settings to only accept connections on the B and G wireless bands
120 3. Make sure the SSID is set to ROUTER_SSID
121 4. Change the security settings to use no security
122 5. Click the 'Test' button to create a connection to the router and test the connection
123 VERIFICATION:
124 Verification is automated, do not change the automatically selected result.
125
126plugin: manual
127name: wireless/wireless_connection_wpa_n_manual
128requires:
129 device.category == 'WIRELESS'
130 environment.ROUTERS == 'single'
131user: root
132environ: ROUTER_SSID ROUTER_PSK
133command: 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}'`
134_description:
135 PURPOSE:
136 Tests that the systems wireless hardware can connect to a router using WPA
137 security and the 802.11n protocols.
138 STEPS:
139 1. Open your routers configuration tool
140 2. Change the settings to only accept connections on the N wireless band
141 3. Make sure the SSID is set to ROUTER_SSID
142 4. Change the security settings to use WPA2 and ensure the PSK matches that set in ROUTER_PSK
143 5. Click the 'Test' button to create a connection to the router and test the connection
144 VERIFICATION:
145 Verification is automated, do not change the automatically selected result.
146
147plugin: manual
148name: wireless/wireless_connection_open_n_manual
149requires:
150 device.category == 'WIRELESS'
151 environment.ROUTERS == 'single'
152user: root
153environ: ROUTER_SSID
154command: 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}'`
155_description:
156 PURPOSE:
157 Tests that the systems wireless hardware can connect to a router using
158 no security and the 802.11n protocol.
159 STEPS:
160 1. Open your routers configuration tool
161 2. Change the settings to only accept connections on the N wireless band
162 3. Make sure the SSID is set to ROUTER_SSID
163 4. Change the security settings to use no security
164 5. Click the 'Test' button to create a connection to the router and test the connection
165 VERIFICATION:
166 Verification is automated, do not change the automatically selected result.
167
168plugin: shell
169name: wireless/monitor_wireless_connection
170requires:
171 package.name == 'iperf'
172 device.category == 'WIRELESS'
173user: root
174environ: WPA_BG_SSID WPA_BG_PSK SERVER_IPERF
175command: 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
176_description:
177 Tests the performance of a systems wireless connection through the iperf tool.
178
179plugin: shell
180name: wireless/monitor_wireless_connection_udp
181requires:
182 package.name == 'iperf'
183 device.category == 'WIRELESS'
184user: root
185environ: WPA_BG_SSID WPA_BG_PSK SERVER_IPERF
186command: 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
187_description:
188 Tests the performance of a systems wireless connection through the iperf tool, using UDP packets.
189
190plugin: shell
191name: wireless/wireless_connection_open_a
192requires: device.category == 'WIRELESS'
193user: root
194environ: OPEN_A_SSID
195command: 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}'`
196_description:
197 Test that the system's wireless hardware can connect to a router using the
198 802.11a protocol. This requires that you have a router pre-configured to only
199 respond to requests on the 802.11a protocol.
200
201plugin: shell
202name: wireless/wireless_connection_open_b
203requires: device.category == 'WIRELESS'
204user: root
205environ: OPEN_B_SSID
206command: 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}'`
207_description:
208 Test that the system's wireless hardware can connect to a router using the
209 802.11b protocol. This requires that you have a router pre-configured to only
210 respond to requests on the 802.11b protocol.
211
212plugin: shell
213name: wireless/wireless_connection_open_g
214requires: device.category == 'WIRELESS'
215user: root
216environ: OPEN_G_SSID
217command: 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}'`
218_description:
219 Test that the system's wireless hardware can connect to a router using the
220 802.11g protocol. This requires that you have a router pre-configured to only
221 respond to requests on the 802.11g protocol.
2220
=== modified file 'po/POTFILES.in'
--- po/POTFILES.in 2013-08-06 16:40:53 +0000
+++ po/POTFILES.in 2013-08-19 20:47:35 +0000
@@ -1,54 +1,24 @@
1[encoding: UTF-8]1[encoding: UTF-8]
2[type: gettext/glade] gtk/checkbox-gtk.ui2[type: gettext/glade] gtk/checkbox-gtk.ui
3qt/checkbox-qt.desktop.in3qt/checkbox-qt.desktop.in
4[type: gettext/rfc822deb] jobs/audio.txt.in
5[type: gettext/rfc822deb] jobs/benchmarks.txt.in4[type: gettext/rfc822deb] jobs/benchmarks.txt.in
6[type: gettext/rfc822deb] jobs/bluetooth.txt.in
7[type: gettext/rfc822deb] jobs/camera.txt.in
8[type: gettext/rfc822deb] jobs/codecs.txt.in
9[type: gettext/rfc822deb] jobs/cpu.txt.in5[type: gettext/rfc822deb] jobs/cpu.txt.in
10[type: gettext/rfc822deb] jobs/daemons.txt.in
11[type: gettext/rfc822deb] jobs/dcmi_in_band.txt.in6[type: gettext/rfc822deb] jobs/dcmi_in_band.txt.in
12[type: gettext/rfc822deb] jobs/disk.txt.in7[type: gettext/rfc822deb] jobs/disk.txt.in
13[type: gettext/rfc822deb] jobs/esata.txt.in
14[type: gettext/rfc822deb] jobs/expresscard.txt.in
15[type: gettext/rfc822deb] jobs/fingerprint.txt.in
16[type: gettext/rfc822deb] jobs/firewire.txt.in
17[type: gettext/rfc822deb] jobs/floppy.txt.in
18[type: gettext/rfc822deb] jobs/graphics.txt.in
19[type: gettext/rfc822deb] jobs/hibernate.txt.in
20[type: gettext/rfc822deb] jobs/info.txt.in8[type: gettext/rfc822deb] jobs/info.txt.in
21[type: gettext/rfc822deb] jobs/input.txt.in
22[type: gettext/rfc822deb] jobs/install.txt.in
23[type: gettext/rfc822deb] jobs/ipmi_out_of_band.txt.in9[type: gettext/rfc822deb] jobs/ipmi_out_of_band.txt.in
24[type: gettext/rfc822deb] jobs/keys.txt.in
25[type: gettext/rfc822deb] jobs/led.txt.in
26[type: gettext/rfc822deb] jobs/local.txt.in10[type: gettext/rfc822deb] jobs/local.txt.in
27[type: gettext/rfc822deb] jobs/mediacard.txt.in
28[type: gettext/rfc822deb] jobs/memory.txt.in11[type: gettext/rfc822deb] jobs/memory.txt.in
29[type: gettext/rfc822deb] jobs/miscellanea.txt.in12[type: gettext/rfc822deb] jobs/miscellanea.txt.in
30[type: gettext/rfc822deb] jobs/mobilebroadband.txt.in
31[type: gettext/rfc822deb] jobs/monitor.txt.in
32[type: gettext/rfc822deb] jobs/networking.txt.in13[type: gettext/rfc822deb] jobs/networking.txt.in
33[type: gettext/rfc822deb] jobs/optical.txt.in14[type: gettext/rfc822deb] jobs/optical.txt.in
34[type: gettext/rfc822deb] jobs/panel_clock_test.txt.in
35[type: gettext/rfc822deb] jobs/panel_reboot.txt.in
36[type: gettext/rfc822deb] jobs/peripheral.txt.in
37[type: gettext/rfc822deb] jobs/piglit.txt.in
38[type: gettext/rfc822deb] jobs/power-management.txt.in15[type: gettext/rfc822deb] jobs/power-management.txt.in
39[type: gettext/rfc822deb] jobs/rendercheck.txt.in
40[type: gettext/rfc822deb] jobs/resource.txt.in16[type: gettext/rfc822deb] jobs/resource.txt.in
41[type: gettext/rfc822deb] jobs/server-services.txt.in
42[type: gettext/rfc822deb] jobs/smoke.txt.in17[type: gettext/rfc822deb] jobs/smoke.txt.in
43[type: gettext/rfc822deb] jobs/sniff.txt.in18[type: gettext/rfc822deb] jobs/sniff.txt.in
44[type: gettext/rfc822deb] jobs/stress.txt.in19[type: gettext/rfc822deb] jobs/stress.txt.in
45[type: gettext/rfc822deb] jobs/suspend.txt.in
46[type: gettext/rfc822deb] jobs/touchpad.txt.in
47[type: gettext/rfc822deb] jobs/touchscreen.txt.in
48[type: gettext/rfc822deb] jobs/usb.txt.in20[type: gettext/rfc822deb] jobs/usb.txt.in
49[type: gettext/rfc822deb] jobs/user_apps.txt.in
50[type: gettext/rfc822deb] jobs/virtualization.txt.in21[type: gettext/rfc822deb] jobs/virtualization.txt.in
51[type: gettext/rfc822deb] jobs/wireless.txt.in
52checkbox/application.py22checkbox/application.py
53checkbox/job.py23checkbox/job.py
54checkbox/lib/signal.py24checkbox/lib/signal.py
@@ -71,8 +41,6 @@
71plugins/shell_test.py41plugins/shell_test.py
72plugins/suites_prompt.py42plugins/suites_prompt.py
73plugins/user_interface.py43plugins/user_interface.py
74scripts/keyboard_test
75scripts/key_test
76scripts/internet_test44scripts/internet_test
77checkbox_qt/qt_interface.py45checkbox_qt/qt_interface.py
78qt/frontend/checkboxtr.cpp46qt/frontend/checkboxtr.cpp
7947
=== removed file 'scripts/accelerometer_test'
--- scripts/accelerometer_test 2012-08-30 16:00:12 +0000
+++ scripts/accelerometer_test 1970-01-01 00:00:00 +0000
@@ -1,347 +0,0 @@
1#!/usr/bin/env python3
2'''
3script to test accerometer functionality
4
5Copyright (C) 2012 Canonical Ltd.
6
7Authors
8 Jeff Marcom <jeff.marcom@canonical.com>
9
10This program is free software: you can redistribute it and/or modify
11it under the terms of the GNU General Public License version 3,
12as published by the Free Software Foundation.
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with this program. If not, see <http://www.gnu.org/licenses/>.
21
22The purpose of this script is to simply interact with an onboard
23accelerometer, and check to be sure that the x, y, z axis respond
24to physical movement of hardware.
25'''
26from argparse import ArgumentParser
27from gi.repository import Gdk, GLib, Gtk
28import logging
29import os
30import re
31import sys
32import threading
33import time
34from subprocess import Popen, PIPE, check_output, STDOUT, CalledProcessError
35from checkbox.parsers.modinfo import ModinfoParser
36
37handler = logging.StreamHandler()
38logger = logging.getLogger()
39logger.addHandler(handler)
40logger.setLevel(logging.DEBUG)
41
42
43class AccelerometerUI(Gtk.Window):
44 """Builds UI Framework for axis threshold tests using Gtk"""
45
46 def __init__(self):
47 Gtk.Window.__init__(self, title="Accelerometer Test")
48
49 self.set_default_size(450, 100)
50 self.set_type_hint(Gdk.WindowType.TOPLEVEL)
51
52 self.enabled = False
53
54 # Create UI Grid
55 w_table = Gtk.Grid()
56 self.add(w_table)
57
58 # Create axis buttons
59 self.up_icon = Gtk.Image(stock=Gtk.STOCK_GO_UP)
60 self.up_icon.set_padding(10, 30)
61 self.down_icon = Gtk.Image(stock=Gtk.STOCK_GO_DOWN)
62 self.down_icon.set_padding(10, 30)
63 self.left_icon = Gtk.Image(stock=Gtk.STOCK_GO_BACK)
64 self.right_icon = Gtk.Image(stock=Gtk.STOCK_GO_FORWARD)
65
66 # Set debug
67 self.debug_label = Gtk.Label("Debug")
68
69 # Set Grid layout for UI
70 message = "Please tilt your hardware in the positions shown below:"
71 w_table.attach(Gtk.Label(message), 0, 0, 4, 1)
72
73 w_table.attach(self.up_icon, 2, 2, 1, 1)
74 w_table.attach_next_to(self.debug_label, self.up_icon,
75 Gtk.PositionType.BOTTOM, 1, 1)
76 w_table.attach_next_to(self.down_icon, self.debug_label,
77 Gtk.PositionType.BOTTOM, 1, 1)
78 w_table.attach_next_to(self.left_icon, self.debug_label,
79 Gtk.PositionType.LEFT, 1, 1)
80 w_table.attach_next_to(self.right_icon, self.debug_label,
81 Gtk.PositionType.RIGHT, 1, 1)
82
83 def update_axis_icon(self, direction):
84 """Change desired directional icon to checkmark"""
85 exec('self.%s_icon.set_from_stock' % (direction) \
86 + '(Gtk.STOCK_YES, size=Gtk.IconSize.BUTTON)')
87
88 def update_debug_label(self, text):
89 """Update axis information in center of UI"""
90 self.debug_label.set_text(text)
91
92 def destroy(self):
93 Gtk.main_quit()
94
95 def enable(self):
96 self.enabled = True
97 self.connect("delete-event", Gtk.main_quit)
98 self.show_all()
99
100 # Enable GLib/Gdk threading so the UI won't lock main
101 GLib.threads_init()
102 Gdk.threads_init()
103 Gdk.threads_enter()
104 Gtk.main()
105 Gdk.threads_leave()
106
107
108class PermissionException(RuntimeError):
109 def __init__(self, error):
110 message = "Please re-run with root permissions: %s" % error.strip()
111 super(PermissionException, self).__init__(message)
112
113
114class AxisData(threading.Thread):
115 """Acquire information from kernel regarding the state of the
116 accelerometer axis positions. Gathered data will be compared to
117 a preset threshold reading. The default threshold (either - or + )
118 for any direction is 600. Return values for thread are SUCCESS:0
119 FAILURE:1. FAILURE is likely to exists when thread is unable to
120 obtain a valid reading from the hardware."""
121
122 def __init__(self, device_path, ui_control=None):
123 threading.Thread.__init__(self)
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches