Merge lp:~ubuntu-branches/ubuntu/oneiric/checkbox/oneiric-201109020306 into lp:ubuntu/oneiric/checkbox

Proposed by Ubuntu Package Importer
Status: Needs review
Proposed branch: lp:~ubuntu-branches/ubuntu/oneiric/checkbox/oneiric-201109020306
Merge into: lp:ubuntu/oneiric/checkbox
Diff against target: 612 lines (+312/-38) (has conflicts)
18 files modified
debian/po/de.po (+1/-2)
debian/po/en_AU.po (+1/-2)
debian/po/en_GB.po (+1/-2)
debian/po/es.po (+3/-3)
debian/po/fr.po (+1/-2)
debian/po/he.po (+1/-2)
debian/po/hu.po (+1/-2)
debian/po/it.po (+1/-2)
debian/po/ja.po (+4/-8)
debian/po/nl.po (+1/-2)
debian/po/pl.po (+1/-2)
debian/po/pt_BR.po (+1/-2)
debian/po/ru.po (+1/-2)
debian/po/zh_TW.po (+2/-5)
jobs/hibernate.txt.in (+14/-0)
jobs/suspend.txt.in (+209/-0)
jobs/wireless.txt.in (+20/-0)
scripts/audio_test (+49/-0)
Conflict adding file jobs/hibernate.txt.in.  Moved existing file to jobs/hibernate.txt.in.moved.
Conflict adding file jobs/suspend.txt.in.  Moved existing file to jobs/suspend.txt.in.moved.
Conflict adding file jobs/wireless.txt.in.  Moved existing file to jobs/wireless.txt.in.moved.
Conflict adding file scripts/audio_test.  Moved existing file to scripts/audio_test.moved.
To merge this branch: bzr merge lp:~ubuntu-branches/ubuntu/oneiric/checkbox/oneiric-201109020306
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+73898@code.launchpad.net

Description of the change

The package importer has detected a possible inconsistency between the package history in the archve and the history in bzr. As the archive is authoritative the importer has made lp:ubuntu/oneiric/checkbox reflect what is in the archive and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/oneiric/checkbox/oneiric-201109020306. This merge proposal was created so that an Ubuntu developer can review the situations and perform a merge/upload if necessary. There are three typical cases where this can happen.
  1. Where someone pushes a change to bzr and someone else uploads the package without that change. This is the reason that this check is done by the importer. If this appears to be the case then a merge/upload should be done if the changes that were in bzr are still desirable.
  2. The importer incorrectly detected the above situation when someone made a change in bzr and then uploaded it.
  3. The importer incorrectly detected the above situation when someone just uploaded a package and didn't touch bzr.

If this case doesn't appear to be the first situation then set the status of the merge proposal to "Rejected" and help avoid the problem in future by filing a bug at https://bugs.launchpad.net/udd linking to this merge proposal.

(this is an automatically generated message)

To post a comment you must log in.

Unmerged revisions

32. By Luke Yelavich

