blob: e1cb46fd1114cce3f8e6f6d75a15d34631151f68 [file] [log] [blame]
# 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.m2n.full"
PURPOSE = "Tests user data is not reset by updating."
TIME = "MEDIUM"
TEST_CATEGORY = "Functional"
TEST_CLASS = "platform"
TEST_TYPE = "server"
ATTRIBUTES = "suite:au-m2n"
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)