1 # Copyright 2016 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 = 'dkrahn' 6 NAME = 'brillo_HWRandom' 7 # It may take a long time to collect the random data on some boards. 8 TIME = 'LONG' 9 TEST_CATEGORY = 'Functional' 10 TEST_TYPE = 'Server' 11 12 DOC = """ 13 Tests that /dev/hw_random is present and passes basic statistical tests. This 14 test requires that the 'dieharder' package is installed on the server. 15 """ 16 17 def run(machine): 18 job.run_test('brillo_HWRandom', host=hosts.create_host(machine)) 19 20 21 parallel_simple(run, machines) 22