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