| Index: server/site_tests/network_WiFiManager/040MutiAuth
|
| diff --git a/server/site_tests/network_WiFiManager/040MutiAuth b/server/site_tests/network_WiFiManager/040MutiAuth
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bb209dac9efaf5caaa55c457d0c13bc5751810f8
|
| --- /dev/null
|
| +++ b/server/site_tests/network_WiFiManager/040MutiAuth
|
| @@ -0,0 +1,32 @@
|
| +# Copyright (c) 2010 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.
|
| +
|
| +# This test run is designed to check that we can successfully select
|
| +# between two networks with identical SSIDs that have different
|
| +# security parameters.
|
| +{ "name":"MultiAuth",
|
| + "steps":[
|
| + [ "create", { "type":"hostap" } ],
|
| +
|
| + # Create an AP with no security
|
| + [ "config", { "channel":"2412", "mode":"11g", "pureg":None } ],
|
| +
|
| + # Create a second AP with the same SSID that requres WPA authentication
|
| + [ "config", { "channel":"5240", "ht40-":None, "puren":None,
|
| + "multi_interface":None,
|
| + "wpa":"1", "wpa_key_mgmt":"WPA-PSK",
|
| + "wpa_pairwise":"CCMP",
|
| + "wpa_passphrase":"chromeos" } ],
|
| +
|
| + # Connect to the first non-WPA AP.
|
| + [ "connect", { "security":"none" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| +
|
| + # Connect to the WPA AP.
|
| + [ "connect", { "security":"wpa", "psk":"chromeos" } ],
|
| + [ "client_ping", { "count":"10" } ],
|
| +
|
| + [ "destroy" ],
|
| + ],
|
| +}
|
|
|