26 lines
828 B
Plaintext
26 lines
828 B
Plaintext
# 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_EOL.future_eol"
|
|
TEST_CATEGORY = "Functional"
|
|
TEST_CLASS = "platform"
|
|
TEST_TYPE = "client"
|
|
ATTRIBUTES = "suite:au-perbuild"
|
|
PURPOSE = "Tests Approaching End of Life (EOL) / Autoupdate Expiration (AUE)"
|
|
TIME = "SHORT"
|
|
|
|
DOC = """
|
|
This test will check that the DUT behaves correctly in a future end of life
|
|
scenario.
|
|
The EOL date is the number of days since Unix Epoch.
|
|
Value for the EOL date should be at least 180 days in advance of EOL date.
|
|
|
|
"""
|
|
|
|
import datetime
|
|
job.run_test('autoupdate_EOL',
|
|
eol_date=(datetime.datetime.utcnow()
|
|
- datetime.datetime(1970,1,1)).days + 181)
|