blob: b41527ea20fbb8d26b78a1ffec4168ec3c07a0af [file] [log] [blame]
# Copyright (c) 2011 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 = 'The Chromium OS Authors'
DOC = 'Verifies that the flimflam portal detection code works.'
NAME = 'network_Portal'
PURPOSE = 'Verify portal detection code works.'
Fails if portal code detects portal state when is accessible or if portal code detects online
when is not accessible.
TEST_CATEGORY = 'Functional'
TEST_CLASS = 'network'
TEST_TYPE = 'client'
force_failure='dns', tag='dns', test_iterations=2)
force_failure='partial-dns', tag='partial-dns', test_iterations=2)
job.run_test('network_Portal', force_failure=False, tag='online')
job.run_test('network_Portal', force_failure='portal', tag='portal')