aboutsummaryrefslogtreecommitdiff
path: root/server/site_tests/autoupdate_DataPreserved/control.m2n.full
blob: a30c65d86a0b29aa6ddc3b26bb0bc284cc3aec9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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"
PY_VERSION = 3
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)