| OLD | NEW |
| (Empty) | |
| 1 # Copyright (c) 2010 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 TIME='LARGE' |
| 6 AUTHOR = 'The Chromium OS Authors' |
| 7 PURPOSE = 'Stress test the ecryptfs home directory across power state changes.' |
| 8 CRITERIA = 'This test is a stress test. Expected success, no crashes.' |
| 9 DOC = """This test uses fio and a basic configuration to test and |
| 10 validate writes to the ecryptfs vault. It does not create a login |
| 11 session, but mounts a special user dir for the test. |
| 12 """ |
| 13 NAME = 'platform_CryptohomeFio' |
| 14 TIME = 'MEDIUM' |
| 15 TEST_CLASS = 'platform' |
| 16 TEST_CATEGORY = 'Stress' |
| 17 TEST_TYPE = 'client' |
| 18 |
| 19 RUNTIME=60 |
| 20 |
| 21 disk_configs = {#'tmpfs' : (False, True), |
| 22 'ext3+ssd' : (False, False), |
| 23 'ecryptfs+ext3+ssd' : (True, False), |
| 24 } |
| 25 |
| 26 tests = { 'surfing': 'iops', |
| 27 'boot': 'bw', |
| 28 'login': 'bw', |
| 29 'seq_read': 'bw', |
| 30 'seq_write': 'bw', |
| 31 '16k_read': 'iops', |
| 32 '16k_write': 'iops', |
| 33 '8k_read': 'iops', |
| 34 '8k_write': 'iops', |
| 35 '4k_read': 'iops', |
| 36 '4k_write': 'iops', |
| 37 } |
| 38 |
| 39 |
| 40 for test in tests.keys(): |
| 41 for config, opts in disk_configs.items(): |
| 42 job.run_test('platform_CryptohomeFio', |
| 43 script=test, |
| 44 tag='%s_%s' % (test, config), |
| 45 runtime=RUNTIME, |
| 46 mount_cryptohome=opts[0], |
| 47 tmpfs=opts[1]) |
| 48 |
| OLD | NEW |