• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2011 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 = "ChromeOS Team"
6NAME = "network_EthCapsServer"
7PURPOSE = 'Verify that LAN devices have the required capabilities.'
8CRITERIA = """
9Test will pass if the following requirements are met, otherwise should fail:
101. Has Wake-on-LAN magic packet capabilities and successfully wakes from
11   suspend.
12   - subtest should take <20 seconds to pass and <60seconds to fail
13"""
14TIME = "SHORT"
15TEST_CATEGORY = "Functional"
16TEST_CLASS = "network"
17TEST_TYPE = "server"
18
19DOC = """
20This test checks ethernet capabilities of a device.  See CRITERIA for more
21details.
22"""
23
24def run_ethcaps(machine):
25    job.run_test('network_EthCapsServer', client_ip=machine)
26
27job.parallel_simple(run_ethcaps, machines, timeout=60)
28