Merge branch lp:~apulido/ubuntu/oneiric/checkbox/checkbox_0.12.5

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/po/de.po'
2--- debian/po/de.po 2011-08-10 21:09:56 +0000
3+++ debian/po/de.po 2011-09-02 22:56:24 +0000
4@@ -6,12 +6,11 @@
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: checkbox\n"
8-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
9+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
11 "PO-Revision-Date: 2011-07-20 13:15+0000\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: German <de@li.org>\n"
14-"Language: de\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19=== modified file 'debian/po/en_AU.po'
20--- debian/po/en_AU.po 2011-08-10 21:09:56 +0000
21+++ debian/po/en_AU.po 2011-09-02 22:56:24 +0000
22@@ -6,12 +6,11 @@
23 msgid ""
24 msgstr ""
25 "Project-Id-Version: checkbox\n"
26-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
27+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
28 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
29 "PO-Revision-Date: 2011-07-21 02:39+0000\n"
30 "Last-Translator: Jared Norris <jrnorris@gmail.com>\n"
31 "Language-Team: English (Australia) <en_AU@li.org>\n"
32-"Language: \n"
33 "MIME-Version: 1.0\n"
34 "Content-Type: text/plain; charset=UTF-8\n"
35 "Content-Transfer-Encoding: 8bit\n"
36
37=== modified file 'debian/po/en_GB.po'
38--- debian/po/en_GB.po 2011-09-01 12:23:07 +0000
39+++ debian/po/en_GB.po 2011-09-02 22:56:24 +0000
40@@ -6,12 +6,11 @@
41 msgid ""
42 msgstr ""
43 "Project-Id-Version: checkbox\n"
44-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
45+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
46 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
47 "PO-Revision-Date: 2011-08-09 23:13+0000\n"
48 "Last-Translator: Aldo Mann <Unknown>\n"
49 "Language-Team: English (United Kingdom) <en_GB@li.org>\n"
50-"Language: \n"
51 "MIME-Version: 1.0\n"
52 "Content-Type: text/plain; charset=UTF-8\n"
53 "Content-Transfer-Encoding: 8bit\n"
54
55=== modified file 'debian/po/es.po'
56--- debian/po/es.po 2011-09-01 12:23:07 +0000
57+++ debian/po/es.po 2011-09-02 22:56:24 +0000
58@@ -6,12 +6,11 @@
59 msgid ""
60 msgstr ""
61 "Project-Id-Version: checkbox\n"
62-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
63+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
64 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
65 "PO-Revision-Date: 2011-08-11 04:29+0000\n"
66 "Last-Translator: Fitoschido <fitoschido@gmail.com>\n"
67 "Language-Team: Spanish <es@li.org>\n"
68-"Language: es\n"
69 "MIME-Version: 1.0\n"
70 "Content-Type: text/plain; charset=UTF-8\n"
71 "Content-Transfer-Encoding: 8bit\n"
72@@ -70,7 +69,8 @@
73 #. Description
74 #: ../checkbox.templates:4001
75 msgid "List of jobs to run when testing with checkbox."
76-msgstr "Lista de tareas a ejecutar mientras se realizan pruebas con checkbox."
77+msgstr ""
78+"Lista de tareas a ejecutar mientras se realizan pruebas con checkbox."
79
80 #. Type: string
81 #. Description
82
83=== modified file 'debian/po/fr.po'
84--- debian/po/fr.po 2011-08-10 21:09:56 +0000
85+++ debian/po/fr.po 2011-09-02 22:56:24 +0000
86@@ -6,12 +6,11 @@
87 msgid ""
88 msgstr ""
89 "Project-Id-Version: checkbox\n"
90-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
91+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
92 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
93 "PO-Revision-Date: 2011-07-19 10:27+0000\n"
94 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
95 "Language-Team: French <fr@li.org>\n"
96-"Language: fr\n"
97 "MIME-Version: 1.0\n"
98 "Content-Type: text/plain; charset=UTF-8\n"
99 "Content-Transfer-Encoding: 8bit\n"
100
101=== modified file 'debian/po/he.po'
102--- debian/po/he.po 2011-08-10 21:09:56 +0000
103+++ debian/po/he.po 2011-09-02 22:56:24 +0000
104@@ -6,12 +6,11 @@
105 msgid ""
106 msgstr ""
107 "Project-Id-Version: checkbox\n"
108-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
109+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
110 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
111 "PO-Revision-Date: 2011-07-26 09:45+0000\n"
112 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
113 "Language-Team: Hebrew <he@li.org>\n"
114-"Language: he\n"
115 "MIME-Version: 1.0\n"
116 "Content-Type: text/plain; charset=UTF-8\n"
117 "Content-Transfer-Encoding: 8bit\n"
118
119=== modified file 'debian/po/hu.po'
120--- debian/po/hu.po 2011-08-10 21:09:56 +0000
121+++ debian/po/hu.po 2011-09-02 22:56:24 +0000
122@@ -6,12 +6,11 @@
123 msgid ""
124 msgstr ""
125 "Project-Id-Version: checkbox\n"
126-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
127+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
128 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
129 "PO-Revision-Date: 2011-07-18 12:57+0000\n"
130 "Last-Translator: Richard Somlói <ricsipontaz@gmail.com>\n"
131 "Language-Team: Hungarian <hu@li.org>\n"
132-"Language: hu\n"
133 "MIME-Version: 1.0\n"
134 "Content-Type: text/plain; charset=UTF-8\n"
135 "Content-Transfer-Encoding: 8bit\n"
136
137=== modified file 'debian/po/it.po'
138--- debian/po/it.po 2011-08-10 21:09:56 +0000
139+++ debian/po/it.po 2011-09-02 22:56:24 +0000
140@@ -6,12 +6,11 @@
141 msgid ""
142 msgstr ""
143 "Project-Id-Version: checkbox\n"
144-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
145+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
146 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
147 "PO-Revision-Date: 2011-07-20 14:04+0000\n"
148 "Last-Translator: Sergio Zanchetta <primes2h@ubuntu.com>\n"
149 "Language-Team: Italian <it@li.org>\n"
150-"Language: it\n"
151 "MIME-Version: 1.0\n"
152 "Content-Type: text/plain; charset=UTF-8\n"
153 "Content-Transfer-Encoding: 8bit\n"
154
155=== modified file 'debian/po/ja.po'
156--- debian/po/ja.po 2011-08-10 21:09:56 +0000
157+++ debian/po/ja.po 2011-09-02 22:56:24 +0000
158@@ -6,12 +6,11 @@
159 msgid ""
160 msgstr ""
161 "Project-Id-Version: checkbox\n"
162-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
163+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
164 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
165 "PO-Revision-Date: 2011-07-25 17:03+0000\n"
166 "Last-Translator: Fumihito YOSHIDA <hito@kugutsu.org>\n"
167 "Language-Team: Japanese <ja@li.org>\n"
168-"Language: ja\n"
169 "MIME-Version: 1.0\n"
170 "Content-Type: text/plain; charset=UTF-8\n"
171 "Content-Transfer-Encoding: 8bit\n"
172@@ -31,9 +30,8 @@
173 "If this option is set to Yes, then checkbox will ask if the user wants to "
174 "file a bug for failing tests, even if apport is not enabled."
175 msgstr ""
176-"このオプションが有効になっていると、テストに失敗した際にバグ報告を行うかどう"
177-"か、checkboxが確認するようになります。これはapportが有効になっていなくても機"
178-"能します。"
179+"このオプションが有効になっていると、テストに失敗した際にバグ報告を行うかどうか、checkboxが確認するようになります。これはapportが有効になって"
180+"いなくても機能します。"
181
182 #. Type: string
183 #. Description
184@@ -47,9 +45,7 @@
185 msgid ""
186 "When filing a new bug through checkbox, if it does not guess the package, "
187 "the default package that the bug will be file against."
188-msgstr ""
189-"checkbox経由でバグ報告を行う場合、パッケージ名を推定できなかったときは、デ"
190-"フォルトのパッケージ名を用いて報告します。"
191+msgstr "checkbox経由でバグ報告を行う場合、パッケージ名を推定できなかったときは、デフォルトのパッケージ名を用いて報告します。"
192
193 #. Type: string
194 #. Description
195
196=== modified file 'debian/po/nl.po'
197--- debian/po/nl.po 2011-09-01 12:23:07 +0000
198+++ debian/po/nl.po 2011-09-02 22:56:24 +0000
199@@ -6,12 +6,11 @@
200 msgid ""
201 msgstr ""
202 "Project-Id-Version: checkbox\n"
203-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
204+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
205 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
206 "PO-Revision-Date: 2011-08-17 12:02+0000\n"
207 "Last-Translator: Rachid <Unknown>\n"
208 "Language-Team: Dutch <nl@li.org>\n"
209-"Language: nl\n"
210 "MIME-Version: 1.0\n"
211 "Content-Type: text/plain; charset=UTF-8\n"
212 "Content-Transfer-Encoding: 8bit\n"
213
214=== modified file 'debian/po/pl.po'
215--- debian/po/pl.po 2011-08-10 21:09:56 +0000
216+++ debian/po/pl.po 2011-09-02 22:56:24 +0000
217@@ -6,12 +6,11 @@
218 msgid ""
219 msgstr ""
220 "Project-Id-Version: checkbox\n"
221-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
222+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
223 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
224 "PO-Revision-Date: 2011-07-18 21:11+0000\n"
225 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
226 "Language-Team: Polish <pl@li.org>\n"
227-"Language: pl\n"
228 "MIME-Version: 1.0\n"
229 "Content-Type: text/plain; charset=UTF-8\n"
230 "Content-Transfer-Encoding: 8bit\n"
231
232=== modified file 'debian/po/pt_BR.po'
233--- debian/po/pt_BR.po 2011-08-10 21:09:56 +0000
234+++ debian/po/pt_BR.po 2011-09-02 22:56:24 +0000
235@@ -6,12 +6,11 @@
236 msgid ""
237 msgstr ""
238 "Project-Id-Version: checkbox\n"
239-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
240+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
241 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
242 "PO-Revision-Date: 2011-07-19 02:00+0000\n"
243 "Last-Translator: André Gondim <Unknown>\n"
244 "Language-Team: Brazilian Portuguese <pt_BR@li.org>\n"
245-"Language: pt_BR\n"
246 "MIME-Version: 1.0\n"
247 "Content-Type: text/plain; charset=UTF-8\n"
248 "Content-Transfer-Encoding: 8bit\n"
249
250=== modified file 'debian/po/ru.po'
251--- debian/po/ru.po 2011-08-10 21:09:56 +0000
252+++ debian/po/ru.po 2011-09-02 22:56:24 +0000
253@@ -6,12 +6,11 @@
254 msgid ""
255 msgstr ""
256 "Project-Id-Version: checkbox\n"
257-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
258+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
259 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
260 "PO-Revision-Date: 2011-07-18 12:09+0000\n"
261 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
262 "Language-Team: Russian <ru@li.org>\n"
263-"Language: ru\n"
264 "MIME-Version: 1.0\n"
265 "Content-Type: text/plain; charset=UTF-8\n"
266 "Content-Transfer-Encoding: 8bit\n"
267
268=== modified file 'debian/po/zh_TW.po'
269--- debian/po/zh_TW.po 2011-08-10 21:09:56 +0000
270+++ debian/po/zh_TW.po 2011-09-02 22:56:24 +0000
271@@ -6,12 +6,11 @@
272 msgid ""
273 msgstr ""
274 "Project-Id-Version: checkbox\n"
275-"Report-Msgid-Bugs-To: checkbox@packages.debian.org\n"
276+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
277 "POT-Creation-Date: 2011-03-29 15:19+0200\n"
278 "PO-Revision-Date: 2011-07-26 15:03+0000\n"
279 "Last-Translator: Cheng-Chia Tseng <pswo10680@gmail.com>\n"
280 "Language-Team: Chinese (Traditional) <zh_TW@li.org>\n"
281-"Language: \n"
282 "MIME-Version: 1.0\n"
283 "Content-Type: text/plain; charset=UTF-8\n"
284 "Content-Transfer-Encoding: 8bit\n"
285@@ -30,9 +29,7 @@
286 msgid ""
287 "If this option is set to Yes, then checkbox will ask if the user wants to "
288 "file a bug for failing tests, even if apport is not enabled."
289-msgstr ""
290-"若這個選項設為「是」,checkbox 會詢問使用者是否要不管 apport 有沒有啟用,都提"
291-"交失敗測試的臭蟲回報。"
292+msgstr "若這個選項設為「是」,checkbox 會詢問使用者是否要不管 apport 有沒有啟用,都提交失敗測試的臭蟲回報。"
293
294 #. Type: string
295 #. Description
296
297=== added file 'jobs/hibernate.txt.in'
298--- jobs/hibernate.txt.in 1970-01-01 00:00:00 +0000
299+++ jobs/hibernate.txt.in 2011-09-02 22:56:24 +0000
300@@ -0,0 +1,14 @@
301+plugin: manual
302+name: power-management/hibernate_advanced
303+depends: power-management/rtc
304+requires: package.name == 'pm-utils'
305+user: root
306+command: sleep_test -s disk -w 120 --debug
307+_description:
308+ This will check to make sure your system can successfully hibernate (if supported).
309+ .
310+ Select Test to begin. The system will hibernate and should wake itself within 5 minutes. If your system does not wake itself after 5 minutes, please press the power button to wake the system manually. If the system fails to resume from hibernate, please restart System Testing and mark this test as Failed.
311+ .
312+ Did the system successfully hibernate and did it work properly after waking up?
313+
314+
315
316=== renamed file 'jobs/hibernate.txt.in' => 'jobs/hibernate.txt.in.moved'
317=== added file 'jobs/suspend.txt.in'
318--- jobs/suspend.txt.in 1970-01-01 00:00:00 +0000
319+++ jobs/suspend.txt.in 2011-09-02 22:56:24 +0000
320@@ -0,0 +1,209 @@
321+
322+plugin: shell
323+name: suspend/resolution_before_suspend
324+_description: Record the current resolution before suspending.
325+command: xrandr -q |grep '*'| awk '{print $1}' > $CHECKBOX_DATA/resolution_before_suspend.txt
326+
327+plugin: shell
328+name: suspend/audio_before_suspend
329+requires:
330+ device.category == 'AUDIO'
331+ package.name == 'alsa-base'
332+_description: Test the audio before suspending.
333+command: amixer > $CHECKBOX_DATA/audio_before_suspend.txt
334+
335+plugin: shell
336+name: suspend/cpu_before_suspend
337+requires:
338+ package.name == 'linux'
339+_description: Check all the CPUs are online before suspending
340+command: cpuinfo_resource > $CHECKBOX_DATA/cpuinfo_before_suspend
341+
342+plugin: shell
343+name: suspend/memory_before_suspend
344+requires:
345+ package.name == 'linux'
346+_description:
347+ Dumps memory info to a file for comparison after suspend test has been run
348+command: meminfo_resource > $CHECKBOX_DATA/meminfo_before_suspend
349+
350+plugin: shell
351+name: suspend/wireless_before_suspend
352+depends: networking/wireless_connection
353+command: nmcli -t -f DEVICES con status >> $CHECKBOX_DATA/iface && connect_wireless && internet_test --interface=`nmcli dev list | grep -B 1 wireless | grep GENERAL.DEVICE | awk '{print $2}'` && reconnect `cat $CHECKBOX_DATA/iface`
354+_description:
355+ This test disconnects all connections and then connects to the wireless
356+ interface. It then checks the connection to confirm it's working as expected.
357+
358+plugin: shell
359+name: suspend/bluetooth_obex_before_suspend
360+requires: package.name == 'bluez' and package.name == 'obexd-client'
361+command: obex_send $BTDEVADDR $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
362+_description:
363+ This test sends an image to the device specified by the BTDEVADDR environment variable.
364+
365+plugin: manual
366+name: suspend/bluetooth_obex_before_suspend_manual
367+requires: package.name == 'bluez' and package.name == 'obexd-client'
368+command: obex_send `bluetooth_scan` $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
369+_description:
370+ This test will send the image 'JPEG_Color_Image_Ubuntu.jpg' to a specified device.
371+ .
372+ Select 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. Accept any prompts that appear on both devices.
373+
374+plugin: manual
375+name: suspend/suspend_advanced
376+depends: power-management/rtc networking/detect suspend/resolution_before_suspend suspend/wireless_before_suspend bluetooth/detect-output suspend/bluetooth_mouse_before_suspend suspend/cpu_before_suspend suspend/memory_before_suspend
377+requires: package.name == 'pm-utils'
378+_description:
379+ Power management Suspend and Resume test
380+ .
381+ Select Test and your system will suspend for about 30 - 60 seconds. If your system does not wake itself up after 60 seconds, please press the power button momentarily to wake the system manually. If your system fails to wake at all and must be rebooted, restart System Testing after reboot and mark this test as Failed.
382+user: root
383+command: sleep_test -d
384+
385+plugin: shell
386+name: suspend/network_after_suspend
387+depends: suspend/suspend_advanced networking/detect
388+_description: Test the network after resuming.
389+command: internet_test
390+
391+plugin: shell
392+name: suspend/resolution_after_suspend
393+depends: suspend/suspend_advanced suspend/resolution_before_suspend
394+_description: Test to see that we have the same resolution after resuming as before.
395+command: xrandr -q |grep '*'| awk '{print $1}' | diff $CHECKBOX_DATA/resolution_before_suspend.txt -
396+
397+plugin: shell
398+name: suspend/audio_after_suspend
399+requires:
400+ device.category == 'AUDIO'
401+ package.name == 'alsa-base'
402+depends: suspend/suspend_advanced suspend/audio_before_suspend
403+_description: Test the audio after resuming.
404+command: amixer | diff $CHECKBOX_DATA/audio_before_suspend.txt -
405+
406+plugin: shell
407+name: suspend/cpu_after_suspend
408+requires:
409+ package.name == 'linux'
410+depends: suspend/suspend_advanced suspend/cpu_before_suspend
411+_description: Check all CPUs are online after resuming.
412+command: cpuinfo_resource | diff $CHECKBOX_DATA/cpuinfo_before_suspend -
413+
414+plugin: shell
415+name: suspend/memory_after_suspend
416+requires:
417+ package.name == 'linux'
418+depends: suspend/suspend_advanced suspend/memory_before_suspend
419+_description:
420+ Check that all memory is available after resuming from suspend.
421+command: meminfo_resource | diff $CHECKBOX_DATA/meminfo_before_suspend -
422+
423+plugin: manual
424+name: suspend/display_after_suspend
425+requires:
426+ package.name == 'linux'
427+depends: suspend/suspend_advanced
428+_description:
429+ Does the display work normally after resuming from suspend?
430+
431+plugin: shell
432+name: suspend/wireless_after_suspend
433+depends: suspend/suspend_advanced suspend/wireless_before_suspend
434+command: nmcli -t -f DEVICES con status >> $CHECKBOX_DATA/iface && connect_wireless && internet_test --interface=`nmcli dev list | grep -B 1 wireless | grep GENERAL.DEVICE | awk '{print $2}'` && reconnect `cat $CHECKBOX_DATA/iface`
435+_description:
436+ This test checks that the wireless interface is working after suspending the system. It
437+ disconnects all interfaces and then connects to the wireless interface and checks that the
438+ connection is working as expected.
439+
440+plugin: shell
441+name: suspend/bluetooth_detect_after_suspend
442+depends: suspend/suspend_advanced bluetooth/detect-output
443+requires: package.name == 'bluez'
444+command: grep -q "`hcitool dev | tail -n+2 | awk '{print $2}'`" $CHECKBOX_DATA/bluetooth_address
445+_description:
446+ This test grabs the hardware address of the bluetooth adapter after suspend and compares it to the address grabbed before suspend.
447+
448+plugin: shell
449+name: suspend/bluetooth_obex_after_suspend
450+depends: suspend/suspend_advanced suspend/bluetooth_obex_before_suspend
451+requires: package.name == 'bluez' and package.name == 'obexd-client'
452+command: obex_send $BTDEVADDR $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
453+_description:
454+ This test sends an image to the device specified by the BTDEVADDR environment variable.
455+
456+plugin: manual
457+name: suspend/bluetooth_obex_after_suspend_manual
458+depends: suspend/suspend_advanced suspend/bluetooth_obex_before_suspend_manual
459+requires: package.name == 'bluez' and package.name == 'obexd-client'
460+command: obex_send `bluetooth_scan` $CHECKBOX_SHARE/data/images/JPEG_Color_Image_Ubuntu.jpg
461+_description:
462+ This test will send the image 'JPEG_Color_Image_Ubuntu.jpg' to a specified device.
463+ .
464+ Select 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. Accept any prompts that appear on both devices.
465+
466+plugin: manual
467+name: suspend/cycle_resolutions_after_suspend
468+requires: package.name == 'xorg'
469+depends: suspend/suspend_advanced graphics/xrandr_cycle
470+_description:
471+ This test will check to make sure that supported video modes work after a suspend and resume. Select Test to begin.
472+command: xrandr_cycle --keyword=after_suspend
473+
474+plugin: shell
475+name: suspend/cycle_resolutions_after_suspend_auto
476+requires: package.name == 'xorg'
477+depends: suspend/suspend_advanced graphics/xrandr_cycle
478+_description:
479+ This test will check to make sure supported video modes work after a suspend and resume.
480+ This is done automatically by taking screenshots and uploading them as an attachment.
481+command: xrandr_cycle --keyword=after_suspend
482+
483+plugin: attachment
484+name: suspend/xrandr_screens_after_suspend.tar.gz
485+depends: suspend/cycle_resolutions_after_suspend_auto
486+command: [ -e $CHECKBOX_DATA/xrandr_screens_after_suspend.tgz ] && cat $CHECKBOX_DATA/xrandr_screens_after_suspend.tgz
487+
488+plugin: manual
489+name: suspend/usb_storage_after_suspend
490+depends: suspend/suspend_advanced
491+command: usb_test -t
492+_description:
493+ This will test that USB functionality is restored after a suspend and resume cycle.
494+ 1. Plug in at least one USB storage device if one is not already connected.
495+ 2. Click Test to begin.
496+ .
497+ If the test is successful, you'll notice that Yes is now selected. Otherwise, No shoud be selected.
498+
499+plugin: shell
500+name: suspend/record_playback_after_suspend
501+depends: suspend/suspend_advanced
502+requires:
503+ device.category == 'AUDIO'
504+ package.name == 'sox'
505+ package.name == 'alsa-base'
506+command: audio_test
507+_description:
508+ 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.
509+
510+plugin: shell
511+name: suspend/suspend_advanced_auto
512+depends: power-management/rtc networking/detect suspend/cpu_before_suspend suspend/memory_before_suspend
513+requires: package.name == 'pm-utils'
514+_description:
515+ Automatic power management Suspend and Resume test
516+ .
517+ Select test and your system will suspend for about 30 - 60 seconds. If your system does not wake itself up after 60 seconds, please press the power button momentarily to wake the system manually. If your system fails to wake at all and must be rebooted, restart System Testing after reboot and mark this test as Failed.
518+user: root
519+command: sleep_test -d
520+
521+plugin: shell
522+name: suspend/wake_on_lan
523+depends: power-management/rtc suspend/suspend_advanced
524+requires: package.name == 'pm-utils' and package.name == 'util-linux'
525+_description:
526+ This automatically tests Wake-on-LAN capability with the aid of a suitably configured server. During this process the system will suspend, then automatically wake up after no more than 5 minutes.
527+user: root
528+command: wake_on_lan_test ${WAKE_ON_LAN_URL} --debug
529+
530
531=== renamed file 'jobs/suspend.txt.in' => 'jobs/suspend.txt.in.moved'
532=== added file 'jobs/wireless.txt.in'
533--- jobs/wireless.txt.in 1970-01-01 00:00:00 +0000
534+++ jobs/wireless.txt.in 2011-09-02 22:56:24 +0000
535@@ -0,0 +1,20 @@
536+plugin: shell
537+name: wireless/wireless_scanning
538+user: root
539+requires: package.name == 'wireless-tools'
540+command: network_wireless_test
541+_description: Wireless scanning test.
542+
543+plugin: manual
544+name: wireless/wireless_connection
545+command: network_check
546+requires: device.category == 'WIRELESS'
547+_description:
548+ Wireless network connection procedure:
549+ 1.- Click on the Network Manager applet
550+ 2.- Select a network below the 'Wireless networks' section
551+ 3.- Notify OSD should confirm that the connection has been established
552+ 4.- Select Test to verify that it's possible to establish an HTTP connection
553+ .
554+ Was the connection correctly established?
555+
556
557=== renamed file 'jobs/wireless.txt.in' => 'jobs/wireless.txt.in.moved'
558=== added file 'scripts/audio_test'
559--- scripts/audio_test 1970-01-01 00:00:00 +0000
560+++ scripts/audio_test 2011-09-02 22:56:24 +0000
561@@ -0,0 +1,49 @@
562+#!/bin/bash
563+
564+OUTPUT=`mktemp -u`.wav
565+GST_COMMAND_OLD="/usr/bin/gst-launch"
566+GST_COMMAND_NEW="/usr/bin/gst-launch-0.10"
567+GST_COMMAND_OPTS="audiotestsrc wave=sine freq=512 ! audioconvert !
568+audioresample ! gconfaudiosink"
569+#SOX_COMMAND="rec -q -r 44100 -p | sox -p $OUTPUT silence -l 1 00:00:00.5 -45d -1 00:00:00.5 -45d"
570+REC_COMMAND="rec -q -r 44100 $OUTPUT"
571+SOX_COMMAND="sox $OUTPUT $OUTPUT.1.wav silence -l 1 00:00:00.5 -45d -1 00:00:00.5 -45d"
572+
573+# Start playing a sine wave
574+if [ -e $GST_COMMAND_OLD ]; then
575+ $GST_COMMAND_OLD $GST_COMMAND_OPTS &
576+else
577+ $GST_COMMAND_NEW $GST_COMMAND_OPTS &
578+fi
579+GST_PID=$!
580+
581+# Listen for it on the audio input
582+$REC_COMMAND &
583+REC_PID=$!
584+
585+# Wait a bit, then stop playing
586+sleep 2
587+echo "Killing REC_COMMAND PID: $REC_PID and GST_COMMAND PID: $GST_PID"
588+kill $REC_PID $GST_PID
589+
590+# Look for silence
591+$SOX_COMMAND
592+# See if the filesize > 80 bytes on the output file
593+# (80 bytes is the largest wav file that will be generated for silence,
594+# so if we have that size we detected nothing but silence)
595+FILESIZE=`stat -c%s "$OUTPUT.1.wav"`
596+rm "$OUTPUT" "$OUTPUT.1.wav"
597+if [ "$FILESIZE" == "" ]
598+then
599+ echo "Unable to find output file." >&2
600+ exit 2
601+fi
602+
603+if [ "$FILESIZE" -lt "81" ]
604+then
605+ echo "No audio detected." >&2
606+ exit 1
607+else
608+ echo "$FILESIZE bytes of audio recorded."
609+ exit 0
610+fi
611
612=== renamed file 'scripts/audio_test' => 'scripts/audio_test.moved'

Subscribers

People subscribed via source and target branches

to all changes: