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 5 AUTHOR = "ChromeOS Team" 6 NAME = "network_EthCapsServer" 7 PURPOSE = 'Verify that LAN devices have the required capabilities.' 8 CRITERIA = """ 9 Test will pass if the following requirements are met, otherwise should fail: 10 1. 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 """ 14 TIME = "SHORT" 15 TEST_CATEGORY = "Functional" 16 TEST_CLASS = "network" 17 TEST_TYPE = "server" 18 19 DOC = """ 20 This test checks ethernet capabilities of a device. See CRITERIA for more 21 details. 22 """ 23 24 def run_ethcaps(machine): 25 job.run_test('network_EthCapsServer', client_ip=machine) 26 27 job.parallel_simple(run_ethcaps, machines, timeout=60) 28