Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: server/site_tests/network_WiFiManager/040MutiAuth

Issue 6905170: Add test to select between identical SSID/different Auth (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | server/site_wlan_connect.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ],
+ ],
+}
« no previous file with comments | « no previous file | server/site_wlan_connect.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698