3d68fe8213ef86684d7911f889d56d1345bf3272 |
|
26-Mar-2014 |
Chris Masone <cmasone@chromium.org> |
Listen for ownership-taken signal on DBus Many tests that touch on device Ownership were using a function that simply watched for the presence of policy and owner key files to indicate that the session_manager had completed the ownership-taking process on the sign-in of the first user. This could be tricked, though, in the case of the UI being restarted between the test clearing these files and then checking for them again. Stop using this and switch to watching for signals announcing that ownership has been taken, which the session_manager has sent all along anyhow. BUG=chromium:355664 TEST=login_*Ownership* Change-Id: I54000c426cfb1aef8fd1518f9cdadec2b42c6500 Reviewed-on: https://chromium-review.googlesource.com/194142 Reviewed-by: Chris Masone <cmasone@chromium.org> Commit-Queue: Chris Masone <cmasone@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org>
/external/autotest/client/common_lib/cros/policy.py
|