1# Copyright (c) 2013 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 = 'wiley, pstew, quiche' 6NAME = 'network_WiFi_SuspendTwice' 7TIME = 'SHORT' 8TEST_TYPE = 'Server' 9# TODO(wiley) When we have servos on our test machines, put this in 10# wifi_matfunc 11# Currently, it kills to many device on broken suspends. 12DEPENDENCIES = 'wificell' 13 14DOC = """ 15The ath9k driver had a bug where the the WiFi hardware would hang 16if we suspended and resumed twice while WiFi was disabled. Run 17this test to make sure we never regress. Try to run this late 18in the cycle so if this test fails, we don't take other tests with 19us. 20 21""" 22 23 24def run(machine): 25 job.run_test('network_WiFi_SuspendTwice', 26 host=hosts.create_host(machine), 27 raw_cmdline_args=args) 28 29 30parallel_simple(run, machines) 31