Merge lp:~bladernr/checkbox/checkbox-fix-optical-tests into lp:checkbox

Proposed by Jeff Lane 
Status: Merged
Merged at revision: 1056
Proposed branch: lp:~bladernr/checkbox/checkbox-fix-optical-tests
Merge into: lp:checkbox
Diff against target: 24 lines (+3/-3)
1 file modified
data/whitelists/default.whitelist (+3/-3)
To merge this branch: bzr merge lp:~bladernr/checkbox/checkbox-fix-optical-tests
Reviewer Review Type Date Requested Status
Daniel Manrique (community) Needs Information
Review via email: mp+76250@code.launchpad.net

Description of the change

fixed default.whitelist to use the correct optical test names.

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

Also: removed suspend/bluetooth_before_suspend from whitelist as that test also no longer exists in checkbox but was left in default.whitelist

1054. By Jeff Lane 

found another minor issue with the default.whitelist. Removed suspend/bluetooth_before_suspend from the list as that test no longer exists.

Revision history for this message
Daniel Manrique (roadmr) wrote :

The name changes for the optical drive tests look good to me.

Regarding the suspend/bluetooth_before_suspend, it indeed no longer exists, but I notice suspend/bluetooth_detect_after_suspend remains, and as per its definition it will always fail, thus causing problems :(

What it does is compare the address of the bluetooth device to the one logged by the before_suspend test, obviously if the before_suspend one didn't run, the file won't exist and grep will complain.

So this test (suspend/bluetooth_detect_after_suspend) should at least be removed from the whitelist too.

I'm curious, why did we axe bluetooth_before_suspend in the first place? I remember fixing it not so long ago...

review: Needs Information

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/whitelists/default.whitelist'
2--- data/whitelists/default.whitelist 2011-09-19 15:51:51 +0000
3+++ data/whitelists/default.whitelist 2011-09-20 16:11:25 +0000
4@@ -93,9 +93,10 @@
5 wireless/wireless_connection
6 __optical__
7 optical/detect
8-optical/cdrom-read
9+optical/read
10+optical/read_sr0
11+optical/read_sr1
12 optical/cdrom-write
13-optical/dvd-read
14 optical/dvd-write
15 __pcmcia-pcix__
16 pcmcia-pcix/detect
17@@ -105,7 +106,6 @@
18 suspend/audio_after_suspend
19 suspend/audio_before_suspend
20 suspend/bluetooth_detect_after_suspend
21-suspend/bluetooth_detect_before_suspend
22 suspend/memory_before_suspend
23 suspend/memory_after_suspend
24 suspend/network_after_suspend

Subscribers

People subscribed via source and target branches