| # Copyright (c) 2012 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 = "Chrome OS Team" |
| NAME = "network_DisableInterface eth0" |
| PURPOSE = "Verify a network interface can be disabled." |
| CRITERIA = "Fails if the interface can not be disabled/reenabled." |
| SUITE = "hwqual" |
| TIME = "SHORT" |
| TEST_CATEGORY = "Functional" |
| TEST_CLASS = "network" |
| TEST_TYPE = "client" |
| |
| DOC = """ |
| This test depends on the ifconfig utility to both disable and reenable a |
| network interface. |
| """ |
| |
| job.run_test('network_DisableInterface', iface_name='eth0', tag='eth0') |