1 # Copyright (c) 2011 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 5 AUTHOR = "ChromeOS Team" 6 NAME = "platform_CrosDisksArchive" 7 PURPOSE = "Verify that cros-disks can mount supported archive files correctly" 8 9 CRITERIA = """ 10 """ 11 ATTRIBUTES = "suite:regression" 12 SUITE = "regression" 13 TIME = "SHORT" 14 TEST_CATEGORY = "Functional" 15 TEST_CLASS = "platform" 16 TEST_TYPE = "client" 17 18 DOC = """ 19 Calls cros-disks to mount supported archive files 20 """ 21 22 job.run_test('platform_CrosDisksArchive', timeout_s=10, 23 archive_types=['zip'], tag='zip') 24 job.run_test('platform_CrosDisksArchive', timeout_s=10, 25 archive_types=['tar'], tag='tar') 26 job.run_test('platform_CrosDisksArchive', timeout_s=10, 27 archive_types=['tar.gz', 'tgz'], tag='tar.gz') 28 job.run_test('platform_CrosDisksArchive', timeout_s=10, 29 archive_types=['tar.bz2', 'tbz', 'tbz2'], tag='tar.bz2') 30