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
=== modified file 'data/whitelists/default.whitelist'
--- data/whitelists/default.whitelist 2011-09-19 15:51:51 +0000
+++ data/whitelists/default.whitelist 2011-09-20 16:11:25 +0000
@@ -93,9 +93,10 @@
93wireless/wireless_connection93wireless/wireless_connection
94__optical__94__optical__
95optical/detect95optical/detect
96optical/cdrom-read96optical/read
97optical/read_sr0
98optical/read_sr1
97optical/cdrom-write99optical/cdrom-write
98optical/dvd-read
99optical/dvd-write100optical/dvd-write
100__pcmcia-pcix__101__pcmcia-pcix__
101pcmcia-pcix/detect102pcmcia-pcix/detect
@@ -105,7 +106,6 @@
105suspend/audio_after_suspend106suspend/audio_after_suspend
106suspend/audio_before_suspend107suspend/audio_before_suspend
107suspend/bluetooth_detect_after_suspend108suspend/bluetooth_detect_after_suspend
108suspend/bluetooth_detect_before_suspend
109suspend/memory_before_suspend109suspend/memory_before_suspend
110suspend/memory_after_suspend110suspend/memory_after_suspend
111suspend/network_after_suspend111suspend/network_after_suspend

Subscribers

People subscribed via source and target branches