You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
972 B
30 lines
972 B
# 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 = "dhaddock, Chromium OS"
|
|
NAME = "autoupdate_DataPreserved.full"
|
|
PURPOSE = "Tests user data is not reset by updating."
|
|
TIME = "MEDIUM"
|
|
TEST_CATEGORY = "Functional"
|
|
TEST_CLASS = "platform"
|
|
TEST_TYPE = "server"
|
|
ATTRIBUTES = "suite:au-perbuild"
|
|
DOC = """
|
|
This tests that user's timezone, input methods, and downloaded files remain
|
|
unchanged after an update.
|
|
|
|
test_that <hostname>.cros autoupdate_DataPreserved.full --args="job_repo_url='http://<IP>:<port>/static/<board>-release/RXX-XXXX.X.X/autotest/packages'"
|
|
"""
|
|
|
|
from autotest_lib.client.common_lib import utils
|
|
|
|
args_dict = utils.args_to_dict(args)
|
|
|
|
def run(machine):
|
|
host = hosts.create_host(machine)
|
|
job.run_test('autoupdate_DataPreserved', host=host, full_payload=True,
|
|
**args_dict)
|
|
|
|
job.parallel_simple(run, machines)
|