Merge lp:~kissiel/checkbox/syslog-camera-denial into lp:checkbox
Proposed by
Maciej Kisielewski
| Status: | Merged |
|---|---|
| Approved by: | Maciej Kisielewski |
| Approved revision: | 4354 |
| Merged at revision: | 4356 |
| Proposed branch: | lp:~kissiel/checkbox/syslog-camera-denial |
| Merge into: | lp:checkbox |
| Diff against target: |
109 lines (+97/-0) 2 files modified
providers/2015.com.canonical.certification:qml-tests/data/camera_denial.qml (+63/-0) providers/2015.com.canonical.certification:qml-tests/units/qml-tests.pxu (+34/-0) |
| To merge this branch: | bzr merge lp:~kissiel/checkbox/syslog-camera-denial |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Pierre Equoy | Approve | ||
| Maciej Kisielewski (community) | Needs Fixing | ||
| Sylvain Pineau (community) | Needs Fixing | ||
|
Review via email:
|
|||
Description of the change
This MR brings camera-denial test which checks if camera is properly blocked when user doesn't allow access.
It does so by doing two things:
1. Checking if Camera QML component was able to run.
2. Checking whether appropriate entry was written to syslog.
To test it out, build checkbox-converged, by running:
(/checkbox/
And navigate to apparmor tests and run'em all.
fd2e29b providers:
41e0e5f providers:
To post a comment you must log in.

Tested on a Nexus7 with OTA10
Only selected the 3 apparmor tests, I always got the popup (http:// i.imgur. com/JGgrzb9. png) asking whether or not I want to authorize the app to access the camera (2 times though, I think one per app, cbt and the confined app).
even I if decline the auth, the test fails. The only way for me to pass the test was to go into system settings and manually unset the permissions for cbt and denial app.