# Copyright 2018 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. AUTHOR = "maybelle" NAME = "login_SavePassword" ATTRIBUTES = "suite:policy, suite:bvt-perbuild" TIME = "SHORT" TEST_CATEGORY = "Functional" TEST_CLASS = "login" TEST_TYPE = "client" DOC = """ This test checks if the login password is saved for an enterprise user with the ${PASSWORD} variable in their user OpenNetworkConfiguration policy. It will set the user OpenNetworkConfiguration policy to contain the ${PASSWORD} variable, log in a user and check /proc/keys to ensure that a key named "password" has been saved to the keyring. """ job.run_test('login_SavePassword', onc_definition='onc_with_password.json', expect_password=True)