64170f8e7053f92f4bbad501c61a352fdabf6d82 |
|
14-Mar-2014 |
Chris Masone <cmasone@chromium.org> |
Update all login_* tests to use CryptohomeProxy Instead of shelling out to a command-line tool, we should talk to crypthomed directly over DBus. BUG=chromium:344862 TEST=login_* Change-Id: I3a57d8158638cab60e8a7e0dd5c72293e87a87ac Reviewed-on: https://chromium-review.googlesource.com/190343 Tested-by: Chris Masone <cmasone@chromium.org> Reviewed-by: Chris Masone <cmasone@chromium.org> Commit-Queue: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_UserPolicyKeys/login_UserPolicyKeys.py
|
a2b32851e8716f188dde273c73f4c76058bbd289 |
|
26-Feb-2014 |
Chris Masone <cmasone@chromium.org> |
Ensure that ui is stopped when monkeying with owner policy/key The session_manager keeps copies of the owner key and policy in memory and writes them to disk when it shuts down. This means that messing with them while the UI is up will not persist across a UI restart. At least one test was making this mistake (login_OwnershipTaken) leading to test-ordering effects. This change updates ownership.py to correctly enforce this invariant. BUG=chromium:338528 TEST=run login_*Ownership* Change-Id: I72bb20b23abf3837e14b21cc6689cc383847b5db Reviewed-on: https://chromium-review.googlesource.com/188077 Tested-by: Chris Masone <cmasone@chromium.org> Reviewed-by: Mattias Nissler <mnissler@chromium.org> Commit-Queue: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_UserPolicyKeys/login_UserPolicyKeys.py
|
a9ab3c5665f026dff0d542508feee92193b64126 |
|
10-Feb-2014 |
Chris Masone <cmasone@chromium.org> |
login_UserPolicyKeys and logging_UserCrash are now more hermetic login_UserPolicyKeys was leaving the session_manager believing that a user session was still underway at the end of the test. logging_UserCrash was assuming that the device was at the sign-in screen without actually ensuring that this was so. Both were wrong. BUG=chromium:342195 TEST=run login_UserPolicyKeys and logging_UserCrash in that order STATUS=Fixed Change-Id: I1eca08b8a367ddd2ca7483040ed15d05ac541079 Reviewed-on: https://chromium-review.googlesource.com/185640 Commit-Queue: Chris Masone <cmasone@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
/external/autotest/client/site_tests/login_UserPolicyKeys/login_UserPolicyKeys.py
|
92180600092d83c9a7ab20d8ae55d18b3230ea01 |
|
28-May-2013 |
Joao da Silva <joaodasilva@chromium.org> |
Fixed login_UserPolicyKeys. This test uses the old user policy DBus methods that have been replaced with variants that support multi-profiles. This change uses that. BUG=chromium:243089 TEST=login_UserPolicyKeys goes green Change-Id: Id48bce47641cc765a48dd3eb57289f4dd92ee4d3 Reviewed-on: https://gerrit.chromium.org/gerrit/56802 Tested-by: Joao da Silva <joaodasilva@chromium.org> Reviewed-by: Chris Masone <cmasone@chromium.org> Commit-Queue: Joao da Silva <joaodasilva@chromium.org>
/external/autotest/client/site_tests/login_UserPolicyKeys/login_UserPolicyKeys.py
|
6cb26ad178990814fce3209c464afe7f131ec5b0 |
|
21-May-2013 |
Elly Fong-Jones <ellyjones@chromium.org> |
[autotest] remove dependencies on /home/chronos/user BUG=chromium:212419 TEST=suite_Smoke Change-Id: I8849e3eb6e76a3a3358422f1c2269a926d35994f Signed-off-by: Elly Fong-Jones <ellyjones@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/56050 Reviewed-by: Will Drewry <wad@chromium.org>
/external/autotest/client/site_tests/login_UserPolicyKeys/login_UserPolicyKeys.py
|
5d010aa50a0694d498e8317fd8044e56474ce7ed |
|
06-May-2013 |
Chris Masone <cmasone@chromium.org> |
Add multiprofile tests for session_manager.StartSession() Multiple calls to StartSession() with different users should be allowed, while multiple calls with the same user should not. BUG=chromium:235179 TEST=run these new tests CQ-DEPEND=I1200c4463d43cd8cf7d49a2f9f0667ac1cccc261 CQ-DEPEND=I5ee9fb18e1f8c1a933b899acc62618323f2df9bf Change-Id: I912d3ded053a7f0f41c604f5ffef15477d634017 Reviewed-on: https://gerrit.chromium.org/gerrit/50223 Commit-Queue: Chris Masone <cmasone@chromium.org> Reviewed-by: Chris Masone <cmasone@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_UserPolicyKeys/login_UserPolicyKeys.py
|
d976e0ed3cb28e532f15826c5071149b8fabeaf8 |
|
06-May-2013 |
Chris Masone <cmasone@chromium.org> |
Move ownership tests to use composition instead of inheritance Using composition like this makes it clearer what each test is doing, instead of having stuff happen in the base class as if by magic. BUG=chromium:222778 TEST=login_*Ownership* STATUS=Fixed Change-Id: I7dbb71e1a712efacfdbe7ad64f4ef74ea0793919 Reviewed-on: https://gerrit.chromium.org/gerrit/50194 Commit-Queue: Chris Masone <cmasone@chromium.org> Reviewed-by: Chris Masone <cmasone@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_UserPolicyKeys/login_UserPolicyKeys.py
|
5581157ba6acb8be5b9db4f134dca5b0a4268047 |
|
06-Feb-2013 |
Joao da Silva <joaodasilva@chromium.org> |
Added test for user policy key copying. login_UserPolicyKeys verifies that a copy of the user policy key is stored at /var/run/user_policy after storing a user policy at the session_manager. BUG=chromium:163318 TEST=login_UserPolicyKeys CQ-DEPEND=I2aeb4679350bfdb5851246604db89a19cbeed5a4 Change-Id: I34e6bd35ed74b515aeb203f2d5e021f1b22e0def Reviewed-on: https://gerrit.chromium.org/gerrit/42663 Reviewed-by: Chris Masone <cmasone@chromium.org> Commit-Queue: Joao da Silva <joaodasilva@chromium.org> Tested-by: Joao da Silva <joaodasilva@chromium.org>
/external/autotest/client/site_tests/login_UserPolicyKeys/login_UserPolicyKeys.py
|